POST api/values/FastBonus

Создание "быстрых бонусов"

Request Information

URI Parameters

None.

Body Parameters

FastBonusCreateRequest
NameDescriptionTypeAdditional information
ExcelFile

файл базы

Collection of byte

None.

FastBonusName

наименование

string

None.

Partner

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

integer

None.

Operator

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

integer

None.

Request Formats

application/json, text/json

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

application/xml, text/xml

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

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

FastBonusCreateResponse
NameDescriptionTypeAdditional information
ErrorCode

код ошибки

integer

None.

Message

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

string

None.

MarketList

Код торговой точки?

integer

None.

Response Formats

application/json, text/json

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

application/xml, text/xml

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