Versionen im Vergleich

Schlüssel

  • Diese Zeile wurde hinzugefügt.
  • Diese Zeile wurde entfernt.
  • Formatierung wurde geändert.

Inhalt

Request Messages

Private profile

Codeblock
languagexml
linenumberstrue
collapsetrue
      <OTA_ProfileMergeRQ xmlns="http://www.opentravel.org/OTA/2003/05" xmlns:p="http://www.opentravel.org/OTA/2003/05"" EchoToken="67fe4dc2-da9c-4010-8668-8430292847ee" TimeStamp="2021-12-17T07:29:36Z" Version="4.000" CorrelationID="67fe4dc2-da9c-4010-8668-8430292847ee">
	<POS>
		<Source>
			<RequestorID Type="10" ID="3151" ID_Context="protelIO"/>
			<BookingChannel Type="4" Primary="true"/>
			<TPA_Extensions>
				<px:POSExtensions xmlns:px="http://protel.io/htng/extensions">
					<POS><px:HotelInfo FiscalDate="2017-10-03"/>
				<Source></px:POSExtensions>
			</TPA_Extensions>
		</Source>
	</POS>
	<RequestorID<UniqueID Type="101" ID="3009434656" ID_Context="protelIO"/>
				</Source>
			</POS>
		<UniqueID Type="1" ID="124589" ID_Context="External"/>
	<ObsoleteProfileID Type="41" ID="31531120211217" ID_Context="protelIOExternal"/>
			<UniqueID<ObsoleteProfileID Type="41" ID="351536434660" ID_Context="protelIO"/>
			<Profile ProfileTypeShareAllOptOutInd="4Yes" LastModifyDateTimeCreateDateTime="2019-1005-23T1317T10:11:17" CreateDateTime="2019-10-23T13:45:0032:00" CreatorID="protel 1" RPH="434656" LastModifyDateTime="2021-12-17T08:29:27" LastModifierID="protel 1" StatusCode="4" ProfileType="1">
				<Customer Gender="Male" BirthDate="2020-12-12" VIP_Indicator="Unknowntrue" Language="en"de" CustomerValue="ECA - 10%|0;VIP|2">
					<PersonName>
				<NamePrefix>Herr</NamePrefix>
				<NamePrefix>Yoo<<GivenName>Test_Firstname</NamePrefix>GivenName>
				<Surname>Inbound Test</Surname>
			<GivenName><</GivenName>PersonName>
						<Surname>Abdat</Surname>
						<NameTitle/>
					</PersonName>					
					<Email DefaultInd="true" EmailType="1" Remark="EMAIL"></Email>					
				</Customer>								
				<CompanyInfo>
					<CompanyName<Telephone Remark="2. phone" ShareMarketInd="No" PhoneNumber="0231-415874" PhoneLocationType="6" PhoneTechType="1" FormattedInd="false" DefaultInd="false"/>
			<Telephone Remark="2. mobile" ShareMarketInd="No" PhoneNumber="0176-123456" PhoneLocationType="6" PhoneTechType="1" FormattedInd="false" DefaultInd="false"/>
			<Telephone Remark="2. phone" ShareMarketInd="No" PhoneNumber="0231-415874" PhoneLocationType="6" PhoneTechType="1" FormattedInd="false" DefaultInd="false"/>
			<Telephone Remark="2. mobile" ShareMarketInd="No" PhoneNumber="0176-123456" PhoneLocationType="6" PhoneTechType="1" FormattedInd="false" DefaultInd="false"/>
			<Telephone ShareMarketInd="No" PhoneNumber="0231-123456" PhoneLocationType="6" PhoneTechType="1" FormattedInd="false" DefaultInd="true"/>
			<Telephone ShareMarketInd="No" PhoneNumber="0176-258741" PhoneLocationType="10" PhoneTechType="5" FormattedInd="false" DefaultInd="true"/>
			<Telephone ShareMarketInd="No" PhoneNumber="0231-159874" PhoneLocationType="6" PhoneTechType="3" FormattedInd="false" DefaultInd="true"/>
			<Email ShareMarketInd="No" DefaultInd="false" EmailType="1" Remark="">test2@email.com</Email>
			<Email ShareMarketInd="No" DefaultInd="false" EmailType="1" Remark="">test2@email.com</Email>
			<Email ShareMarketInd="No" DefaultInd="true" EmailType="1">Test@email.com</Email>
			<Address FormattedInd="false" ShareMarketInd="No" DefaultInd="true" Type="1" UseType="6">
				<AddressLine>TestStraße 5</AddressLine>
				<AddressLine>Test Straße 2</AddressLine>
				<CityName>Testorf-Steinfort</CityName>
				<PostalCode>12345</PostalCode>
				<StateProv>NRW</StateProv>
				<CountryName Code="DE">Germany</CountryName>
			</Address>
			<Address DefaultInd="false" Type="2" UseType="6">
				<AddressLine>Test_accounting</AddressLine>
				<CityName>Test</CityName>
				<PostalCode>12345</PostalCode>
				<StateProv>NRW</StateProv>
				<CountryName>DE</CountryName>
			</Address>
			<Address DefaultInd="false" Type="3" UseType="6">
				<AddressLine>Test_other</AddressLine>
				<CityName>Test</CityName>
				<PostalCode>12345</PostalCode>
				<StateProv>NRW</StateProv>
				<CountryName>DE</CountryName>
			</Address>
			<Address DefaultInd="false" Type="1" UseType="6">
				<AddressLine>Test_private</AddressLine>
				<CityName>Test</CityName>
				<PostalCode>12345</PostalCode>
				<StateProv>NRW</StateProv>
				<CountryName>DE</CountryName>
			</Address>
			<Address DefaultInd="false" Type="2" UseType="6">
				<AddressLine>Test_accounting</AddressLine>
				<CityName>Test</CityName>
				<PostalCode>12345</PostalCode>
				<StateProv>NRW</StateProv>
				<CountryName/>
			</Address>
			<Address DefaultInd="false" Type="3" UseType="6">
				<AddressLine>Test_other</AddressLine>
				<CityName>Test</CityName>
				<PostalCode>12345</PostalCode>
				<StateProv>NRW</StateProv>
				<CountryName/>
			</Address>
			<Address DefaultInd="false" Type="1" UseType="6">
				<AddressLine>Test_private</AddressLine>
				<CityName>Test</CityName>
				<PostalCode>12345</PostalCode>
				<StateProv>NRW</StateProv>
				<CountryName/>
			</Address>
			<CitizenCountryName DefaultInd="true" Code="DE"/>
			<Document DocIssueLocation="Dortmund_22" DocID="123456" DocType="4" EffectiveDate="2018-12-12" ExpireDate="2050-12-31"/>
			<CustLoyalty ProgramID="Pro--154785" MembershipID="Mem-123456" RPH="11" PrimaryLoyaltyIndicator="false" AllianceLoyaltyLevelName="Test" Remark="Test_Remarks" LoyalLevel="GOLD" SignupDate="2017-09-01" EffectiveDate="2017-09-01" ExpireDate="2017-09-01" ShareMarketInd="No" ShareSyncInd="No">
				<SubAccountBalance Type="Points" Balance="200"/>
			</CustLoyalty>
			<CustLoyalty ProgramID="" MembershipID="inv-5478" RPH="12" PrimaryLoyaltyIndicator="false" AllianceLoyaltyLevelName="Test" Remark="" SignupDate="2017-09-01" EffectiveDate="2017-09-01" ExpireDate="2017-09-01" ShareMarketInd="No" ShareSyncInd="No">
				<SubAccountBalance Balance="0"/>
			</CustLoyalty>
			<EmployerInfo CompanyShortName="" Department="">protel</CompanyName>
				</CompanyInfo>
			</Profile>
		</OTA_ProfileMergeRQ>Integration">protel Hotelsoftware GmbH</EmployerInfo>
			<px:TPA_Extensions xmlns:px="http://protel.io/htng/extensions">
				<px:ProfileInfoExtensions>
					<px:Memberships>
						<px:Membership ID="Mem-123456" RPH="11" Type="1" CardholderName="Test_Surname, Test_Firstname" EnrollmentAt="Test" EnrollmentCode="Test" EnrollmentSource="Test"/>
						<px:Membership ID="inv-5478" RPH="12" Type="1" CardholderName="Test_Surname Test_Firstname" EnrollmentAt="Test" EnrollmentCode="Test" EnrollmentSource="Test"/>
					</px:Memberships>
					<px:PersonInfos>
						<px:VipCodes>
							<px:Code DefaultInd="true" DisplaySequence="0" ID="31" ID_Context="protelIO" Type="VIPCODE" Value="ECA - 10%"/>
							<px:Code DefaultInd="false" DisplaySequence="0" ID="1" ID_Context="protelIO" Type="VIPCODE" Value="VIP"/>
						</px:VipCodes>
						<px:MarketingCodes>
							<px:Code DefaultInd="true" DisplaySequence="0" ID="1" ID_Context="protelIO" Type="MARKETINGCODE" Value="Pre-Sale"/>
						</px:MarketingCodes>
						<px:Registration LicensePlate="DO-IO-1234"/>
					</px:PersonInfos>
					<px:Traces>
						<px:Trace TraceBegin="2017-09-01T00:00:00" TraceDepartment="Direction">Test-Trace</px:Trace>
					</px:Traces>
				</px:ProfileInfoExtensions>
			</px:TPA_Extensions>
		</Customer>
		<UserID Type="1" ID="434656" ID_Context="protelIO"/>
		<PrefCollections>
			<PrefCollection>
				<HotelPref>
					<RoomAmenityPref RoomAmenity="58"/>
					<PhysChallFeaturePref PhysChallFeatureType="7"/>
				</HotelPref>
			</PrefCollection>
		</PrefCollections>
		<Comments>
			<Comment Name="Customer_Comment">
				<Text TextFormat="PlainText">All Hotels Comments All Hotels Comments</Text>
			</Comment>
			<Comment Name="Restaurant_Comment">
				<Text TextFormat="PlainText">Restaurant Comment Restaurant Comment</Text>
			</Comment>
		</Comments>
		<TPA_Extensions xmlns:px="http://protel.io/htng/extensions"/>
	</Profile>
</OTA_ProfileMergeRQ>

Response message

Success

Codeblock
languagexml
linenumberstrue
collapsetrue
<?xml version='1.0' encoding='utf-8'?>
<OTA_ProfileMergeRS
            xmlns="http://www.opentravel.org/OTA/2003/05"
            xmlns:ns2="http://htng.org/2014B"
            xmlns:ns3="http://protel.io/soap" CorrelationID="PROFILE#2100254#UPDATE#000103#1562139357125#4E2C" EchoToken="PROFILE#2100254#UPDATE#000103#1562139357125#4E2C" TimeStamp="2019-04-4T03:00:39.663577" Version="4">
	<Success/>
</OTA_ProfileMergeRS>  

Success + Warning

Codeblock
languagexml
linenumberstrue
collapsetrue
<?xml version='1.0' encoding='utf-8'?>
<OTA_ProfileMergeRS
            xmlns="http://www.opentravel.org/OTA/2003/05"
            xmlns:ns2="http://htng.org/2014B"
            xmlns:ns3="http://protel.io/soap" CorrelationID="PROFILE#2100254#UPDATE#000103#1562221116991#53F8" EchoToken="PROFILE#2100254#UPDATE#000103#1562221116991#53F8" TimeStamp="2019-04-4T03:00:39.663577" Version="4">
	<Warnings>
		<Warning Code="320" ShortText="No Cancellation reference provided for Reservation 384725" Type="3"/>
		<Warning Code="320" ShortText="No Reservation record found for Reservation 384725 and will not be recorded" Type="3"/>
	</Warnings>
	<UniqueID ID="2920" ID_Context="protelIO" Type="10"/>
</OTA_ProfileMergeRS>

Error

Codeblock
languagexml
linenumberstrue
collapsetrue
<?xml version='1.0' encoding='utf-8'?>
<OTA_ProfileMergeRS
            xmlns="http://www.opentravel.org/OTA/2003/05"
            xmlns:ns2="http://htng.org/2014B"
            xmlns:ns3="http://protel.io/soap" CorrelationID="PROFILE#2100254#UPDATE#000103#1562162050211#FA17" EchoToken="PROFILE#2100254#UPDATE#000103#1562162050211#FA17" TimeStamp="2019-04-4T03:00:39.663577" Version="4">
	<Errors>
		<Error Code="450" ShortText="Unable to process" Type="3"/>
	</Errors>
	<UniqueID ID="9970" ID_Context="protelIO" Type="10"/>
</OTA_ProfileMergeRS>

...