Host Profile Move API Reference
POST |
book/profile/reservationworkbench/{workbenchID}/clientprofile For {workbenchID} send the workbench identifier returned in ReservationResponse/Identifer/value in the workbench create response. Base path: Pre-production https://api.pp.travelport.com/11/air/ Production https://api.travelport.com/11/air/ |
Related Content: Booking Guide
The Host Profile Move request copies traveler profile information already stored in the Travelport system into the JSON API booking workflow so that this data does not need to be re-sent. It can be sent for an existing reservation or in the initial booking workflow, per the following workflow:
-
Send the Host Profile Move API request detailed here.
-
Add Traveler (optional, use if necessary to add another traveler whose profile is not copied from the host).
-
Add any other optional data such as seats or ancillaries.
The Travelport host system includes the following types of records. Use the Host Profile Move request to copy information from either the business or personal file record for a traveler:
-
Business File Record (BAR): Specific business account details such as telephone numbers, ticket delivery address, payment policy, and required invoice layout.
-
Personal File Record (PAR): Personal traveler information such as telephone number, address, and credit card number. A separate PAR is usually created for each person traveling for a company for which a BAR exists.
-
Agency File Record (MAR): Details about the travel provider, such as telephone numbers, out-of-office hours, and emergency numbers.
Request
Also see Authorization and Common Headers.
Query Parameters
None.
Request Body
Object |
Description |
Required/Optional |
---|---|---|
ReservationQueryClientProfileMove |
Top level object. Includes ClientProfileMoveHeaderModifiers, ClientProfileMoveLineModifiers, ClientProfileMoveTravelerFlightModifiers as needed. |
Required |
ClientProfileMoveHeaderModifiers |
Wrapper object. Includes BusinessTitle, PersonalTitle, and the Boolean indicators MultipleIndicator, SelectIndicator, MergeIndicator, RelatedMoveIndicator. |
Required |
|
String. 21-character maximum. The name of the corporation/business account the profile is associated to. |
Required |
|
String. 21-character maximum. The name of the traveler the profile is associated to. |
Required for personal file moves |
|
Boolean. Supported values:
|
Optional |
|
Boolean. Supported values:
|
Optional |
|
Boolean. Indicates how any associated TravelScreen Preferences (not applicable to JSON APIs) should be activated at the time of the file move. Supported values:
|
Optional |
|
String. One-character maximum. Indicates the passenger and segment relation for the related move. Supported values:
Before sending a request with RelatedMoveIndicator=Y, send a request to move the traveler name and other required information. The a request with RelatedMoveIndicator should be the final move request.
|
Optional |
ClientProfileMoveLineModifiers |
Send if SelectIndicator is sent with true. |
Required if SelectIndicator is sent with true |
|
Integer up to three places. Line number of the client file to move. |
Required |
|
String. 58-character maximum. Any text to be appended to the line moved to the workbench as specified in LineNumber. This string is added to the booking in the workbench, not in the host client profile. |
Optional |
ClientProfileMoveTravelerFlightModifiers |
Send if RelatedMoveIndicator is sent with value of Y. Includes TravelerRef and FlightRef. |
Required if RelatedMoveIndicator is sent with true |
|
The Traveler ref to associate related lines of the client profile |
Required |
|
The Flight ref to associate the related lines of the client profile |
Required |
ProfilePCC |
Sends the PCC associated with the profile to move when the profile's PCC differs from the PCC in the JSON API booking workbench. |
Optional |
Response
A successful transaction returns an HTTP Status - 204 with no content.
Example Request
Use the following requests to copy only the business or only the personal profile.
{
"ReservationQueryClientProfileMove": {
"ClientProfileMoveHeaderModifiers": {
"BusinessTitle": "TESTBUSINESS1",
"PersonalTitle": "TESTPERSONAL4",
"MultipleIndicator": "false",
"SelectIndicator": "false",
"MergeIndicator": "false",
"RelatedMoveIndicator": "N"
"ProfilePCC": "XY5"
}
}
}
{
"ReservationQueryClientProfileMove": {
"ClientProfileMoveHeaderModifiers": {
"BusinessTitle": "TESTBUSINESS1",
"PersonalTitle": "TESTPERSONAL4",
"MultipleIndicator": "false",
"SelectIndicator": "false",
"MergeIndicator": "false",
"RelatedMoveIndicator": "N"
}
}
}
The following payload sends SelectIndicator=true to copy only data from the the line number specified in ClientProfileMoveLineModifiers/LineNumber. AppendedData is optional to append a string to that line.
{
"ReservationQueryClientProfileMove": {
"ClientProfileMoveHeaderModifiers": {
"BusinessTitle": "HEMPSTOCK",
"PersonalTitle": "TRACEY",
"MultipleIndicator": "false",
"SelectIndicator": "true",
"MergeIndicator": "false",
"RelatedMoveIndicator": "N"
},
"ClientProfileMoveLineModifiers": {
"LineNumber": 1,
"AppendedData": "TEST"
}
}
}
The following payload sends RelatedMoveIndicator=Y and ClientProfileMoveTravelerFlightModifiers. For the specified traveler and flight, this copies only the lines specified with R transfer code in the profile, which are programmatic SSRs (host code SI.), mileage membership numbers (M.), and associated remarks (RI.S).
{
"ReservationQueryClientProfileMove": {
"ClientProfileMoveHeaderModifiers": {
"BusinessTitle": "HEMPSTOCK",
"PersonalTitle": "RMOVETEST",
"MultipleIndicator": "false",
"SelectIndicator": "false",
"MergeIndicator": "false",
"RelatedMoveIndicator": "Y"
},
"ClientProfileMoveTravelerFlightModifiers": {
"TravelerRef": "01",
"FlightRef": "01"
}
}
}
Example Response
A successful transaction returns an HTTP Status - 204 with no content.