Update Passenger
Updates a Passenger on a Booking.
Request Profile Table
Element | @Attribute |
Description/Contents |
UpdatePassenger / UpdatePassengerRequest |
Root element of message. |
BookingID |
ProCharter Booking ID |
PassengerID |
ProCharter Passenger ID |
Title |
Passenger Title (Mr, Mrs, etc) |
FirstName |
Passenger First Name |
LastName |
Passenger Last Name |
Email |
Passenger Email |
Phone1 |
Passenger Phone 1 |
NextOfKin |
Next of Kin Name |
NextOfKinPhone |
Next of Kin contact details |
NextOfKinRelationship |
Next of Kin relationship |
Comments |
Passenger Comments |
State |
System Code for Passenger State (see Get Sys Codes for more information). Category Code = 'STS' |
Country |
System Code for Passenger Country (see Get Sys Codes for more information). Category Code = 'CNT' |
MedicalDeclaration |
Indicates if Passenger has accepted a Medical Declaration |
BookPaxMarketingFields |
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. |
PaxMarketingFields |
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 Passenger. Note: There is also a Pickup on the Booking object that this value overrides 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:
<UpdatePassenger>
<UpdatePassengerRequest>
<BookingID>78857</BookingID>
<PassengerID>169270</PassengerID>
<Title/>
<FirstName>Toni</FirstName>
<LastName>Test</LastName>
<Email>test@cwc.co</Email>
<Phone1>+61 7 3889 8240</Phone1>
<NextOfKin>Bill and Beth Test</NextOfKin>
<NextOfKinPhone>+61 7 7777 7777</NextOfKinPhone>
<NextOfKinRelationShip>Parents</NextOfKinRelationShip>
<Comments>Allergic to Tomatoes</Comments>
<State>QLD</State>
<Country>AUS</Country>
<MedicalDeclaration>true</MedicalDeclaration>
<BookPaxMarketingFields>
<MarketingField Index="1" Value="<30"/>
<MarketingField Index="2" Value="AUS"/>
<MarketingField Index="3" Value="UNS"/>
<MarketingField Index="4" Value="SM"/>
</BookPaxMarketingFields>
<PaxMarketingFields>
<MarketingField Index="1" Value="1al"/>
<MarketingField Index="2" Value="ASM"/>
<MarketingField Index="3" Value="SOK"/>
<MarketingField Index="4" Value="YES"/>
</PaxMarketingFields>
<Pickup Code="P11" PickupTime="0001-01-01T03:30:00" />
</UpdatePassengerRequest>
</UpdatePassenger>
Response Profile Table
Element | @Attribute |
Description/Contents |
UpdatePassengerResponse / UpdatePassengerResult |
Root element of message. |
Success |
Indicates if the Passenger was updated successfully |
Example message:
<UpdatePassengerResponse xmlns="ResLink">
<UpdatePassengerResult>
<TimeStamp>2016-01-14T14:45:06.0489955+10:00</TimeStamp>
<Status Code="0" Message=""/>
<Errors/>
<Warnings/>
<Success>true</Valid>
</UpdatePassengerResult>
</UpdatePassengerResponse>