POST api/client/AddIDVK
Добавление аккаунта VK для Участника программы лояльности
Request Information
URI Parameters
None.
Body Parameters
AddIDVKRequestName | Description | Type | Additional information |
---|---|---|---|
CodeVK | string |
None. |
|
ClientID |
ID участника программы лояльности |
integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "CodeVK": "sample string 1", "ClientID": 2 }
application/xml, text/xml
Sample:
<AddIDVKRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LCManagerPartner.Models"> <ClientID>2</ClientID> <CodeVK>sample string 1</CodeVK> </AddIDVKRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
AddIDVKResponseName | 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:
<AddIDVKResponse 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> </AddIDVKResponse>