POST api/Account/CreateSubAccountViaSignUpPage

Request Information

URI Parameters

None.

Body Parameters

CreateSubAccountViaSignUpPageRequestVM
NameDescriptionTypeAdditional information
ParentAccountId

string

Required

PageId

string

Required

AccountName

string

Required

UseDayLightSaving

boolean

None.

FirstName

string

Required

LastName

string

Required

Email

string

Required

Password

string

Required

ActivationCode

string

Required

MobileNumber

string

Required

MobileCountryCode

integer

None.

Address

AddressSummaryViewModel

Required

Request Formats

application/json, text/json

Sample:
{
  "ParentAccountId": "sample string 1",
  "PageId": "sample string 2",
  "AccountName": "sample string 3",
  "UseDayLightSaving": true,
  "FirstName": "sample string 5",
  "LastName": "sample string 6",
  "Email": "sample string 7",
  "Password": "sample string 8",
  "ActivationCode": "sample string 9",
  "MobileNumber": "sample string 10",
  "MobileCountryCode": 11,
  "Address": {
    "UserCulture": "sample string 1",
    "Address1": "sample string 2",
    "Address2": "sample string 3",
    "City": "sample string 4",
    "StateId": "sample string 5",
    "CountryId": "sample string 6",
    "ZipCode": "sample string 7",
    "TimeZoneId": "sample string 8",
    "RegionId": "sample string 9",
    "CountryName": "sample string 10",
    "StateName": "sample string 11"
  }
}

application/xml, text/xml

Sample:
<CreateSubAccountViaSignUpPageRequestVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MindMe.Business.Service.Services.RequestViewModels.AccountsAndUsers.SubAccount">
  <AccountName>sample string 3</AccountName>
  <ActivationCode>sample string 9</ActivationCode>
  <Address xmlns:d2p1="http://schemas.datacontract.org/2004/07/MindMe.Common.Standard.Models.ServiceModel.Common">
    <d2p1:Address1>sample string 2</d2p1:Address1>
    <d2p1:Address2>sample string 3</d2p1:Address2>
    <d2p1:City>sample string 4</d2p1:City>
    <d2p1:CountryId>sample string 6</d2p1:CountryId>
    <d2p1:CountryName>sample string 10</d2p1:CountryName>
    <d2p1:RegionId>sample string 9</d2p1:RegionId>
    <d2p1:StateId>sample string 5</d2p1:StateId>
    <d2p1:StateName>sample string 11</d2p1:StateName>
    <d2p1:TimeZoneId>sample string 8</d2p1:TimeZoneId>
    <d2p1:UserCulture>sample string 1</d2p1:UserCulture>
    <d2p1:ZipCode>sample string 7</d2p1:ZipCode>
  </Address>
  <Email>sample string 7</Email>
  <FirstName>sample string 5</FirstName>
  <LastName>sample string 6</LastName>
  <MobileCountryCode>11</MobileCountryCode>
  <MobileNumber>sample string 10</MobileNumber>
  <PageId>sample string 2</PageId>
  <ParentAccountId>sample string 1</ParentAccountId>
  <Password>sample string 8</Password>
  <UseDayLightSaving>true</UseDayLightSaving>
</CreateSubAccountViaSignUpPageRequestVM>

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.