POST api/values/Merge

Замена карты клиента

Request Information

URI Parameters

None.

Body Parameters

MergeRequest
NameDescriptionTypeAdditional information
Active

Номер актуальной карты

integer

None.

Merged

Номер устаревшей карты

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Active": 1,
  "Merged": 2
}

application/xml, text/xml

Sample:
<MergeRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LCManagerPartner.Models">
  <Active>1</Active>
  <Merged>2</Merged>
</MergeRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

MergeResponse
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:
<MergeResponse 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>
</MergeResponse>