-
Notifications
You must be signed in to change notification settings - Fork 0
Voucher API Query vouchers to bring through validation and price
Request Url: /apis/ /vouchers/[?VoucherCode=code]
- [code] = The unique code of the voucher
Response:
VoucherCode : “100 1086”
VoucherValue | “100”
CalculationTypeID" : “0” – 0 = Fixed value & 1 = Percentage
ValidTypeID": “0” – 0 = Booked Between & 1 = Holiday Dates
ValidFrom" : “2016-05-13”
ValidTo" : “2016-05-20”,
MinimumNights" : “7”,
PropertyIds": “NULL”, – List of propertyIDs where offer is applicable
ContactID": “NULL”, – Contact Email valid for voucher, convert ID to Primary Email
DisableAddUp" : “0” – 0 discount can apply on top of another discount, 1 = discount cannot be used in conjuction with another discount
ExpireOnBooked": “0” – 0 = Expired No, 1 = Expired Yes, cannot be used again
DiscountTypeID": “0” – Discount Type 0 = Discount not deducted, 1 = Voucher discounted from commission, 2 = voucher deducted from owner amount, 3 = Discount split 50 / 50 between owner and agency, 4 = Discount / commission calculated on Net Price
Notes": " “,
CreationTime”: “2016-04-04 11:15:10”,
LastUpdateTime": “2016-11-10 14:41:57”
- Get Started
- Settings
- Contacts
- Properties
- Properties
- Property Detail
- Property Images
- Property Extras
- Property Reference Lookup
- Property Rates
- Push Property Rates
- Property Custom Rates
- Property Availabilities
- Property Day Availabilities
- Property Rooms
- Property Distances
- Property All
- Property Search
- Property Search Lite
- Property Search Lite v2
- Property Enquiries
- Property Welcome Pack
- Push Property
- Properties Last Updated
- Property Day Availability Check
- Property Reviews
- Property Blockouts
- Property Detail Events
- Property Search Events
- Property Management
- Enquries
- Bookings
- Reviews
- Payments
- Offers & Deals
- Reports
- Communications