POST api/values/ClientUpdateLevel

Импорт базы уровней клиентов

Request Information

URI Parameters

None.

Body Parameters

ClientUpdateLevelRequest
NameDescriptionTypeAdditional information
ExcelFile

файл базы

Collection of byte

None.

Partner

идентификатор Партнера программы лояльности

integer

None.

Operator

идентификатор Оператора программы лояльности

integer

None.

Level

уровень

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ExcelFile": "QEA=",
  "Partner": 1,
  "Operator": 2,
  "Level": "sample string 3"
}

application/xml, text/xml

Sample:
<ClientUpdateLevelRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LCManagerPartner.Models">
  <ExcelFile>QEA=</ExcelFile>
  <Level>sample string 3</Level>
  <Operator>2</Operator>
  <Partner>1</Partner>
</ClientUpdateLevelRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

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