POST api_v2/Accounts/Add

create new account

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>eff994e7-fabe-4503-972a-5ea96b2dc12a</CloudServiceId>
    <Configuration1C>sample string 1</Configuration1C>
    <RegistrationSource>Promo</RegistrationSource>
    <ReferralAccountId>8d43c76a-006c-46a0-b579-2792c0746441</ReferralAccountId>
  </RegistrationConfig>
  <LocaleName>sample string 10</LocaleName>
</Request>

application/json, text/json

Sample:
{
  "AccountCaption": "sample string 1",
  "ReferralAccountID": "8d43c76a-006c-46a0-b579-2792c0746441",
  "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": "eff994e7-fabe-4503-972a-5ea96b2dc12a",
    "Configuration1C": "sample string 1",
    "RegistrationSource": 0,
    "ReferralAccountId": "8d43c76a-006c-46a0-b579-2792c0746441"
  },
  "LocaleName": "sample string 10"
}

Response Information

No documentation available.

Response body formats

application/xml, text/xml

Sample:
<Result>
  <AccountID>9ed13564-46a3-4baf-b835-da0e59b98215</AccountID>
  <Token>0f84c9d3-33e8-4e59-bdce-a834258b8348</Token>
</Result>

application/json, text/json

Sample:
{
  "AccountID": "9ed13564-46a3-4baf-b835-da0e59b98215",
  "Token": "0f84c9d3-33e8-4e59-bdce-a834258b8348"
}