GET WebVouchers/GetActiveVouchers
Returns Back All Active Vouchers For The Company Provided In The Headers
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of WebVoucherDto| Name | Type | Description | Additional information |
|---|---|---|---|
| WebVoucherId | integer |
None. |
|
| SerialNumber | string |
None. |
|
| DateSold | date |
None. |
|
| ExpiryDate | date |
None. |
|
| Value | decimal number |
None. |
|
| Notes | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"WebVoucherId": 1,
"SerialNumber": "sample string 2",
"DateSold": "2025-10-29T20:31:33.7243935",
"ExpiryDate": "2025-10-29T20:31:33.7243935",
"Value": 5.0,
"Notes": "sample string 6"
},
{
"WebVoucherId": 1,
"SerialNumber": "sample string 2",
"DateSold": "2025-10-29T20:31:33.7243935",
"ExpiryDate": "2025-10-29T20:31:33.7243935",
"Value": 5.0,
"Notes": "sample string 6"
}
]
application/xml, text/xml
Sample:
<ArrayOfWebVoucherDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tevalis.API.Core.WebVouchers.Dto">
<WebVoucherDto>
<DateSold>2025-10-29T20:31:33.7243935</DateSold>
<ExpiryDate>2025-10-29T20:31:33.7243935</ExpiryDate>
<Notes>sample string 6</Notes>
<SerialNumber>sample string 2</SerialNumber>
<Value>5</Value>
<WebVoucherId>1</WebVoucherId>
</WebVoucherDto>
<WebVoucherDto>
<DateSold>2025-10-29T20:31:33.7243935</DateSold>
<ExpiryDate>2025-10-29T20:31:33.7243935</ExpiryDate>
<Notes>sample string 6</Notes>
<SerialNumber>sample string 2</SerialNumber>
<Value>5</Value>
<WebVoucherId>1</WebVoucherId>
</WebVoucherDto>
</ArrayOfWebVoucherDto>