Element | @Attribute |
Description/Contents |
MakeTourBooking_RQ |
Root element of message. |
BookingAgent (optional) |
Element indicating a booking agent. Leave empty to make a direct booking.
To specify an agent you can just provide either the ID, or the GUID. If both are provided ResLink will make a check to see if the GUID and ID match in the database and will error out if they don't. |
ID |
ID of the booking agent. |
GUID |
GUID identifier for booking agent. |
Contact |
Contact name. |
Email |
Email address. |
Phone |
Phone number. |
OtherRef |
Booking Agent Reference. |
OtherRef2 |
Second Booking Agent Reference. |
SellingAgent (optional) |
Element indicating a selling agent.
To specify an agent you can just provide either the ID, or the GUID. If both are provided ResLink will make a check to see if the GUID and ID match in the database and will error out if they don't. |
ID |
ID of the selling agent. |
GUID |
GUID identifier for selling agent. |
Booking |
Element indicating the booking. |
Name |
Booking name. |
Email |
Contact email address for booking. |
Phone |
Contact phone for booking. |
MemberID |
ProCharter Member ID. |
PaymentToken |
Payment Token issued by a Payment Gateway to store on the booking. |
Pickup |
Pickup Location code (see GetPickupLocations for more details). |
RunID |
Element specifying the run ID to book. |
HoldID |
(optional) Element specifying an existing Availability Hold ID use. |
BookingClassTypes |
Element indicating a list of booking class types. |
BookingClassType |
Element indicating a booking class type. |
@ClassTypeID |
Class type ID. |
@PaxCount |
Number of passengers to allocate to this class type. |
@Quantity |
Number of class types being used. Eg. for a room with two single beds, PaxCount would be 2, and Quantity would be 2. For a room with a single and a double (Total Capacity of 3) and three people staying in that room, PaxCount would be 3, and Quantity would be 1. |
@Price |
The desired cost for this class type in dollar amounts. (No need for $ sign). If this value is greater than zero, it will be used as the price for the booking rather than the calculated price.
This value is used only if the Allow Price/Commission Overrides setting is enabled in the suppliers ProCharter settings. |
@Commission |
The desired commission in dollar amounts. If this value is greater than zero, it will be used as the commission for the booking rather than the calculated commission.
This value is used only if the Allow Price/Commission Overrides setting is enabled in the suppliers ProCharter settings. |
PaxList |
Element indicating a list of passengers. |
Pax |
Element indicating a passenger. |
Firstname |
First name. |
LastName |
Last name. |
Email |
Email address. |
Phone |
Phone number. |
Country_GUID |
Passenger's country as identified by ProCharter System Code GUID |
State_GUID |
Passenger's state as identified by ProCharter System Code GUID |
Comments |
Comments. |
OtherRef |
Passenger Agent Reference. |
OtherRef2 |
Passenger Second Agent Reference. |
MarketingFields
(optional) |
Element indicating a list of marketing fields for the passenger. See GetMarketingFields for how to retrieve marketing fields. |
MarketingField |
Element indicating a marketing field. |
@Type |
Can be either "Pax", or "BookPax". |
@Index |
Unique index for the field type. |
@Name |
Description of the field - this can be left blank. |
@Value |
Value of the marketing field. |
MarketingFields
(optional) |
Element indicating a list of marketing fields for the booking. |
MarketingField |
Element indicating a marketing field. |
@Type |
Use "Booking". |
@Index |
Unique index for the field type. |
@Name |
Description of the field - this can be left blank. |
@Value |
Value of the marketing field. |
Notes
(optional) |
Element indicating a list of notes. |
string |
Element indicating a note string value. |
Services |
Collection of BookingServices. |
Booking Service |
Element indicating an additional service for the booking. |
@ProductCode |
Product Code for the service |
@Quantity |
Quantity of the service |
@Price |
Total Price for the service |
@Commission |
Total Commission for the service |
Receipt
(optional) |
Element indicating a payment receipt. The amount receipted in ProCharter is Total - Commission. |
Total |
Payment total. |
Commission |
The portion of the Total amount that is the Commission passed on to the Agent automatically as part of a Money Direct
transaction. |
TransactionFee |
The portion of the Total amount that is the Transaction fee. |
FTR |
Financial Transaction Record - a string value used in Money Direct transactions. |
PaymentType
(optional) |
The 2 character ProCharter PaymentType code for the payment. If omitted the default payment type will be used. |
MakeTestBooking |
Create a test booking. Set to true to create a WebRes booking; the status will automatically be set to cancelled. |
SendConfirmationEmail |
Flag to send a confirmation email from ProCharter when the booking has been created. Default is True. |
CreateAccommodation (optional) |
Controls whether to create additional accommodation bookings (number of nights specified by PreAccommodationNights and PostAccommodationNights. Possible values are:
DoDefault - Set the Create Accommodation flag to the default
CreateAccommodation - Explicitly set the Create Accommodation flag
DontCreateAccommodation - Explicity clear the Create Accommodation
Default value is DoDefault.
|
PreAccommodationNights (optional) |
Number of nights prior to the booking to create accommodation for. Requires CreateAccommodation = CreateAccommodation. |
PostAccommodationNights (optional) |
Number of nights after the booking to create accommodation for. Requires CreateAccommodation = CreateAccommodation. |
You want to book Run ID 9257 for John Doe using a test agent.