Townvoucher.com For Developers
This documentation relates to the Townvoucher.com web services to integrate your
website or application with Townvoucher.com content. This webservice is free to
use. If you are interested to use our web service or have any question please get in contact with us.
Methods
|
Method |
Description |
|
GetAllActiveVoucher |
Lists the all active vouchers without any filtering. |
|
GetVoucherByCategory |
Lists the all active vouchers by category |
|
GetVoucherByTown |
Lists the all active vouchers by town |
|
GetVoucherByGPSLocation |
Lists the all active vouchers around GPS location (Coming soon) |
|
GetVoucherByPostcode |
Lists the all active vouchers around postcode (Coming soon) |
Response fields
|
Name |
Type |
Description |
|
VoucherName |
String |
Short name of voucher |
|
VoucherDesc |
String |
Long description of voucher |
|
VoucherTown |
String |
Partner and voucher town |
|
VoucherStartDate |
DateTime |
Voucher start date |
|
VoucherEndDate |
DateTime |
Expiry date of voucher |
|
VoucherCategory |
String |
Voucher category |
|
VoucherPartnerName |
String |
Partner company name |
|
VoucherPartnerLatitude |
Double |
GPS Latitude |
|
VoucherPartnerLongitude |
Double |
GPS Longitude |
|