POST api_v2/AccountUsers/AddToAccount

Добавить пользователя AccountUser в аккаунт Account.

Request Information

Parameters

NameDescriptionAdditional information
userInfo
Данные добавляемого пользователя.

Define this parameter in the request body.

Request body formats

application/xml, text/xml

Sample:
<Request>
  <AccountId>bbc68939-8965-45f5-a3b7-6291a2c60325</AccountId>
  <Login>sample string 2</Login>
  <Password>sample string 3</Password>
  <Email>sample string 4</Email>
  <FirstName>sample string 5</FirstName>
  <LastName>sample string 6</LastName>
  <MiddleName>sample string 7</MiddleName>
  <FullPhoneNumber>sample string 8</FullPhoneNumber>
  <RegistrationSource>Promo</RegistrationSource>
  <UserSource>sample string 9</UserSource>
</Request>

application/json, text/json

Sample:
{
  "AccountId": "bbc68939-8965-45f5-a3b7-6291a2c60325",
  "Login": "sample string 2",
  "Password": "sample string 3",
  "Email": "sample string 4",
  "FirstName": "sample string 5",
  "LastName": "sample string 6",
  "MiddleName": "sample string 7",
  "FullPhoneNumber": "sample string 8",
  "RegistrationSource": 0
}

Response Information

No documentation available.

Response body formats

application/xml, text/xml

Sample:
<Result>
  <AccountUserID>740009ad-c4b8-460d-80a5-1ecff7e7b3df</AccountUserID>
</Result>

application/json, text/json

Sample:
{
  "AccountUserID": "740009ad-c4b8-460d-80a5-1ecff7e7b3df"
}