GET api/RewardVoucher?companycode={companycode}&voucherId={voucherId}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
companycode | string |
Required |
|
voucherId | string |
Required |
Body Parameters
None.
Response Information
Resource Description
RewardVoucherName | Description | Type | Additional 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": "2025-03-31T23:13:55.8282793+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>2025-03-31T23:13:55.8282793+08:00</IssueDateTime> <NumberOfStamps>2</NumberOfStamps> <PosTerminalId>sample string 5</PosTerminalId> <VoucherId>sample string 1</VoucherId> </RewardVoucher>