The Add Booking Comment request allows Booking Comments to be added to a specified booking. In the request, the Booking Reference will be sent along with a ComponentReference, BookingCommentTypeID and Comment.
The ComponentReference can be set to a component reference found in iVector, applying the booking comment to just that component. If the ComponentReference field is set to 0, blank or not sent. The comment applies to the whole booking.
A comment can only be added to a flight sector if the FlightBookingMultiSectorID is sent along with the flight component reference being sent in the ComponentReference field. If the FlightBookingMultiSectorID is wrong or no Flight component reference is sent, the comment will not be created.
More than one comment can be added to the booking specified using a single AddBookingComments Request.
The structure of the XML will be:
The structure of the XML will be:
Request
<AddBookingCommentsRequest>
<LoginDetails>
<Login></Login>
<Password></Password>
</LoginDetails>
<BookingReference>1074312</BookingReference>
<BookingComments>
<BookingComment>
<ComponentReference>1074354B</ComponentReference>
<FlightBookingMultiSectorID>4</FlightBookingMultiSectorID>
<BookingCommentTypeID>8</BookingCommentTypeID>
<Important>false</Important>
<Comment>This is a comment which applies to the flight comment</Comment>
</BookingComment>
</BookingComments>
</AddBookingCommentsRequest>