Skip to main content

Build Profile From Itinerary

1.0.0
Profiles
SOAP API

The Build Profile From Itinerary (ProfileFromReservationRQ) API is used to build within an Open System Profile Database instance of a Profile with the default Filter or just Profile.

Target Audience
Travel Agency
Airline Carrier
Current Version
1.0.0
Authentication
Session Token
Service Action Code
ProfileFromReservationRQ

This is done by invoking ProfileCreateRQ and populating its payload with data retrieved from the PNR present in a PSS active session (PNR should be in AAA). The PNR doesn't need to have a PNR Locator assigned, which means that Profile can be created before the PNR is end-transacted.

Sample Request
<p:ProfileFromReservationRQ TimeStamp="2001-12-31T12:00:00" Version="1.0.0" xsi:schemaLocation="http://webservices.sabre.com/pnrbuilder ../pnrmove/ProfileFromReservationRQ.xsd " xmlns:p="http://webservices.sabre.com/pnrbuilder/profilefromres" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<p:Profile ClientCode="TN" ClientContextCode="MYS" DomainID="B4T0" FilterDescription="MR SMITH FILTER" FilterName="DEFAULT MR SMITH" ProfileDescription="MR SMITH PROFILE" ProfileName="MR SMITH" ProfileNameModifyIndicator="Y" ProfilePurgeNoDays="1" ProfileTypeCode="TVL">
		<p:Reservation ReferenceNumber="2.1" RecordLocator="FDNYNU"/>
	</p:Profile>
</p:ProfileFromReservationRQ>
Sample Response
<ns3:ProfileFromReservationRS TimeStamp="2001-12-31T12:00:00Z" Version="1.0.0" ProfileCreateRQVersion="6.11" ProfileDeleteRQVersion="6.11">
	<ns3:ResponseMessage>
		<ns3:Success>Success</ns3:Success>
	</ns3:ResponseMessage>
	<ns3:Reservation>
		<ns3:Passenger RecordLocator="FDNYNU">
			<ns3:ReferenceNumber>02.01</ns3:ReferenceNumber>
			<ns3:GivenName>JOHN MR</ns3:GivenName>
			<ns3:Surname>SMITH</ns3:Surname>
		</ns3:Passenger>
	</ns3:Reservation>
	<ns3:Profile>
		<ns3:ProfileCreateRS>
			<ns2:Sabre_OTA_ProfileCreateRS TimeStamp="2013-03-04T14:11:23.899Z" Version="6.11" CreateDateTime="2013-03-04T14:11:23.899Z">
				<ns2:ResponseMessage>
					<ns2:Success/>
				</ns2:ResponseMessage>
				<ns2:Profile ClientCode="TN" ClientContextCode="MYS" UniqueID="102218574" ProfileTypeCode="TVL" ProfileName="MR SMITH" ProfileDescription="MR SMITH PROFILE" DomainID="B4T0" ProfilePurgeNoDays="1"/>
			</ns2:Sabre_OTA_ProfileCreateRS>
		</ns3:ProfileCreateRS>
	</ns3:Profile>
	<ns3:Filter>
		<ns3:FilterCreateRS>
			<ns2:Sabre_OTA_ProfileCreateRS TimeStamp="2013-03-04T14:11:22.897Z" Version="6.11" CreateDateTime="2013-03-04T14:11:22.897Z">
				<ns2:ResponseMessage>
					<ns2:Success/>
				</ns2:ResponseMessage>
				<ns2:Filter FilterID="373910" FilterName="DEFAULT MR SMITH" DomainID="B4T0" ClientCode="TN" ClientContextCode="MYS"/>
			</ns2:Sabre_OTA_ProfileCreateRS>
		</ns3:FilterCreateRS>
	</ns3:Filter>
</ns3:ProfileFromReservationRS>