POST api/values/GetConfirmCode

Проверка кода и валидация номера телефона.

Request Information

URI Parameters

None.

Body Parameters

GetConfirmCodeRequest
NameDescriptionTypeAdditional information
Phone

номер телефона

integer

None.

Code

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

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Phone": 1,
  "Code": "sample string 2"
}

application/xml, text/xml

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

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

GetConfirmCodeResponse
NameDescriptionTypeAdditional information
ErrorCode

код ошибки

integer

None.

Message

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

string

None.

Client

Идентификатор клиента

integer

None.

Response Formats

application/json, text/json

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

application/xml, text/xml

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