Name | Description | Type | Additional information |
---|---|---|---|
ConfigurationName |
Name of the configuration the voucher should be part of |
string |
Required |
Code |
The unique voucher code |
string |
Required |
ValidFrom |
The date the voucher is valid from (inclusive) |
date |
None. |
ValidTo |
The date the voucher is valid until (inclusive) |
date |
Required |
ExtUserID |
External User ID (for audit purposes) in the querying system. |
string |
Required |
Attributes |
A dictionary of custom attributes for the voucher. To pre-populate fields when booking, you can use the following attributes: CardHolderCountryID: Country ID for the passenger (for visa vouchers only).; VBook field values: BookerName: Name of booker; BookerEmail: Email of booker; BookerIsPax: Set booker details as passenger details; CardHolderName: Passenger name; CardHolderEmail: Passenger email; CardHolderPhoneNumber: Passenger phone number; PaxTotalNumber: Total number of passengers(max value depends on vehicle); PaxSignboard: Passenger signboard; TransportationType: Flight, Train, Other; FlightDateTime: Date of flight; IsArrival: Is arrival flight; FlightNumber: Flight number; AirportCode: Airport code used to pick up / drop off passenger; AddressLine: Address line used to pick up / drop off passenger; VehicleCategory : Select chosen vehicle category.Business, First Class, etc.; |
Dictionary of string [key] and string [value] |
None. |