GET WebVouchers/GetVoucherBySerial?SerialNo={SerialNo}
Returns Back A Active Voucher With The Serial Number Provided
Request Information
URI Parameters
| Name | Type | Description | Additional information |
|---|---|---|---|
| SerialNo | string |
Body Parameters
None.
Response Information
Resource Description
VoucherSearchResultDto| Name | Type | Description | Additional information |
|---|---|---|---|
| Error | string |
None. |
|
| WebVoucher | WebVoucherDto |
None. |
Response Formats
application/json, text/json
Sample:
{
"Error": "sample string 1",
"WebVoucher": {
"WebVoucherId": 1,
"SerialNumber": "sample string 2",
"DateSold": "2025-10-29T20:29:26.5713629",
"ExpiryDate": "2025-10-29T20:29:26.5713629",
"Value": 5.0,
"Notes": "sample string 6"
}
}
application/xml, text/xml
Sample:
<VoucherSearchResultDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tevalis.API.Core.WebVouchers.Dto">
<Error>sample string 1</Error>
<WebVoucher>
<DateSold>2025-10-29T20:29:26.5713629</DateSold>
<ExpiryDate>2025-10-29T20:29:26.5713629</ExpiryDate>
<Notes>sample string 6</Notes>
<SerialNumber>sample string 2</SerialNumber>
<Value>5</Value>
<WebVoucherId>1</WebVoucherId>
</WebVoucher>
</VoucherSearchResultDto>