GET WebVouchers/GetVoucherByID?VoucherID={VoucherID}
Returns Back A Active Voucher With The ID Provided
Request Information
URI Parameters
| Name | Type | Description | Additional information |
|---|---|---|---|
| VoucherID | integer |
Body Parameters
None.
Response Information
Resource Description
WebVoucherDto| Name | Type | Description | Additional information |
|---|---|---|---|
| WebVoucherId | integer |
None. |
|
| SerialNumber | string |
None. |
|
| DateSold | datetime |
None. |
|
| ExpiryDate | datetime |
None. |
|
| Value | decimal number |
None. |
|
| Notes | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"WebVoucherId": 1,
"SerialNumber": "sample string 2",
"DateSold": "2026-10-10T23:20:14.9981677",
"ExpiryDate": "2026-10-10T23:20:14.9981677",
"Value": 5.0,
"Notes": "sample string 6"
}
application/xml, text/xml
Sample:
System.Xml.XmlDocument