POST api/values/CancelLastCheque

Отмена последнего зарегистрированного чека на Процессинге.

Request Information

URI Parameters

None.

Body Parameters

CancelLastChequeRequest
NameDescriptionTypeAdditional information
Partner

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

integer

None.

Card

номер карты

integer

None.

ChequeTime

время чека

date

None.

Phone

номер телефона

integer

None.

Pos

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

string

None.

Number

номер чека

string

None.

Terminal

код терминала Торговой точки

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Partner": 1,
  "Card": 2,
  "ChequeTime": "2022-08-14T15:20:54.6237905+03:00",
  "Phone": 3,
  "Pos": "sample string 4",
  "Number": "sample string 5",
  "Terminal": "sample string 6"
}

application/xml, text/xml

Sample:
<CancelLastChequeRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LCManagerPartner.Models">
  <Card>2</Card>
  <ChequeTime>2022-08-14T15:20:54.6237905+03:00</ChequeTime>
  <Number>sample string 5</Number>
  <Partner>1</Partner>
  <Phone>3</Phone>
  <Pos>sample string 4</Pos>
  <Terminal>sample string 6</Terminal>
</CancelLastChequeRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

CancelLastChequeResponse
NameDescriptionTypeAdditional information
ErrorCode

код ошибки

integer

None.

Message

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

string

None.

Card

integer

None.

Balance

баланс бонусных баллов

decimal number

None.

Response Formats

application/json, text/json

Sample:
{
  "ErrorCode": 1,
  "Message": "sample string 2",
  "Card": 3,
  "Balance": 4.0
}

application/xml, text/xml

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