POST api/client/SetClientPassword

Установка пароля клиента

Request Information

URI Parameters

None.

Body Parameters

SetClientPasswordRequest
NameDescriptionTypeAdditional information
Phone

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

integer

None.

Code

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

string

None.

Password

пароль

string

None.

ClientID

ID участника программы лояльности

integer

None.

Operator

ID оператора программы лояльности

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Phone": 1,
  "Code": "sample string 2",
  "Password": "sample string 3",
  "ClientID": 4,
  "Operator": 5
}

application/xml, text/xml

Sample:
<SetClientPasswordRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LCManagerPartner.Models">
  <ClientID>4</ClientID>
  <Code>sample string 2</Code>
  <Operator>5</Operator>
  <Password>sample string 3</Password>
  <Phone>1</Phone>
</SetClientPasswordRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

SetClientPasswordResponse
NameDescriptionTypeAdditional information
ErrorCode

код ошибки

integer

None.

Message

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

string

None.

Response Formats

application/json, text/json

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

application/xml, text/xml

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