Create Trip Proposal

 

Create Trip Proposal Service is used to create new Trip Proposal document. Trip Proposal document may contain many Quotes and each Quote may contain many Options which can contain many Products.

API Information

Target Audience
All Sabre APIs Customers
Current Version
1.1.0
Authentication
Session Token
Service Action Code
TP_CreateRQ

Sample Request

<?xml version="1.0" encoding="UTF-8"?>
<tp:TP_CreateRQ xmlns:or="http://services.sabre.com/res/or/v1_13" xmlns:tp="http://services.sabre.com/tripproposal/v1_1" version="1.1.0">
	<tp:ReturnOptions retrieveDocument="true"/>
	<tp:TripProposal>
		<tp:Label>Trip for Mr. Kovalsky</tp:Label>
		<tp:TripType>Business</tp:TripType>
		<tp:Passenger passengerID="1" primary="true">
			<or:PersonName>
				<or:Prefix>MR</or:Prefix>
				<or:Given>John</or:Given>
				<or:Surname>Dow</or:Surname>
				<or:Type>ADT</or:Type>
			</or:PersonName>
			<or:Telephone>
				<or:PhoneNumber>1234567</or:PhoneNumber>
			</or:Telephone>
			<or:Email>john.doe@test.com</or:Email>
		</tp:Passenger>
		<tp:Quote quoteID="QUOTE1">
			<tp:Label>Less comfortable variant</tp:Label>
			<tp:Option optionID="TP1" status="PROPOSED" expirationDate="2017-12-17T09:30:00">
				<tp:Product id="P1">
            		<or:ProductDetails productCategory="AIR">
                        <or:ProductName type="AIR"/>
							<or:Air>
							   <or:DepartureAirport>DFW</or:DepartureAirport>
							   <or:ArrivalAirport>LAX</or:ArrivalAirport>
							   <or:MarketingAirlineCode>AA</or:MarketingAirlineCode>
							   <or:MarriageGrp>
									<or:Ind>1</or:Ind>
									<or:Group>1</or:Group>
									<or:Sequence>1</or:Sequence>
							   </or:MarriageGrp>
							   <or:DepartureDateTime>2017-10-17T09:30:00</or:DepartureDateTime>
							   <or:ArrivalDateTime>2017-10-17T10:30:00</or:ArrivalDateTime>
							   <or:FlightNumber>0123</or:FlightNumber>
							   <or:ClassOfService>Y</or:ClassOfService>
							   <or:ActionCode>NN</or:ActionCode>
							   <or:NumberInParty>1</or:NumberInParty>
							</or:Air>
                     </or:ProductDetails>
				</tp:Product>
				<tp:Product id="P2">
            		<or:ProductDetails productCategory="AIR">
                        <or:ProductName type="AIR"/>
							<or:Air>
							   <or:DepartureAirport>LAX</or:DepartureAirport>
							   <or:ArrivalAirport>DFW</or:ArrivalAirport>
							   <or:MarketingAirlineCode>AA</or:MarketingAirlineCode>
							   <or:MarriageGrp>
									<or:Ind>1</or:Ind>
									<or:Group>1</or:Group>
									<or:Sequence>2</or:Sequence>
							   </or:MarriageGrp>
							   <or:DepartureDateTime>2017-10-19T11:30:00</or:DepartureDateTime>
							   <or:ArrivalDateTime>2017-10-19T12:30:00</or:ArrivalDateTime>
							   <or:FlightNumber>0124</or:FlightNumber>
							   <or:ClassOfService>Y</or:ClassOfService>
							   <or:ActionCode>NN</or:ActionCode>
							   <or:NumberInParty>1</or:NumberInParty>
							</or:Air>
                     </or:ProductDetails>
				</tp:Product>
			</tp:Option>
		</tp:Quote>
	</tp:TripProposal>
</tp:TP_CreateRQ>

Sample Response

<?xml version="1.0" encoding="UTF-8"?>
<tp:TP_CreateRS proposalID="Q9NVTAETJR" version="1.1.0" xmlns:tp="http://services.sabre.com/tripproposal/v1_1" xmlns:or="http://services.sabre.com/res/or/v1_13">
	<stlp:ApplicationResults status="Complete" xmlns:stlp="http://services.sabre.com/STL_Payload/v02_02">
		<stlp:Success timeStamp="2017-08-24T03:25:27.753-05:00"/>
	</stlp:ApplicationResults>
	<tp:TripProposal proposalID="Q9NVTAETJR" proposalVersion="1">
		<tp:Label>Trip for Mr. Kovalsky</tp:Label>
		<tp:TripType>Business</tp:TripType>
		<tp:Passenger passengerID="1">
			<or:PersonName>
				<or:Prefix>MR</or:Prefix>
				<or:Given>John</or:Given>
				<or:Surname>Dow</or:Surname>
				<or:Type>ADT</or:Type>
			</or:PersonName>
			<or:Telephone>
				<or:PhoneNumber>1234567</or:PhoneNumber>
			</or:Telephone>
			<or:Email>john.doe@test.com</or:Email>
		</tp:Passenger>
		<tp:Quote quoteID="QUOTE1">
			<tp:Label>Less comfortable variant</tp:Label>
			<tp:Option expirationDate="2017-09-23T00:00:00.000" optionID="TP1" status="PROPOSED">
				<tp:Product id="P1">
					<or:ProductDetails productCategory="AIR">
						<or:ProductName type="AIR"/>
						<or:Air>
							<or:DepartureAirport>DFW</or:DepartureAirport>
							<or:ArrivalAirport>LAX</or:ArrivalAirport>
							<or:MarketingAirlineCode>AA</or:MarketingAirlineCode>
							<or:MarriageGrp>
								<or:Ind>1</or:Ind>
								<or:Group>1</or:Group>
								<or:Sequence>1</or:Sequence>
							</or:MarriageGrp>
							<or:DepartureDateTime>2017-10-17T09:30:00</or:DepartureDateTime>
							<or:ArrivalDateTime>2017-10-17T10:30:00</or:ArrivalDateTime>
							<or:FlightNumber>0123</or:FlightNumber>
							<or:ClassOfService>Y</or:ClassOfService>
							<or:ActionCode>NN</or:ActionCode>
							<or:NumberInParty>1</or:NumberInParty>
						</or:Air>
					</or:ProductDetails>
				</tp:Product>
				<tp:Product id="P2">
					<or:ProductDetails productCategory="AIR">
						<or:ProductName type="AIR"/>
						<or:Air>
							<or:DepartureAirport>LAX</or:DepartureAirport>
							<or:ArrivalAirport>DFW</or:ArrivalAirport>
							<or:MarketingAirlineCode>AA</or:MarketingAirlineCode>
							<or:MarriageGrp>
								<or:Ind>1</or:Ind>
								<or:Group>1</or:Group>
								<or:Sequence>2</or:Sequence>
							</or:MarriageGrp>
							<or:DepartureDateTime>2017-10-19T11:30:00</or:DepartureDateTime>
							<or:ArrivalDateTime>2017-10-19T12:30:00</or:ArrivalDateTime>
							<or:FlightNumber>0124</or:FlightNumber>
							<or:ClassOfService>Y</or:ClassOfService>
							<or:ActionCode>NN</or:ActionCode>
							<or:NumberInParty>1</or:NumberInParty>
						</or:Air>
					</or:ProductDetails>
				</tp:Product>
			</tp:Option>
		</tp:Quote>
		<tp:Metadata>
			<tp:SnapshotID>0d8b3418-58af-49fd-8326-887c053efe32</tp:SnapshotID>
			<tp:Ownership>
				<tp:Owner>
					<tp:UserID>218825</tp:UserID>
					<tp:CurrentCity>HDQ</tp:CurrentCity>
					<tp:PCC>AAS</tp:PCC>
					<tp:AaaArea>A</tp:AaaArea>
					<tp:AgentHomeCity>HDQ</tp:AgentHomeCity>
					<tp:AgentPrimeHost>1S</tp:AgentPrimeHost>
					<tp:AgentSign>MAE</tp:AgentSign>
					<tp:CurrentPartition>AA</tp:CurrentPartition>
					<tp:Lniata>1457602</tp:Lniata>
					<tp:DutyCode>-</tp:DutyCode>
					<tp:Domain>AA</tp:Domain>
					<tp:Date>2017-08-24T03:25:27.333</tp:Date>
				</tp:Owner>
				<tp:CreatedBy>
					<tp:UserID>218825</tp:UserID>
					<tp:CurrentCity>HDQ</tp:CurrentCity>
					<tp:PCC>AAS</tp:PCC>
					<tp:AaaArea>A</tp:AaaArea>
					<tp:AgentHomeCity>HDQ</tp:AgentHomeCity>
					<tp:AgentPrimeHost>1S</tp:AgentPrimeHost>
					<tp:AgentSign>MAE</tp:AgentSign>
					<tp:CurrentPartition>AA</tp:CurrentPartition>
					<tp:Lniata>1457602</tp:Lniata>
					<tp:DutyCode>-</tp:DutyCode>
					<tp:Domain>AA</tp:Domain>
					<tp:Date>2017-08-24T03:25:27.333</tp:Date>
				</tp:CreatedBy>
				<tp:UpdatedBy>
					<tp:UserID>218825</tp:UserID>
					<tp:CurrentCity>HDQ</tp:CurrentCity>
					<tp:PCC>AAS</tp:PCC>
					<tp:AaaArea>A</tp:AaaArea>
					<tp:AgentHomeCity>HDQ</tp:AgentHomeCity>
					<tp:AgentPrimeHost>1S</tp:AgentPrimeHost>
					<tp:AgentSign>MAE</tp:AgentSign>
					<tp:CurrentPartition>AA</tp:CurrentPartition>
					<tp:Lniata>1457602</tp:Lniata>
					<tp:DutyCode>-</tp:DutyCode>
					<tp:Domain>AA</tp:Domain>
					<tp:Date>2017-08-24T03:25:27.333</tp:Date>
				</tp:UpdatedBy>
			</tp:Ownership>
		</tp:Metadata>
	</tp:TripProposal>
</tp:TP_CreateRS>

If you are a Sabre customer currently using Sabre APIs in production, access  Resources

Docs Navigation