ResLink

Update Booking

Updates a subset of fields on a Booking in ProCharter.

Request Profile Table

Element | @Attribute Description/Contents
UpdateBooking / UpdateBookingRequest Root element of message.
BookingID ProCharter Booking ID of the booking to retrieve
Accommodation System Code for Accommodation (see Get Sys Codes for more information). Category Code = 'ACC'
AccommodationRoom Accommodation room number
ArrivalNote Arrival note
@ArrivalDate Arrival Date. If not specified returns '0001-01-01T00:00:00'
MarketingFields Collection of MarketingField objects
MarketingField Object representing a single MarketingField
@Index MarketingField index
@Value System Code for Marketing Field value (see Get Sys Codes for more information). Category Code details are available from Get Marketing Field Config.
Pickup Object representing the Pickup for this Booking. Note: There is also a Pickup on the Passenger object that this overrides this value if specified.
@Code Pickup Location Code (see Get Pickups for more information)
@PickupTime Pickup Time. Note: This is returned as a date/time

Example message:

<UpdateBooking> <UpdateBookingRequest> <BookingID>78857</BookingID> <Accommodation>AHO</Accommodation> <AccommodationRoom>tba</AccommodationRoom> <ArrivalNote>Arriving night before</ArrivalNote> <ArrivalDate>2016-01-18</ArrivalDate> <MarketingFields> <MarketingField Index="1" Value="SLT"/> <MarketingField Index="2" Value="NO"/> <MarketingField Index="3" Value="CAR"/> <MarketingField Index="4" Value="FRI"/> <MarketingField Index="5" Value="INT"/> <MarketingField Index="6"/> <MarketingField Index="7" Value="YES"/> <MarketingField Index="8" Value="NO"/> </MarketingFields> <Pickup Code="P11" PickupTime="0001-01-01T03:30:00" /> </UpdateBookingRequest> </UpdateBooking>


Response Profile Table

Element | @Attribute Description/Contents
UpdateBookingResponse / UpdateBookingResult Root element of message.
Success Indicates if the Booking was Checked In successfully

Example message:

<UpdateBookingResponse xmlns="ResLink"> <UpdateBookingResult> <TimeStamp>2016-01-14T10:58:11.118+10:00</TimeStamp> <Status Code="0" Message=""/> <Errors/> <Warnings/> <Success>true</Success> </UpdateBookingResult> </UpdateBookingResponse>