Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents
maxLevel3

OTA_ProfileMergeRQ Elements & Attributes

Element | @Attribute

Num

Description/Contents

Origin | Value

OTA_ProfileMergeRQ

1

Root element of the message.

 OTA_ProfileMergeRQ/UniqueID

1

Identifies the profile for which information is being merged from the profiles identified by the ObsoleteProfileID together with the owner of the profile or an id provided by the client.

OTA_ProfileMergeRQ/UniqueID/
@Instance

1

Used to identify the source of the identifier.

OTA_ProfileMergeRQ/UniqueID/

@ID

1

Profile ID number of profile to keep. A unique identifying value assigned by the creating system.

OTA_ProfileMergeRQ/UniqueID/

@ID_Context

1


Used to identify the source of the identifier.

OTA_ProfileMergeRQ/ObsoleteProfileID

1

The profile(s) to be merged into the profile represented by UniqueID. An identifier used to uniquely reference an object in a system.

OTA_ProfileMergeRQ/ObsoleteProfileID/

@Instance

1

Used to identify the source of the identifier.

OTA_ProfileMergeRQ/ObsoleteProfileID/

@ID

1

Profile ID number of the profile(s) to be merged.

OTA_ProfileMergeRQ/ObsoleteProfileID/

@ID_Context

1

Used to identify the source of the identifier

OTA_ProfileMergeRQ/Profile

0

OTA_ProfileMergeRQ/Profile/

@ProfileType

0

Refer to OpenTravel Code List Profile Type (PRT)

OTA_ProfileMergeRQ/Profile/Customer/PersonName/GivenName/

0..1

Given name, first name or names.

OTA_ProfileMergeRQ/Profile/Customer/PersonName/Surname/

0

Family name, last name.

OTA_ProfileMergeRQ/Profile/Customer/Telephone/

@PhoneTechType

0

Indicates type of technology associated with this telephone number, such as Voice, Data, Fax, Pager, Mobile. Refer to OpenTravel Code List Phone Technology Type (PTT)

OTA_ProfileMergeRQ/Profile/Customer/Telephone/

@PhoneUseType

0

Describes the type of telephone number, in the context of its general use (e.g. Home, Business). Refer to OpenTravel Code List Phone Use Type (PUT).

OTA_ProfileMergeRQ/Profile/Customer/Telephone/

@PhoneNumber

0

Telephone number assigned to a single location.

OTA_ProfileMergeRQ/Profile/Customer/Telephone/

@FormattedInd

0

Specifies if the associated data is formatted or not

OTA_ProfileMergeRQ/Profile/Customer/Email/

@ShareMarketInd

0

Permission for sharing data for marketing purposes. If the value is Yes, data will be share for marketing purposes.

OTA_ProfileMergeRQ/Profile/Customer/Email/

@DefaultInd

0

When true, indicates a default value should be used.

OTA_ProfileMergeRQ/Profile/Customer/Email/

0..n

Electronic email addresses, must required to support profile.

OTA_ProfileMergeRQ/Profile/Customer/Address/AddressLine/

0..4

Street Address

OTA_ProfileMergeRQ/Profile/Customer/Address/CityName/

0..1

City

OTA_ProfileMergeRQ/Profile/Customer/Address/PostalCode

0..1

Postal/Zip Code

OTA_ProfileMergeRQ/Profile/Customer/Address/StateProv/

@StateCode

0..1

State Code

OTA_ProfileMergeRQ/Profile/Customer/Address/CountryName/

@Code

0..1

Country Code

OTA_ProfileMergeRQ Sample

Code Block
<?xml version='1.0' encoding='UTF-8'?>
<n1:Envelope xmlns:n1="http://www.w3.org/2003/05/soap-envelope" xmlns:n3="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:n2="http://www.w3.org/2005/08/addressing" xmlns:n4="http://htng.org/PWSWG/2007/02/AsyncHeaders">
    <n1:Header>
        <n2:MessageID>{{MessageID}}</n2:MessageID>
        <n4:CorrelationID>2b36432943304e8d81ba5618d5df9e5a</n4:CorrelationID>
        <n2:Action>http://htng.org/PWSWG/2010/12/ProfileMerge_SubmitRequest</n2:Action>
        <n2:To>https://uat.windsurfercrs.com/pms/genhtngservice.aspx</n2:To>
        <n2:ReplyTo>
            <n2:Address>http://www.w3.org/2005/08/addressing/role/anonymous</n2:Address>
        </n2:ReplyTo>
        <n3:Security mustUnderstand="1">
            <n3:UsernameToken>
                <n3:Username>{{HeaderUserName}}</n3:Username>
                <n3:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">{{HeaderPassword}}</n3:Password>
            </n3:UsernameToken>
        </n3:Security>
        <n4:ReplyTo>
            <n2:Address>https://pmsendpoint/serviceEndpoint</n2:Address>
        </n4:ReplyTo>
    </n1:Header>
    <n1:Body>
        <OTA_ProfileMergeRQ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.opentravel.org/OTA/2003/05" EchoToken="{{EchoToken}}" TimeStamp="{{CurrentDateTime}}" Version="1.0">
            <UniqueID Instance="PMS" ID="123" ID_Context="PMS"/>
            <UniqueID Instance="MAVERICK" ID="455" ID_Context="MAVERICK"/>
            <ObsoleteProfileID Instance="PMS" ID="124" ID_Context="PMS"/>
            <ObsoleteProfileID Instance="MAVERICK" ID="456" ID_Context="MAVERICK"/>
            <Profile ProfileType="1">
                <Customer>
                    <PersonName>
                        <GivenName>Qiao</GivenName>
                        <Surname>Shen</Surname>
                    </PersonName>
                    <Telephone PhoneTechType="1" PhoneUseType="3" PhoneNumber="7777777" FormattedInd="false" />
                    <Email ShareMarketInd="No" DefaultInd="true">sqshenqiao@126.com</Email>
                    <Address>
                        <AddressLine>Address Line 1</AddressLine>
                        <CityName>Houston</CityName>
                        <PostalCode>77027</PostalCode>
                        <StateProv StateCode="TX" />
                        <CountryName Code="US" />
                    </Address>
                </Customer>
            </Profile>
        </OTA_ProfileMergeRQ>
    </n1:Body>
</n1:Envelope>