Versionen im Vergleich

Schlüssel

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

...

Codeblock
languagexml
linenumberstrue
collapsetrue
<OTA_ProfileMergeRQ xmlns="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">
					<px:HotelInfo FiscalDate="2017-10-03"/>
				</px:POSExtensions>
			</TPA_Extensions>
		</Source>
	</POS>
	<UniqueID Type="1" ID="434656" ID_Context="protelIO"/>
	<UniqueID Type="1" ID="124589" ID_Context="External"/>
	<ObsoleteProfileID Type="1" ID="20211217" ID_Context="External"/>
	<ObsoleteProfileID Type="1" ID="434660" ID_Context="protelIO"/>
	<Profile ShareAllOptOutInd="Yes" CreateDateTime="2019-05-17T10:32: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="true" Language="de" CustomerValue="ECA - 10%|0;VIP|2">
			<PersonName>
				<NamePrefix>Herr</NamePrefix>
				<GivenName>Test_Firstname</GivenName>
				<Surname>Inbound Test</Surname>
			</PersonName>
			<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="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>

Company profile

Codeblock
languagexml
collapsetrue
<OTA_ProfileMergeRQ xmlns="http://www.opentravel.org/OTA/2003/05" EchoToken="355b215e-5416-4751-842e-08fa77d57e3c" TimeStamp="2021-12-17T07:32:16Z" Version="4.000" CorrelationID="355b215e-5416-4751-842e-08fa77d57e3c">
	<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">
					<px:HotelInfo FiscalDate="2017-10-03"/>
				</px:POSExtensions>
			</TPA_Extensions>
		</Source>
	</POS>
	<UniqueID Type="4" ID="434658" ID_Context="protelIO"/>
	<UniqueID Type="4" ID="20211215" ID_Context="External"/>
	<ObsoleteProfileID Type="4" ID="20211216" ID_Context="External"/>
	<ObsoleteProfileID Type="4" ID="434659" ID_Context="protelIO"/>
	<Profile ShareAllOptOutInd="Yes" CreateDateTime="2019-05-17T10:41:00" CreatorID="protel 1" RPH="434658" LastModifyDateTime="2021-12-17T08:32:12" LastModifierID="protel 1" StatusCode="4" ProfileType="3">
		<Customer VIP_Indicator="true" CustomerValue="ECA - 10%|0;WOB-V1|2">
			<CitizenCountryName DefaultInd="true" Code="DE"/>
			<CustLoyalty ProgramID="" MembershipID="123456" RPH="14" PrimaryLoyaltyIndicator="false" AllianceLoyaltyLevelName="Test" Remark="" LoyalLevel="GOLD" SignupDate="2017-10-03" EffectiveDate="2017-10-03" ExpireDate="2017-10-03" ShareMarketInd="No" ShareSyncInd="No">
				<SubAccountBalance Balance="0"/>
			</CustLoyalty>
		</Customer>
		<UserID Type="4" ID="434658" ID_Context="protelIO"/>
		<PrefCollections>
			<PrefCollection>
				<HotelPref>
					<RoomAmenityPref RoomAmenity="58"/>
					<PhysChallFeaturePref PhysChallFeatureType="7"/>
				</HotelPref>
			</PrefCollection>
		</PrefCollections>
		<CompanyInfo>
			<CompanyName CompanyShortName="" Department="IO_Integration">InboundCompany</CompanyName>
			<AddressInfo FormattedInd="false" ShareMarketInd="No" DefaultInd="true" Type="2">
				<AddressLine>Company_Street 55</AddressLine>
				<CityName>Dortmund</CityName>
				<PostalCode>11345</PostalCode>
				<StateProv>NRW</StateProv>
				<CountryName Code="DE">Germany</CountryName>
			</AddressInfo>
			<AddressInfo DefaultInd="false" Type="1" UseType="6">
				<AddressLine>Private_test_Street 10</AddressLine>
				<CityName>Test</CityName>
				<PostalCode>12345</PostalCode>
				<StateProv>NRW</StateProv>
				<CountryName>DE</CountryName>
			</AddressInfo>
			<AddressInfo DefaultInd="false" Type="3" UseType="6">
				<AddressLine>Other_Street 10</AddressLine>
				<CityName>Test</CityName>
				<PostalCode>12345</PostalCode>
				<StateProv>NRW</StateProv>
				<CountryName>DE</CountryName>
			</AddressInfo>
			<AddressInfo DefaultInd="false" Type="2" UseType="6">
				<AddressLine>Company_Street 5_Acc</AddressLine>
				<CityName>Test</CityName>
				<PostalCode>23936</PostalCode>
				<StateProv>NRW</StateProv>
				<CountryName>DE</CountryName>
			</AddressInfo>
			<AddressInfo DefaultInd="false" Type="1" UseType="6">
				<AddressLine>Private_test_Street 10</AddressLine>
				<CityName>Test</CityName>
				<PostalCode>12345</PostalCode>
				<StateProv>NRW</StateProv>
				<CountryName>DE</CountryName>
			</AddressInfo>
			<AddressInfo DefaultInd="false" Type="3" UseType="6">
				<AddressLine>Other_Street 10</AddressLine>
				<CityName>Test</CityName>
				<PostalCode>12345</PostalCode>
				<StateProv>NRW</StateProv>
				<CountryName>DE</CountryName>
			</AddressInfo>
			<AddressInfo DefaultInd="false" Type="2" UseType="6">
				<AddressLine>Company_Street 5_Acc</AddressLine>
				<CityName>Test</CityName>
				<PostalCode>23936</PostalCode>
				<StateProv>NRW</StateProv>
				<CountryName>DE</CountryName>
			</AddressInfo>
			<TelephoneInfo Remark="2. Fax" ShareMarketInd="No" PhoneNumber="0231-52147932" PhoneLocationType="7" PhoneTechType="3" FormattedInd="false" DefaultInd="false"/>
			<TelephoneInfo Remark="2. Fax" ShareMarketInd="No" PhoneNumber="0231-52147932" PhoneLocationType="7" PhoneTechType="3" FormattedInd="false" DefaultInd="false"/>
			<TelephoneInfo Remark="2. Mobil" ShareMarketInd="No" PhoneNumber="0123-5478411" PhoneLocationType="7" PhoneTechType="1" FormattedInd="false" DefaultInd="false"/>
			<TelephoneInfo Remark="2. Mobil" ShareMarketInd="No" PhoneNumber="0123-5478411" PhoneLocationType="7" PhoneTechType="1" FormattedInd="false" DefaultInd="false"/>
			<TelephoneInfo ShareMarketInd="No" PhoneNumber="0231-12547" PhoneLocationType="7" PhoneTechType="1" FormattedInd="false" DefaultInd="true"/>
			<TelephoneInfo ShareMarketInd="No" PhoneNumber="0176-548741" PhoneLocationType="10" PhoneTechType="5" FormattedInd="false" DefaultInd="true"/>
			<TelephoneInfo ShareMarketInd="No" PhoneNumber="0231-98547" PhoneLocationType="7" PhoneTechType="3" FormattedInd="false" DefaultInd="true"/>
			<Email ShareMarketInd="No" DefaultInd="true" EmailType="1">company@email.com</Email>
			<Email ShareMarketInd="No" DefaultInd="false" EmailType="1">company2@email.com</Email>
			<Email ShareMarketInd="No" DefaultInd="false" EmailType="1">company2@email.com</Email>
			<ContactPerson Relation="Booker">
				<PersonName>
					<NamePrefix>Firma</NamePrefix>
					<GivenName>Test_Firstname</GivenName>
					<Surname>Test_Surname</Surname>
				</PersonName>
			</ContactPerson>
		</CompanyInfo>
		<Comments>
			<Comment Name="Customer_Comment">
				<Text TextFormat="PlainText">Notes Hotel Notes Hotel</Text>
			</Comment>
			<Comment Name="Restaurant_Comment">
				<Text TextFormat="PlainText">Notes Restaurant Notes Restaurant</Text>
			</Comment>
		</Comments>
		<TPA_Extensions xmlns:px="http://protel.io/htng/extensions">
			<ProfileInfoExtensions>
				<Memberships>
					<Membership ID="123456" RPH="14" Type="1" CardholderName="InboundCompany " EnrollmentAt="" EnrollmentCode="" EnrollmentSource=""/>
				</Memberships>
				<PersonInfos>
					<VipCodes>
						<Code DefaultInd="true" DisplaySequence="0" ID="31" ID_Context="protelIO" Type="VIPCODE" Value="ECA - 10%"/>
						<Code DefaultInd="false" DisplaySequence="0" ID="16" ID_Context="protelIO" Type="VIPCODE" Value="WOB-V1"/>
					</VipCodes>
					<MarketingCodes>
						<Code DefaultInd="true" DisplaySequence="0" ID="1" ID_Context="protelIO" Type="MARKETINGCODE" Value="Pre-Sale"/>
					</MarketingCodes>
				</PersonInfos>
				<px:Traces>
					<px:Trace TraceBegin="2017-10-03T00:00:00" TraceDepartment="Housekeeping">2 Pillows</px:Trace>
					<px:Trace TraceBegin="2017-10-03T00:00:00" TraceDepartment="Housekeeping">2 Pillows</px:Trace>
				</px:Traces>
			</ProfileInfoExtensions>
		</TPA_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>  

...