POST api/values/ManagerSendCode

Отправка кода подтверждения менеджером

Request Information

URI Parameters

None.

Body Parameters

ManagerSendCodeRequest
NameDescriptionTypeAdditional information
Login

Логин пользователя

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Login": "sample string 1"
}

application/xml, text/xml

Sample:
<ManagerSendCodeRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LCManagerPartner.Models">
  <Login>sample string 1</Login>
</ManagerSendCodeRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ManagerSendCodeResponse
NameDescriptionTypeAdditional information
Phone

Номер телефона пользователя, на который отправлялся проверочный код

integer

None.

ErrorCode

код ошибки

integer

None.

Message

сообщение об ошибке

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Phone": 1,
  "ErrorCode": 2,
  "Message": "sample string 3"
}

application/xml, text/xml

Sample:
<ManagerSendCodeResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LCManagerPartner.Models">
  <ErrorCode>2</ErrorCode>
  <Message>sample string 3</Message>
  <Phone>1</Phone>
</ManagerSendCodeResponse>