POST api_v2/Accounts/Registration

No documentation available.

Request Information

Parameters

NameDescriptionAdditional information
accountInfo
No documentation available.

Define this parameter in the request body.

Request body formats

application/xml, text/xml

Sample:
<Request>
  <AccountCaption>sample string 1</AccountCaption>
  <Login>sample string 2</Login>
  <Password>sample string 3</Password>
  <Inn>sample string 4</Inn>
  <Email>sample string 5</Email>
  <FirstName>sample string 6</FirstName>
  <LastName>sample string 7</LastName>
  <MiddleName>sample string 8</MiddleName>
  <FullPhoneNumber>sample string 9</FullPhoneNumber>
  <RegistrationConfig>
    <CloudService>Unknown</CloudService>
    <CloudServiceId>5dce3d3a-9e25-488b-a31b-1de46f66eecd</CloudServiceId>
    <Configuration1C>sample string 1</Configuration1C>
    <RegistrationSource>Promo</RegistrationSource>
    <ReferralAccountId>7072a35b-9c97-4926-9d94-946a5089b423</ReferralAccountId>
  </RegistrationConfig>
  <LocaleName>sample string 10</LocaleName>
</Request>

application/json, text/json

Sample:
{
  "AccountCaption": "sample string 1",
  "ReferralAccountID": "7072a35b-9c97-4926-9d94-946a5089b423",
  "Login": "sample string 2",
  "Password": "sample string 3",
  "Inn": "sample string 4",
  "Email": "sample string 5",
  "FirstName": "sample string 6",
  "LastName": "sample string 7",
  "MiddleName": "sample string 8",
  "FullPhoneNumber": "sample string 9",
  "RegistrationConfig": {
    "CloudService": 0,
    "CloudServiceId": "5dce3d3a-9e25-488b-a31b-1de46f66eecd",
    "Configuration1C": "sample string 1",
    "RegistrationSource": 0,
    "ReferralAccountId": "7072a35b-9c97-4926-9d94-946a5089b423"
  },
  "LocaleName": "sample string 10"
}

Response Information

No documentation available.

Response body formats

application/xml, text/xml

Sample:
<Result>
  <AccountID>f338267a-f3bc-4825-a619-5ee7ac5d6a06</AccountID>
  <Token>a86bc0fb-f3c7-4b55-aa65-8aecd8e91243</Token>
</Result>

application/json, text/json

Sample:
{
  "AccountID": "f338267a-f3bc-4825-a619-5ee7ac5d6a06",
  "Token": "a86bc0fb-f3c7-4b55-aa65-8aecd8e91243"
}