Overview : 호스트에서 Group(그룹 PNR) 은 uApi 에서 바로 열리지 않는다. Import 작업을 해줘야 한다.
UniversalRecordImportReq
- Endpoint : https://apac.universal-api.pp.travelport.com/B2BGateway/connect/uAPI/UniversalRecordService
1 2 3 4 5 6 |
49HJHY/A1 SELOU 3Y0DA1 AG 9999999 19APR 1.G/15BXXINC 1. 7C 2203 F 25JUN ICNBKK PN15 2005 2359 SU ** SERVICE INFORMATION EXISTS ** >*SI |
1. UniversalRecordRetrieveRsp Error
Error : Retrieve of Group bookings is not allowed.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
<SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/"> <SOAP:Body> <SOAP:Fault> <faultcode>Server.Business</faultcode> <faultstring>Retrieve of Group bookings is not allowed.</faultstring> <detail> <common_v52_0:ErrorInfo xmlns:common_v52_0="http://www.travelport.com/schema/common_v52_0"> <common_v52_0:Code>6716</common_v52_0:Code> <common_v52_0:Service>PNRSVC</common_v52_0:Service> <common_v52_0:Type>Business</common_v52_0:Type> <common_v52_0:Description>Retrieve of Group bookings is not allowed.</common_v52_0:Description> <common_v52_0:TransactionId>96FC95D90A0EE02B685BEBA0681E1F16</common_v52_0:TransactionId> <common_v52_0:TraceId>trace</common_v52_0:TraceId> </common_v52_0:ErrorInfo> </detail> </SOAP:Fault> </SOAP:Body> </SOAP:Envelope> |
2. Activation 요청
- UniversalRecordImport 해당 기능에 대해 Travelport Account Manager 를 통해 사전 Activation 요청 필수
3. UniversalRecordImportReq
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:univ="http://www.travelport.com/schema/universal_v52_0" xmlns:com="http://www.travelport.com/schema/common_v52_0"> <soapenv:Header> <univ:SupportedVersions/> </soapenv:Header> <soapenv:Body> <univ:UniversalRecordImportReq TraceId="trace" AuthorizedBy="user" RetrieveProviderReservationDetails="false" TargetBranch="P******" ProviderCode="1G" ProviderLocatorCode="49HJHY"> <com:BillingPointOfSaleInfo OriginApplication="UAPI"/> </univ:UniversalRecordImportReq > </soapenv:Body> </soapenv:Envelope> |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 |
<SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/"> <SOAP:Body> <universal:UniversalRecordImportRsp TraceId="trace" TransactionId="97286C5F0A0E7DE16E706B1E8D68F1B9" ResponseTime="365" xmlns:universal="http://www.travelport.com/schema/universal_v52_0" xmlns:common_v52_0="http://www.travelport.com/schema/common_v52_0" xmlns:air="http://www.travelport.com/schema/air_v52_0"> <common_v52_0:ResponseMessage Code="0" Type="Warning" ProviderCode="1G">NO FARES</common_v52_0:ResponseMessage> <universal:UniversalRecord LocatorCode="MPJ63S" Version="0" Status="Active"> <common_v52_0:Group Key="cBaGXeh3nDKAc89lBAAAAA==" GroupSize="15" ElStat="A"> <common_v52_0:Name>BXXINC</common_v52_0:Name> </common_v52_0:Group> <common_v52_0:ActionStatus Key="cBaGXeh3nDKAu59lBAAAAA==" Type="ACTIVE" ProviderReservationInfoRef="cBaGXeh3nDKAgi5lBAAAAA==" ProviderCode="1G" ElStat="A"/> <universal:ProviderReservationInfo Key="cBaGXeh3nDKAgi5lBAAAAA==" ProviderCode="1G" LocatorCode="49HJHY" CreateDate="2023-04-19T01:37:01.836+00:00" ModifiedDate="2023-04-19T01:37:01.836+00:00" HostCreateDate="2023-04-19" Imported="true" OwningPCC="3Y0D" GroupRef="cBaGXeh3nDKAc89lBAAAAA=="/> <air:AirReservation LocatorCode="MPJ68N" CreateDate="2023-04-19T01:37:01.651+00:00" ModifiedDate="2023-04-19T01:37:01.836+00:00"> <common_v52_0:ProviderReservationInfoRef Key="cBaGXeh3nDKAgi5lBAAAAA=="/> <air:AirSegment Key="cBaGXeh3nDKAa89lBAAAAA==" Group="0" Carrier="7C" CabinClass="Economy" FlightNumber="2203" ProviderCode="1G" Origin="ICN" Destination="BKK" DepartureTime="2023-06-25T20:05:00.000+09:00" ArrivalTime="2023-06-25T23:59:00.000+07:00" TravelTime="354" ClassOfService="F" ETicketability="No" Equipment="738" Status="PN" ChangeOfPlane="false" GuaranteedPaymentCarrier="No" ProviderReservationInfoRef="cBaGXeh3nDKAgi5lBAAAAA==" TravelOrder="1" ProviderSegmentOrder="1" OptionalServicesIndicator="false" ElStat="A"> <air:FlightDetails Key="cBaGXeh3nDKAb89lBAAAAA==" Origin="ICN" Destination="BKK" DepartureTime="2023-06-25T20:05:00.000+09:00" ArrivalTime="2023-06-25T23:59:00.000+07:00" FlightTime="354" TravelTime="354" Equipment="738" OriginTerminal="1" AutomatedCheckin="false" ElStat="A"/> </air:AirSegment> </air:AirReservation> <common_v52_0:AgencyInfo> <common_v52_0:AgentAction ActionType="Created" AgentCode="uAPI3741012928-6cd2394a" BranchCode="P3995047" AgencyCode="S3995040" EventTime="2023-04-19T01:37:01.555+00:00"/> </common_v52_0:AgencyInfo> <common_v52_0:AgencyContactInfo> <common_v52_0:PhoneNumber Key="cBaGXeh3nDKAw59lBAAAAA==" Type="Agency" Location="SEL" Number="027780119" ElStat="A"> <common_v52_0:ProviderReservationInfoRef Key="cBaGXeh3nDKAgi5lBAAAAA=="/> </common_v52_0:PhoneNumber> </common_v52_0:AgencyContactInfo> <common_v52_0:SSR Key="cBaGXeh3nDKAf89lBAAAAA==" Type="GRPF" FreeText="10" Carrier="GV" ProviderReservationInfoRef="cBaGXeh3nDKAgi5lBAAAAA==" ElStat="A"/> </universal:UniversalRecord> </universal:UniversalRecordImportRsp> </SOAP:Body> </SOAP:Envelope> |
4. 확인
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:univ="http://www.travelport.com/schema/universal_v52_0" xmlns:com="http://www.travelport.com/schema/common_v52_0"> <soapenv:Header/> <soapenv:Body> <univ:UniversalRecordRetrieveReq TraceId="trace" AuthorizedBy="user" RetrieveProviderReservationDetails="false" TargetBranch="P*******"> <com:BillingPointOfSaleInfo OriginApplication="UAPI"/> <univ:ProviderReservationInfo ProviderCode="1G" ProviderLocatorCode="49HJHY"/> </univ:UniversalRecordRetrieveReq> </soapenv:Body> </soapenv:Envelope> |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 |
<SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/"> <SOAP:Body> <universal:UniversalRecordRetrieveRsp TraceId="trace" TransactionId="97365D6A0A0EE01350930F2730647736" ResponseTime="174" xmlns:universal="http://www.travelport.com/schema/universal_v52_0" xmlns:common_v52_0="http://www.travelport.com/schema/common_v52_0" xmlns:air="http://www.travelport.com/schema/air_v52_0"> <universal:UniversalRecord LocatorCode="MPJ63S" Version="0" Status="Active"> <common_v52_0:Group Key="cBaGXeh3nDKAc89lBAAAAA==" GroupSize="15"> <common_v52_0:Name>BXXINC</common_v52_0:Name> </common_v52_0:Group> <common_v52_0:ActionStatus Key="cBaGXeh3nDKAu59lBAAAAA==" Type="ACTIVE" ProviderReservationInfoRef="cBaGXeh3nDKAgi5lBAAAAA==" ProviderCode="1G"/> <universal:ProviderReservationInfo Key="cBaGXeh3nDKAgi5lBAAAAA==" ProviderCode="1G" LocatorCode="49HJHY" CreateDate="2023-04-19T01:37:01.836+00:00" ModifiedDate="2023-04-19T01:52:15.303+00:00" HostCreateDate="2023-04-19" Imported="true" OwningPCC="3Y0D" GroupRef="cBaGXeh3nDKAc89lBAAAAA=="/> <air:AirReservation LocatorCode="MPJ68N" CreateDate="2023-04-19T01:37:01.651+00:00" ModifiedDate="2023-04-19T01:37:01.836+00:00"> <common_v52_0:ProviderReservationInfoRef Key="cBaGXeh3nDKAgi5lBAAAAA=="/> <air:AirSegment Key="cBaGXeh3nDKAa89lBAAAAA==" Group="0" Carrier="7C" CabinClass="Economy" FlightNumber="2203" ProviderCode="1G" Origin="ICN" Destination="BKK" DepartureTime="2023-06-25T20:05:00.000+09:00" ArrivalTime="2023-06-25T23:59:00.000+07:00" TravelTime="354" ClassOfService="F" ETicketability="No" Equipment="738" Status="PN" ChangeOfPlane="false" GuaranteedPaymentCarrier="No" ProviderReservationInfoRef="cBaGXeh3nDKAgi5lBAAAAA==" TravelOrder="1" ProviderSegmentOrder="1" OptionalServicesIndicator="false"> <air:FlightDetails Key="cBaGXeh3nDKAb89lBAAAAA==" Origin="ICN" Destination="BKK" DepartureTime="2023-06-25T20:05:00.000+09:00" ArrivalTime="2023-06-25T23:59:00.000+07:00" FlightTime="354" TravelTime="354" Equipment="738" OriginTerminal="1" AutomatedCheckin="false"/> </air:AirSegment> </air:AirReservation> <common_v52_0:AgencyInfo> <common_v52_0:AgentAction ActionType="Created" AgentCode="uAPI3741012928-6cd2394a" BranchCode="P3995047" AgencyCode="S3995040" EventTime="2023-04-19T01:37:01.555+00:00"/> </common_v52_0:AgencyInfo> <common_v52_0:AgencyContactInfo> <common_v52_0:PhoneNumber Key="cBaGXeh3nDKAw59lBAAAAA==" Type="Agency" Location="SEL" Number="027780119"> <common_v52_0:ProviderReservationInfoRef Key="cBaGXeh3nDKAgi5lBAAAAA=="/> </common_v52_0:PhoneNumber> </common_v52_0:AgencyContactInfo> <common_v52_0:SSR Key="cBaGXeh3nDKAf89lBAAAAA==" Type="GRPF" FreeText="10" Carrier="GV" ProviderReservationInfoRef="cBaGXeh3nDKAgi5lBAAAAA=="/> </universal:UniversalRecord> </universal:UniversalRecordRetrieveRsp> </SOAP:Body> </SOAP:Envelope> |
비고) UniversalRecordImportReq 스키마
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 |
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:univ="http://www.travelport.com/schema/universal_v50_0" xmlns:com="http://www.travelport.com/schema/common_v50_0"> <soapenv:Header> <univ:SupportedVersions urVersion="?" airVersion="?" hotelVersion="?" vehicleVersion="?" passiveVersion="?" railVersion="?" cruiseVersion="?"/> </soapenv:Header> <soapenv:Body> <univ:UniversalRecordImportReq TraceId="?" TokenId="?" AuthorizedBy="?" TargetBranch="?" OverrideLogging="?" LanguageCode="?" RetrieveProviderReservationDetails="false" ProviderCode="?" ProviderLocatorCode="?" UniversalRecordLocatorCode="?" ReturnUnmaskedData="?"> <com:BillingPointOfSaleInfo OriginApplication="?" CIDBNumber="?"/> <!--0 to 999 repetitions:--> <com:AgentIDOverride SupplierCode="?" ProviderCode="?" AgentID="?"/> <!--Optional:--> <com:TerminalSessionInfo>?</com:TerminalSessionInfo> <!--Optional:--> <com:OverridePCC ProviderCode="?" PseudoCityCode="?"/> <!--Optional:--> <com:FileFinishingInfo> <!--Optional:--> <com:ShopInformation CabinShopped="?" CabinSelected="?" LowestFareOffered="?"> <!--0 to 999 repetitions:--> <com:SearchRequest Origin="?" Destination="?" DepartureTime="?" ClassOfService="?"/> <!--0 to 999 repetitions:--> <com:FlightsOffered Origin="?" Destination="?" DepartureTime="?" TravelOrder="?" Carrier="?" FlightNumber="?" ClassOfService="?" StopOver="false" Connection="false"/> </com:ShopInformation> <!--0 to 999 repetitions:--> <com:PolicyInformation Type="?" Name="?" OutOfPolicy="?" SegmentRef="?"> <!--Optional:--> <com:ReasonCode> <!--Optional:--> <com:OutOfPolicy>?</com:OutOfPolicy> <!--Optional:--> <com:PurposeOfTrip>?</com:PurposeOfTrip> <!--Optional:--> <com:Remark Key="?">?</com:Remark> </com:ReasonCode> </com:PolicyInformation> <!--Optional:--> <com:AccountInformation AccountName="?"> <!--Optional:--> <com:Address Key="?" ElStat="?" KeyOverride="?"> <!--Optional:--> <com:AddressName>?</com:AddressName> <!--0 to 5 repetitions:--> <com:Street>?</com:Street> <!--Optional:--> <com:City>?</com:City> <!--Optional:--> <com:State>?</com:State> <!--Optional:--> <com:PostalCode>?</com:PostalCode> <!--Optional:--> <com:Country>?</com:Country> <!--0 to 99 repetitions:--> <com:ProviderReservationInfoRef Key="?"/> </com:Address> <!--0 to 999 repetitions:--> <com:PhoneNumber Key="?" Type="?" Location="?" CountryCode="?" AreaCode="?" Number="?" Extension="?" Text="?" ElStat="?" KeyOverride="?"> <!--0 to 999 repetitions:--> <com:ProviderReservationInfoRef Key="?"/> </com:PhoneNumber> </com:AccountInformation> <!--Optional:--> <com:AgencyInformation> <!--Optional:--> <com:Address Key="?" ElStat="?" KeyOverride="?"> <!--Optional:--> <com:AddressName>?</com:AddressName> <!--0 to 5 repetitions:--> <com:Street>?</com:Street> <!--Optional:--> <com:City>?</com:City> <!--Optional:--> <com:State>?</com:State> <!--Optional:--> <com:PostalCode>?</com:PostalCode> <!--Optional:--> <com:Country>?</com:Country> <!--0 to 99 repetitions:--> <com:ProviderReservationInfoRef Key="?"/> </com:Address> <!--0 to 999 repetitions:--> <com:Email Key="?" Type="?" Comment="?" EmailID="?" ElStat="?" KeyOverride="?"> <!--0 to 999 repetitions:--> <com:ProviderReservationInfoRef Key="?"/> </com:Email> <!--0 to 999 repetitions:--> <com:PhoneNumber Key="?" Type="?" Location="?" CountryCode="?" AreaCode="?" Number="?" Extension="?" Text="?" ElStat="?" KeyOverride="?"> <!--0 to 999 repetitions:--> <com:ProviderReservationInfoRef Key="?"/> </com:PhoneNumber> </com:AgencyInformation> <!--0 to 999 repetitions:--> <com:TravelerInformation HomeAirport="?" VisaExpirationDate="?" BookingTravelerRef="?"> <!--Optional:--> <com:EmergencyContact Name="?" Relationship="?"> <!--Optional:--> <com:PhoneNumber Key="?" Type="?" Location="?" CountryCode="?" AreaCode="?" Number="?" Extension="?" Text="?" ElStat="?" KeyOverride="?"> <!--0 to 999 repetitions:--> <com:ProviderReservationInfoRef Key="?"/> </com:PhoneNumber> </com:EmergencyContact> </com:TravelerInformation> <!--Optional:--> <com:CustomProfileInformation/> </com:FileFinishingInfo> </univ:UniversalRecordImportReq> </soapenv:Body> </soapenv:Envelope> |