POST api/client/ClientBonuses

Получение бонусов Участника программы лояльности не относящиеся к чекам.

Request Information

URI Parameters

None.

Body Parameters

ClientBonusesRequest
NameDescriptionTypeAdditional information
Card

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Card": 1
}

application/xml, text/xml

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

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ClientBonusesResponse
NameDescriptionTypeAdditional information
ClientBonuses

Collection of ClientBonus

None.

ErrorCode

Код ошибки

integer

None.

Message

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

string

None.

Response Formats

application/json, text/json

Sample:
{
  "ClientBonuses": [
    {
      "Bonus": 1.0,
      "BonusTime": "2022-08-19T22:59:26.1327835+03:00",
      "BonusOperation": "sample string 3",
      "BonusType": "sample string 4"
    },
    {
      "Bonus": 1.0,
      "BonusTime": "2022-08-19T22:59:26.1327835+03:00",
      "BonusOperation": "sample string 3",
      "BonusType": "sample string 4"
    }
  ],
  "ErrorCode": 1,
  "Message": "sample string 2"
}

application/xml, text/xml

Sample:
<ClientBonusesResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LCManagerPartner.Models">
  <ClientBonuses>
    <ClientBonus>
      <Bonus>1</Bonus>
      <BonusOperation>sample string 3</BonusOperation>
      <BonusTime>2022-08-19T22:59:26.1327835+03:00</BonusTime>
      <BonusType>sample string 4</BonusType>
    </ClientBonus>
    <ClientBonus>
      <Bonus>1</Bonus>
      <BonusOperation>sample string 3</BonusOperation>
      <BonusTime>2022-08-19T22:59:26.1327835+03:00</BonusTime>
      <BonusType>sample string 4</BonusType>
    </ClientBonus>
  </ClientBonuses>
  <ErrorCode>1</ErrorCode>
  <Message>sample string 2</Message>
</ClientBonusesResponse>