GET api/RewardVoucher?companycode={companycode}&voucherId={voucherId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
companycode

string

Required

voucherId

string

Required

Body Parameters

None.

Response Information

Resource Description

RewardVoucher
NameDescriptionTypeAdditional information
VoucherId

string

None.

NumberOfStamps

integer

None.

ClaimedCustomerId

string

None.

IssueDateTime

date

None.

PosTerminalId

string

None.

InvoiceId

string

None.

Response Formats

application/json, text/json

Sample:
{
  "VoucherId": "sample string 1",
  "NumberOfStamps": 2,
  "ClaimedCustomerId": "sample string 3",
  "IssueDateTime": "2024-05-11T21:08:32.1615325+08:00",
  "PosTerminalId": "sample string 5",
  "InvoiceId": "sample string 6"
}

text/xml

Sample:
<RewardVoucher xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CloudSysPOSWeb.Models">
  <ClaimedCustomerId>sample string 3</ClaimedCustomerId>
  <InvoiceId>sample string 6</InvoiceId>
  <IssueDateTime>2024-05-11T21:08:32.1615325+08:00</IssueDateTime>
  <NumberOfStamps>2</NumberOfStamps>
  <PosTerminalId>sample string 5</PosTerminalId>
  <VoucherId>sample string 1</VoucherId>
</RewardVoucher>