POST api/values/ActivateCard
Активация карты на списание
Request Information
URI Parameters
None.
Body Parameters
ActivateCardRequestName | Description | Type | Additional information |
---|---|---|---|
Phone |
номер телефона |
integer |
None. |
Card |
номер карты |
integer |
None. |
Code |
код подтверждения |
string |
None. |
Operator |
идентификатор Оператора программы лояльности |
integer |
None. |
PosCode |
код торговой точки |
string |
None. |
Request Formats
application/json, text/json
Sample:
{ "Phone": 1, "Card": 2, "Code": "sample string 3", "Operator": 4, "PosCode": "sample string 5" }
application/xml, text/xml
Sample:
<ActivateCardRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LCManagerPartner.Models"> <Card>2</Card> <Code>sample string 3</Code> <Operator>4</Operator> <Phone>1</Phone> <PosCode>sample string 5</PosCode> </ActivateCardRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ActivateCardResponseName | Description | Type | Additional 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:
<ActivateCardResponse 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> </ActivateCardResponse>