POST api/Account/CreateAccountViaAdmin

Request Information

URI Parameters

None.

Body Parameters

CreateAccountViaAdminRequestVM
NameDescriptionTypeAdditional information
AdminUserId

string

Required

PlanId

string

Required

SubscriptionTerm

SubscriptionTerm

Required

AccountName

string

Required

FirstName

string

Required

LastName

string

Required

Email

string

Required

MobileNumber

string

Required

Password

string

Required

CountryId

string

Required

CountryCode

string

Required

TimeZoneId

string

Required

IsUseDayLightSaving

boolean

Required

City

string

Required

StateId

string

Required

LinkedAgencyId

string

Required

LinkedAffiliateId

string

None.

LinkedAccountId

string

None.

Website

string

None.

Request Formats

application/json, text/json

Sample:
{
  "AdminUserId": "sample string 1",
  "PlanId": "sample string 2",
  "SubscriptionTerm": "Monthly",
  "AccountName": "sample string 3",
  "FirstName": "sample string 4",
  "LastName": "sample string 5",
  "Email": "sample string 6",
  "MobileNumber": "sample string 7",
  "Password": "sample string 8",
  "CountryId": "sample string 9",
  "CountryCode": "sample string 10",
  "TimeZoneId": "sample string 11",
  "IsUseDayLightSaving": true,
  "City": "sample string 13",
  "StateId": "sample string 14",
  "LinkedAgencyId": "sample string 15",
  "LinkedAffiliateId": "sample string 16",
  "LinkedAccountId": "sample string 17",
  "Website": "sample string 18"
}

application/xml, text/xml

Sample:
<CreateAccountViaAdminRequestVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MindMe.Business.Service.Services.RequestViewModels.AccountsAndUsers">
  <AccountName>sample string 3</AccountName>
  <AdminUserId>sample string 1</AdminUserId>
  <City>sample string 13</City>
  <CountryCode>sample string 10</CountryCode>
  <CountryId>sample string 9</CountryId>
  <Email>sample string 6</Email>
  <FirstName>sample string 4</FirstName>
  <IsUseDayLightSaving>true</IsUseDayLightSaving>
  <LastName>sample string 5</LastName>
  <LinkedAccountId>sample string 17</LinkedAccountId>
  <LinkedAffiliateId>sample string 16</LinkedAffiliateId>
  <LinkedAgencyId>sample string 15</LinkedAgencyId>
  <MobileNumber>sample string 7</MobileNumber>
  <Password>sample string 8</Password>
  <PlanId>sample string 2</PlanId>
  <StateId>sample string 14</StateId>
  <SubscriptionTerm>Monthly</SubscriptionTerm>
  <TimeZoneId>sample string 11</TimeZoneId>
  <Website>sample string 18</Website>
</CreateAccountViaAdminRequestVM>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.