Message Description
protel I/O uses a request and response message pair to generate a new profile record with a unique identifier in a Subscriber's system. Profile messages define the detailed business content of customer and company profiles. The profile message includes basic information about a customer or company, but as well as memberships and contact details. The profile also defines collections of preferences for specific types of hotel-related services. This message does not include supplier pricing information or relevant travel policies or requirements.
External System can use this message as well, to create new profiles in protel. The response message include the internal (protel) protel identification and external identification.
Sequence
1. Customer Profile Requester sends a Create request along with the initial profile data.
2. Customer Profile Responder creates a new record and assigns a unique identifier.
3. Customer Profile Responder responds with an appropriate response message which may include warnings from business processing rules or errors if the request did not succeed.
Note: after creating a profile, protel only generate a few and limited number of attributes and element in OTA_ProfileCreateRQ outbound, but after modifying the profiles and by calling the ProfileCreate API, all the elements and attributes will be displayed.
Message Attributes
OTA_ProfileCreateRQ
Element | @Attribute | Type | Num | Description | Comments + Contents Outbound | pAir | OnPrem | Comments + Contents Inbound | pAir | OnPrem |
---|---|---|---|---|---|---|---|---|---|
OTA_ProfileCreateRQ | 1 | Root element of the message. | |||||||
@EchoToken | StringLength1to128 | 0..1 | A reference for additional message identification, assigned by the requesting host system. When a request message includes an echo token the corresponding response message MUST include an echo token with an identical value. | ||||||
@CorrelationID | StringLength1to64 | 1 | Used to match result messages (*RS) to request messages (*RQ) in asynchronous communication patterns. Therefore mandatory. | ||||||
@TimeStamp | dateTime | 1 | Timestamp of the transaction. | "2019-06-05T09:12:14Z" | |||||
@Version | decimal | 0..1 | Version of the message. | ||||||
@PrimaryLangID | language | 0..1 | Default language of the property. | ||||||
OTA_ProfileCreateRQ | POS | 1 | Point of Sale (POS) identifies the party or connection channel making the request. | |||||||
OTA_ProfileCreateRQ | POS | Source | 1..10 | Provides information on the source of a request. | |||||||
OTA_ProfileCreateRQ | POS | Source | RequestorID | 0..1 | Identifies the system that is sending the request. | |||||||
@Type | OTA_CodeType UIT | 1 | A reference to the type of object defined by the UniqueID element. Refer to OpenTravel Code List Unique ID Type (UIT) | ||||||
@ID | StringLength1to32 | 1 | The ID will transfer the HotelID and needs to be agreed by the trading partners and remain the same throughout the messages. | ||||||
@ID_Context | StringLength1to32 | 1 | Used to identify where the ID comes from. | “protelIO” | |||||
OTA_ProfileCreateRQ | POS | Source | BookingChannel | 0..1 | Specifies the booking channel type and whether it is the primary means of connectivity of the source. | |||||||
@Primary | boolean | 0..1 | Indicates whether the enumerated booking channel is in the primary means of connectivity used by the source |
| |||||
@Type | OTA_CodeType BCT | 1 | Indicates the type of booking channel per the Open Travel BCT codes. | ||||||
OTA_ProfileCreateRQ | POS | Source | TPA_Extensions | 0..1 | Allows extensions to be added to the OpenTravel specification per trading partner agreement. | |||||||
OTA_ProfileCreateRQ | POS | Source | TPA_Extensions | px:POSExtensions | 0..1 | ||||||||
OTA_ProfileCreateRQ | POS | Source | TPA_Extensions | px:POSExtensions | px:HotelInfo | 0..1 | ||||||||
@FiscalDate | date | 0..1 | This attribute transfers the actual date of the PMS system. | yyyy-mm-dd OnPrem: by default not displayed, but if needed, it can be enabled | |||||
OTA_ProfileCreateRQ | UniqueID | 1..99 | Identifies the profile to be modified together with the owner of the profile or an ID provided by the client. | |||||||
@ID | StringLength1to32 | 1 | The ID will transfer the HotelID and needs to be agreed by the trading partners and remain the same throughout the messages. | ||||||
@ID_Context | StringLength1to32 | 1 | Used to identify where the ID comes from. | "protelIO" | |||||
@Type | OTA_CodeType UIT | 1 | A reference to the type of object defined by the UniqueID element. Refer to OpenTravel Code List Unique ID Type (UIT) | ||||||
OTA_ProfileCreateRQ | UniqueID | CompanyName | 0..1 | Identifies a company by name. | |||||||
@CompanyShortName | StringLength1to32 | 0..1 | Used to provide the company common name. | ||||||
@TravelSector | OTA_CodeType TVS | 0..1 | The travel sector the company is associated with, such as air, car and hotel. Refer to OpenTravel Code List Travel Sector (TVS). | ||||||
@Code | StringLength1to16 | 0..1 | Identifies a company by the company code. | ||||||
@CodeContext | StringLength1to32 | 0..1 | Identifies the context of the identifying code, such as DUNS, IATA or internal code, etc. |
| |||||
OTA_ProfileCreateRQ | Profile | 1 | Root element for profile content | |||||||
@ProfileType | OTA_CodeType PRT | 1 | Numeric reference to the type of profile such as guest, company, agent etc. Refer to the OTA Code Lists: Profile Type (PRT) | pAir: Customer, Company and Travel Agent (If Company or Travel Agent - data to be sent in the Company Info element) | |||||
@StatusCode | OTA_CodeType PST | 1 | Numeric reference to the status of a profile. Refer to the OTA Code Lists: Profile Status (PST). | Supported:
Not supported:
| |||||
@RPH | RPH_Type | 0..1 | This is a unique reference used as an index for this profile in a reservation. | ||||||
@ShareAllOptOutInd | YesNoType | 0..1 | When yes, a customer has explicitly opted out of marketing communication. This is used in combination with the ShareAllMarketInd and only one of these attributes should have a value of yes. If @ShareAllOptOutInd="Yes" then all 4 contact options (Letter, telephone, email, text message) in the optin field for marketing will be set to NO. If @ShareAllOptOutInd="No", then the Attribute @ShareMarketInd on each of the primary communication types (Address, Telephone, Email) will be checked and the flag will be set accordingly. |
| If @ShareAllOptOutInd="Yes" then all 4 contact options (Letter, telephone, email, text message) in the optin field for marketing will be set to NO. If @ShareAllOptOutInd="No", then the Attribute @ShareMarketInd on each of the primary communication types (Address, Telephone, Email) will be checked and the flag will be set accordingly. | ||||
@CreateDateTime | dateTime | 0..1 | Timestamp of the creation. | ||||||
@CreatorID | StringLength1to32 | 0..1 | Identifies the profile creator. The creator could be a software system identifier or an identifier of an employee responsible for the creation. | ||||||
@LastModifyDateTime | dateTime | 0..1 | Timestamp of last modification. | ||||||
@LastModifierID | StringLength1to32 | 0..1 | Identifies the last software system or person to modify a record. | ||||||
OTA_ProfileCreateRQ | Profile | Customer | 0..1 | Contains basic data on the customer’s identity, location, relationships, finances, memberships, etc. | |||||||
@VIP_Indicator | boolean | 0..1 | A boolean value used to flag a very important person.
|
| pAir: If VIP Indicator is True and Customer Value is known, please also include OTA_ProfileCreateRQ / Profile / TPA_Extensions / px:ProfileInfoExtensions / px:VipCodes in the message, for the VIP Codes to be considered on import. | ||||
@CustomerValue | StringLength1to64 | 0..1 | onPrem: A numeric and string reference (coalesced) representing a supplier’s customer ranking. This attribute relates directly to the primary and secondary VIP code assigned to a profile in the hotel property management system (PMS). pAir: A string reference representing the VIP Code of the guest. | pAir: If VIP Indicator is True and Customer Value is known, please also include OTA_ProfileCreateRQ / Profile / TPA_Extensions / px:ProfileInfoExtensions / px:VipCodes in the message, for the VIP Codes to be considered on import. | |||||
@BirthDate | date | 0..1 | The customer’s birthday information. | yyyy-mm-dd | We recommend sending the birthday date to avoid duplicates in the PMS. | ||||
@Language | language | 0..1 | The language code for which the name data is represented. While this value is optional, it is HIGHLY RECOMMENDED that it be used. | ||||||
@Gender | NMTOKEN | 0..1 | A string value representing a customer’s gender.
|
| |||||
OTA_ProfileCreateRQ | Profile | Customer | PersonName | 0..5 | Detailed name information for the customer. | |||||||
OTA_ProfileCreateRQ | Profile | Customer | PersonName | Surname | StringLength1to64 | 1 | Mandatory if a guest profile is passed. This path is used to transmit the Customer details. Details of the company or Travel agency use a different path. This field is used to pass the guest’s surname. | ||||||
OTA_ProfileCreateRQ | Profile | Customer | PersonName | NameTitle | StringLength1to64 | 0..1 | This field would be used to pass the guest’s Title. | ||||||
OTA_ProfileCreateRQ | Profile | Customer | PersonName | NamePrefix | StringLength1to16 | 0..3 | This field would be used to pass the guest’s NamePrefix (e.g. salutation). | ||||||
OTA_ProfileCreateRQ | Profile | Customer | PersonName | GivenName | StringLength1to64 | 0..5 | This field would be used to pass the guest’s GivenName. | ||||||
OTA_ProfileCreateRQ | Profile | Customer | PersonName | MiddleName | StringLength1to64 | 0..3 | The second given name of the person name. | ||||||
OTA_ProfileCreateRQ | Profile | Customer | PersonName | NameSuffix | StringLength1to64 | 0..1 | The second last name of the person name (Spanish properties only) | ||||||
OTA_ProfileCreateRQ | Profile | Customer | Telephone | 0..99 | Information on a telephone number for the customer. | pAir and on Prem: More than one entry can be passed. See @DefaultInd for considerations into which field they are imported. | ||||||
@PhoneTechType | OTA_CodeType PTT | 1 | A numeric value represents the type of technology associated with this telephone number. Refer to OTA Code List: Phone Technology Type (PTT). | ||||||
@PhoneNumber | StringLength1to32 | 1 | Contains the actual number as a string of max 32 characters and it is Mandatory. | ||||||
@PhoneLocationType | OTA_CodeType PLT | 0..1 | A numeric value represents the type of the phone. Refer to the OTA code lists: Phone Location Type (PLT) | ||||||
@FormattedInd | boolean | 0..1 | As country code and area code is not passed they appear in the PhoneNumber field. The entire number is passed in the PhoneNumber field and FormattedInd is set to NO to indicate that the PhoneNumber field contains the entire phone number without a specific format. |
| |||||
@ShareMarketInd | YesNoType | 0..1 | Permission for sharing data for marketing purposes. reference to @ShareAllOptOutInd (only possible in OnPrem) |
| onPrem: Only considered if Attribute @ShareAllOptOutIn="No" | ||||
@Remark | StringLength1to128 | 0..1 | A remark associated with the telephone number. onPrem: Only imported if the email address is shown under "more communication methods" in the guest profile. | onPrem: Only imported if the phone number is shown under "more communication methods" in the guest profile. | |||||
@DefaultInd | boolean | 0..1 | A boolean value is used to indicate whether the phone number is the primary for the profile. |
| pAir and on Prem: If more than one telephone number is imported and for one this attribute is set to "Yes", then this one will be added to the "Communication methods" - all further telephone numbers will be added to "more communication methods". If all passed telephone numbers have this attribute set to "Yes", then they will be added in order of sending - the first one to Communication methods and the remaining to "More communication methods". | ||||
OTA_ProfileCreateRQ | Profile | Customer | Email | 0..99 | This path is used to transmit the Customer details. Details of the company or Travel agency use a different path. This field would be used to pass the guest’s email address. | pAir and on Prem: More than one entry can be passed. See @DefaultInd for considerations into which field they are imported. | ||||||
@EmailType | OTA_CodeType EAT | 0..1 | A numeric value representing the type of email address. Refer to the OTA code lists: Email Address Type (EAT) | ||||||
@ShareMarketInd | YesNoType | 0..1 | Permission for sharing data for marketing purposes reference to @ShareAllOptOutInd (only possible in OnPrem) |
| onPrem:Only considered if Attribute @ShareAllOptOutIn="No" | ||||
@DefaultInd | boolean | 0..1 | A boolean value used to indicate whether the email address is the primary email address for the profile. onPrem: If more than one email address is imported and for one this attribute is set to "Yes", then this one will be added to the "Communication methods" - all further email addresses will be added to "more communication methods". If all passed email addresses have this attribute set to "Yes", then they will be added in order of sending - the first one to Communication methods and the remaining to "More communication methods". |
| onPrem: If more than one email address is imported and for one this attribute is set to "Yes", then this one will be added to the "Communication methods" - all further email addresses will be added to "more communication methods". If all passed email addresses have this attribute set to "Yes", then they will be added in order of sending - the first one to Communication methods and the remaining to "More communication methods". | ||||
@Remark | StringLength1to128 | 0..1 | A remark associated with the email address. OnPrem: Only imported if the email address is shown under "more communication methods" in the guest profile. | onPrem: Only imported if the email address is shown under "more communication methods" in the guest profile. | |||||
OTA_ProfileCreateRQ | Profile | Customer | URL | 0..5 | Information on a URL for the customer. | |||||||
@DefaultInd | boolean | 0..1 | A boolean value used to indicate whether the URL is the primary URL for the profile. |
| |||||
OTA_ProfileCreateRQ | Profile | Customer | Address | 0..99 | This path is used to transmit the Customer details. Details of the company or Travel agency use a different path. This field would be used to pass the guest’s mail address. | |||||||
@Type | OTA_CodeType CLT | 1 | A numeric reference to the type of address. Refer to the OTA code lists: Communication Location Type(CLT). | pAir:
| |||||
@FormattedInd | boolean | 0..1 | Specifies if the associated data is formatted or not. When true, then it is formatted; when false, then not formatted. |
| |||||
@DefaultInd | boolean | 0..1 | A boolean value is used to indicate whether the address is the primary for the profile. |
| First address sent is taken to fill the main address in PMS. | ||||
@ShareMarketInd | YesNoType | 0..1 | Permission for sharing data for marketing purposes. |
| |||||
@UseType | OTA_CodeType AUT | 0..1 | Describes the use of the address (e.g. mailing, delivery, billing, etc.). Refer to the OTA Code List: Address Use Type (AUT). | ||||||
OTA_ProfileCreateRQ | Profile | Customer | Address | AddressLine | StringLength1to255 | 0..5 | This path is used to transmit the Customer details. Details of the company or Travel agency use a different path. This field would be used to pass the guest’s address. More than one line can be sent. | pAir and on Prem: A maximum of three lines is allowed for this element. | |||||
OTA_ProfileCreateRQ | Profile | Customer | Address | CityName | StringLength1to64 | 0..1 | This path is used to transmit the Customer details. Details of the company or Travel agency use a different path. This field would be used to pass the guest’s city. City (e.g., Dublin), town or postal station (i.e., a postal service territory, often used in a military address). | ||||||
OTA_ProfileCreateRQ | Profile | Customer | Address | StateProv | 0..1 | This path is used to transmit the Customer details. Details of the company or Travel agency use a different path. This field would be used to pass the guest’sState or Province name (e.g., Texas). | pAir: Only for certain countries which have the states/counties coded in pAir. (Germany, Austria, Switzerland, USA) | ||||||
@StateCode | StateProvCodeType | 0..1 | |||||||
OTA_ProfileCreateRQ | Profile | Customer | Address | PostalCode | StringLength1to16 | 0..1 | This path is used to transmit the Customer details. Details of the company or Travel agency use a different path. This field would be used to pass the guest’s Postal / ZIP code. | ||||||
OTA_ProfileCreateRQ | Profile | Customer | Address | CountryName | 0..1 | This path is used to transmit the Customer details. Details of the company or Travel agency use a different path. This field would be used to pass the guest’sCountry name (e.g., Ireland). | |||||||
@Code | ISO3166 | 0..1 | A 2 character country code as defined in ISO 3166 alpha-2 | ||||||
OTA_ProfileCreateRQ | Profile | Customer | CitizenCountryName | 0..3 | Name of the (self-professed) country that is claimed for citizenship. | |||||||
@Code | ISO3166 | 0..1 | A 2 character country code as defined in ISO 3166 alpha-2 | ||||||
@DefaultInd | boolean | 0..1 | When true, indicates a default value should be used. |
| |||||
OTA_ProfileCreateRQ | Profile | Customer | Document | 0..99 | Detailed document information for the customer (e.g.; driver license, passport, visa). | |||||||
@DocIssueCountry | ISO3166 | 0..1 | Country where the document was issued. | ||||||
@ExpireDate | date | 0..1 | Indicates the ending date. | yyyy-mm-dd | |||||
@EffectiveDate | date | 0..1 | Indicates the starting date. | yyyy-mm-dd | |||||
@DocIssueLocation | StringLength1to64 | 0..1 | Indicates the location where the document was issued. | ||||||
@DocID | StringLength1to32 | 0..1 | Unique number assigned by authorities to document. | ||||||
@DocType | OTA_CodeType DOC | 0..1 | Indicates the type of document (e.g.; Passport, Driver’s License and national ID). | ||||||
OTA_ProfileCreateRQ | Profile | Customer | CustLoyalty | 0..25 | Optional. This path enables the user to pass specific IDs linked to the guest profile. | |||||||
@ProgramID | StringLength1to16 | 0..1 | The ProgramID attribute can be used to indicate the program that is being passed. For instance, we could use it to pass: Frequent Guest, Frequent Traveller and Company ID. | ||||||
@MembershipID | StringLength1to32 | 0..1 | The membershipID attribute will indicate the actual number. | ||||||
@RPH | RPH_Type | 0..1 | A reference placeholder for this loyalty membership. | The RPH attribute represents the internal reference number of the loyalty card in the PMS database. For the ProfileCreate message this attribute should be sent empty to the PMS. The RPH Attribute will be sent back to the partner system via the RS message. | |||||
@LoyalLevel | StringLength1to16 | 0..1 | Indicates special privileges in program assigned to individual. | ||||||
@EffectiveDate | date | 1 | Indicates the starting date of the program. | yyyy-mm-dd | |||||
@ExpireDate | date | 1 | Indicates the expiration date of the program. | yyyy-mm-dd | |||||
@SignupDate | date | 0..1 | Indicates the customer’s sign-up date. | yyyy-mm-dd | |||||
@AllianceLoyaltyLevelName | StringLength1to128 | 0..1 | Name of the program including level | ||||||
@PrimaryLoyaltyIndicator | boolean | 0..1 | When true, indicates this is the primary customer loyalty program and when false, indicates this is not the primary customer loyalty program. |
|
| ||||
@ShareMarketInd | YesNoType | 0..1 | Permission for sharing data for marketing purposes. If the value=Inherit, specifies data sharing permissions for marketing purposes. |
| |||||
@ShareSynchInd | NMTOKEN | 0..1 | Permission for sharing data for synchronisation of information held by other travel service providers. If the value = "Inherit," specifies data sharing permissions for synchronisation of information held by other travel service providers. |
| |||||
@Remark | StringLength1to128 | 0..1 | A remark associated with the customer’s loyalty program. onPrem: only in "more communication mehtods" | ||||||
@VendorCode | StringLength1to8 | 0..1 | Name of the program including level. | ||||||
OTA_ProfileCreateRQ | Profile | Customer | CustLoyalty | SubAccountBalance | 0..99 | Used to specify a sub-account and its point balance associated with this loyalty account. | |||||||
@Type | StringLength1to16 | 0..1 | Describes the type of sub account (e.g. miles, points, vouchers, stays). | ||||||
@Balance | integer | 0..1 | The current balance for this sub account. | ||||||
OTA_ProfileCreateRQ | Profile | Customer | EmployerInfo | 0..1 | This path contains information about the employer from the guest’s profile. It is used to pass the full name of the company if it is mentioned in the guest’s profile. | |||||||
@CompanyShortName | StringLength1to32 | 0..1 | Identifies the company’s short name if it is mentioned in the guest’s profile | ||||||
@Department | StringLength1to32 | 0..1 | Identifies the department the guest is working for if it is mentioned in the guest’s profile | ||||||
OTA_ProfileCreateRQ | Profile | Customer | TPA_Extensions | 0..n | Could be used to pass additional Profile data upon agreement between partners (specific Keys or codes, for instance). | |||||||
OTA_ProfileCreateRQ | Profile | Customer | TPA_Extensions | px:UserDefinedFieldExtensions | UserDefinedField | 0..1 | Profile User defined filed information. | |||||||
@Name | StringLength1to32 | 0..1 | UDF name value | ||||||
@Type | StringLength1to32 | 0..1 | UDF type | ||||||
OTA_ProfileCreateRQ | Profile | Customer | TPA_Extensions | px:ProfileInfoExtensions | 0..1 | A placeholder in the schema to allow for additional elements and attributes to be included per Trading Partner Agreement (TPA). | |||||||
OTA_ProfileCreateRQ | Profile | CompanyInfo | 0..1 | Detailed name information for the company. | |||||||
OTA_ProfileCreateRQ | Profile | CompanyInfo | CompanyName | 0..n | Complete name information for the company. | |||||||
@CompanyShortName | StringLength1to32 | 0..1 | Identifies the company’s short name. | ||||||
@Department | StringLength1to32 | 0..1 | The department name or ID with which the company contact is associated. | ||||||
OTA_ProfileCreateRQ | Profile | CompanyInfo | ContactPerson | 0..n | Information on a contact person for the customer. | |||||||
@Relation | StringLength1to32 | 0..1 | Indicates the type of relationship with the person or company in the profile |
| Inbound always the "Booker" will be inserted/modified | ||||
OTA_ProfileCreateRQ | Profile | CompanyInfo | ContactPerson | PersonName | 0..1 | Detailed name information for the customer. | |||||||
OTA_ProfileCreateRQ | Profile | CompanyInfo | ContactPerson | PersonName | NamePrefix | StringLength1to16 | 0..3 | The Salutation for the name. This SHOULD be a value representing an individual (Mr., Mrs., Dr.) and not Mr. and Mrs. | pAir: only german saluations are considered "Herr", "Frau" "Frau Dr.". | |||||
OTA_ProfileCreateRQ | Profile | CompanyInfo | ContactPerson | PersonName | GivenName | StringLength1to64 | 0..5 | Given name, first name or names. | ||||||
OTA_ProfileCreateRQ | Profile | CompanyInfo | ContactPerson | PersonName | Surname | StringLength1to64 | 1 | Family name | ||||||
OTA_ProfileCreateRQ | Profile | CompanyInfo | TelephoneInfo | 0..n | This element is used to pass the Company or Travel Agency’s phone and numbers. | |||||||
@PhoneTechType | OTA_CodeType PTT | 1 | A numeric value represents the type of technology associated with this telephone number. Refer to OTA Code List: Phone Technology Type (PTT). | ||||||
@PhoneNumber | StringLength1to32 | 1 | Contains the actual number as a string of max 32 characters and it is Mandatory. | ||||||
@PhoneLocationType | OTA_CodeType PLT | 0..1 | A numeric value represents the type of the phone. Refer to the OTA code lists: Phone Location Type (PLT) | ||||||
@FormattedInd | boolean | 0..1 | As country code and area code is not passed they appear in the PhoneNumber field. The entire number is passed in the PhoneNumber field and FormattedInd is set to NO to indicate that the PhoneNumber field contains the entire phone number without a specific format. |
| |||||
@ShareMarketInd | YesNoType | 0..1 | Permission for sharing data for marketing purposes. reference to @ShareAllOptOutInd (only possible in OnPrem) |
| |||||
@Remark | StringLength1to128 | 0..1 | A remark associated with the telephone number. onPrem: Only imported if the email address is shown under "more communication methods" in the guest profile. | ||||||
@DefaultInd | boolean | 0..1 | A boolean value is used to indicate whether the phone number is the primary for the profile. |
| onPrem: only in "more communication mehtods" | ||||
OTA_ProfileCreateRQ | Profile | CompanyInfo | Email | 0..n | This path is used to transmit the details for a Company or Travel agency profile. This element is used to pass the Company or Travel Agency’s email. The EmailType attribute is not needed here as it is clearly a business address. | |||||||
@EmailType | OTA_CodeType EAT | 0..1 | A numeric value representing the type of email address. Refer to the OTA code lists: Email Address Type (EAT) | ||||||
@ShareMarketInd | YesNoType | 0..1 | Permission for sharing data for marketing purposes reference to @ShareAllOptOutInd (only possible in OnPrem) |
| |||||
@DefaultInd | boolean | 0..1 | A boolean value is used to indicate whether the email address is the primary for the profile. |
| |||||
@Remark | StringLength1to128 | 0..1 | A remark associated with the email address. OnPrem: Only imported if the email address is shown under "more communication methods" in the guest profile. | ||||||
OTA_ProfileCreateRQ | Profile | CompanyInfo | URL | 0..n | Information on a URL for the Company or Travel Agency’s. | |||||||
@DefaultInd | boolean | 0..1 | A boolean value is used to indicate whether the URL is the primary for the profile. |
| |||||
OTA_ProfileCreateRQ | Profile | CompanyInfo | AddressInfo | 0..n | Detailed information on an address for the company. | |||||||
@Type | OTA_CodeType CLT | 1 | A numeric reference to the type of address. Refer to the OTA code lists: Communication Location Type(CLT). | pAir:
| |||||
@FormattedInd | boolean | 0..1 | Specifies if the associated data is formatted or not. When true, then it is formatted; when false, then not formatted. |
| |||||
@DefaultInd | boolean | 0..1 | A boolean value is used to indicate whether the address is the primary for the profile. |
| pAir: Recognises 1="Home" or 2="Business" onPrem: a maximum of two addresses are imported | ||||
@ShareMarketInd | YesNoType | 0..1 | Permission for sharing data for marketing purposes. |
| |||||
@UseType | OTA_CodeType AUT | 0..1 | Describes the use of the address (e.g. mailing, delivery, billing, etc.). Refer to the OTA Code List: Address Use Type (AUT). | ||||||
OTA_ProfileCreateRQ | Profile | CompanyInfo | AddressInfo | AddressLine | StringLength1to255 | 0..5 | This path is used to transmit the details for a Company or Travel agency profile. IT is mandatory if a company or travel agency profile is passed. Address line is repeatable up to 5 times. The Type attribute is not needed here as a business address is implied. | onPrem and pAir: Maximum 3 lines will be imported into PMS | |||||
OTA_ProfileCreateRQ | Profile | CompanyInfo | AddressInfo | CityName | StringLength1to64 | 0..1 | This element is used to pass the Company or Travel Agency’s City. | ||||||
OTA_ProfileCreateRQ | Profile | CompanyInfo | AddressInfo | StateProv | 0..1 | This element is used to pass the Company or Travel Agency’s State. | |||||||
@StateCode | StateProvCodeType | 0..1 | |||||||
OTA_ProfileCreateRQ | Profile | CompanyInfo | AddressInfo | PostalCode | StringLength1to16 | 0..1 | This element is used to pass the Company or Travel Agency’s postal or ZIP code. | ||||||
OTA_ProfileCreateRQ | Profile | CompanyInfo | AddressInfo | CountryName | StringLength1to16 | 0..1 | This element is used to pass the Company or Travel Agency’s Country. | ||||||
@Code | ISO-3166 | 0..1 | A 2 character country code as defined in ISO 3166 alpha-2 | ||||||
OTA_ProfileCreateRQ | Profile | TPA_Extensions | |||||||||
OTA_ProfileCreateRQ | Profile | TPA_Extensions | px:UserDefinedFieldExtensions | UserDefinedField | 0..1 | ||||||||
@Name | StringLength1to32 | 0..1 | UDF name value | ||||||
@Type | StringLength1to32 | 0..1 | UDF type | ||||||
OTA_ProfileCreateRQ | Profile | TPA_Extensions | px:ProfileInfoExtensions | 0..1 | A placeholder in the schema to allow for additional elements and attributes to be included per Trading Partner Agreement (TPA). | |||||||
OTA_ProfileCreateRQ | Profile | Comments | 0..1 | Comments related to the profile. | |||||||
OTA_ProfileCreateRQ | Profile | Comments | Comment | 1..n | Comment details. | |||||||
@Name | StringLength1to64 | 0..1 | The value “Customer_Comment” is used for Comments saved in the customer’s profile. The value “Restaurant_Comment” is used for Comments saved in the customer’s profile relevant to the restaurant (On Premise Only) | pAir: All comments added to field Preferences in the Preferences Tab | |||||
OTA_ProfileCreateRQ | Profile | Comments | Comment | Text | 1 | Formatted text content. Provides text and indicates whether it is formatted or not. | |||||||
@TextFormat | PlainText | 0..1 | Indicates the format of text used in the description. | ||||||
OTA_ProfileCreateRQ | Profile | PrefCollections | 0..1 | A collection of preferences | |||||||
OTA_ProfileCreateRQ | Profile | PrefCollections | PrefCollection | 1..n | Aggregation of customer needs | |||||||
OTA_ProfileCreateRQ | Profile | PrefCollections | PrefCollection | HotelPref | 0..n | A set of preferences for hotel stay | |||||||
OTA_ProfileCreateRQ | Profile | PrefCollections | PrefCollection | HotelPref | BedTypePref | 0..n | Indicates preferences for the size and features of hotel bed types. | |||||||
@BedType | OTA_CodeType BED | 0..1 | Indicates the hotel bed type requested. Refer to OpenTravel Code List Bed Type (BED). | ||||||
OTA_ProfileCreateRQ | Profile | PrefCollections | PrefCollection | HotelPref | RoomAmenityPref | 0..n | Indicates preferences for hotel room amenities. | |||||||
@RoomAmenity | OTA_CodeType RMA | 0..1 | Identifes the types of room amenities offered by the property. Refer to OpenTravel Code List Room Amenity Type (RMA). | ||||||
OTA_ProfileCreateRQ | Profile | PrefCollections | PrefCollection | HotelPref | PhysChallFeaturePref | 0..n | Indicates preferences for type of features required to meet the needs of persons with physical challenges, disabilities, etc. | |||||||
@PhysChallFeatureType | OTA_CodeType PHY | 0..1 | Identifies the types of features the hotel offers to service physically challenged guests. Refer to OpenTravel Code List Disability Feature Code (PHY). | ||||||
OTA_ProfileCreateRQ | Profile | PrefCollections | PrefCollection | HotelPref | PropertyAmenityPref | 0..n | Indicates preferences for hotel property amenities. | |||||||
@PropertyAmenityType | OTA_CodeType HAC | 0..1 | Identifies the amenities offered by the hotel. Refer to OpenTravel Code List Hotel Amenity Code (HAC). | ||||||
OTA_ProfileCreateRQ | Profile | PrefCollections | PrefCollection | HotelPref | RoomLocationPref | 0..n | Indicates preferences for hotel room locations. | |||||||
@RoomLocationType | OTA_CodeType RLT | 0..1 | Identifies the location of the room within the property. Refer to OpenTravel Code List Room Location Type (RLT). |
OTA_ProfileCreateRS
Element | @Attribute | Type | Num | Description | Comments + Contents Outbound | pAIR | OnPrem | Comments + Contents Inbound | pAIR | OnPrem |
---|---|---|---|---|---|---|---|---|---|
OTA_ProfileCreateRS | 1 | Root element of the message. | |||||||
@EchoToken | StringLength1to128 | 0..1 | A reference for additional message identification, assigned by the requesting host system. When a request message includes an echo token the corresponding response message MUST include an echo token with an identical value. | ||||||
@CorrelationID | StringLength1to64 | 1 | Used to match result messages (*RS) to request messages (*RQ) in asynchronous communication patterns. Therefore mandatory. | ||||||
@TimeStamp | dateTime | 1 | Timestamp of the transaction. | "2019-06-05T09:12:14Z" | |||||
@Version | decimal | 0..1 | Version of the message. | ||||||
@PrimaryLangID | language | 0..1 | Default language of the property. | ||||||
OTA_ProfileCreateRS | UniqueID | 1..9 | Used to convey the identity of the created profile, the owner of the profile, or an id provided by the client. | |||||||
@Type | OTA_CodeType UIT | 1 | A reference to the type of object defined by the UniqueID element. Refer to OpenTravel Code List Unique ID Type (UIT) | ||||||
@ID | StringLength1to32 | 1 | The ID will transfer the HotelID and needs to be agreed by the trading partners and remain the same throughout the messages. | ||||||
@ID_Context | StringLength1to32 | 1 | Used to identify where the ID comes from. | “protelIO” | |||||
OTA_ProfileCreateRS | Success | 0..1 | The presence of the empty Success element explicitly indicates that the OpenTravel versioned message succeeded. | |||||||
OTA_ProfileCreateRS | Warnings | 0..1 | Used in conjunction with the Success element to define one or more business errors. | |||||||
OTA_ProfileCreateRS | Warnings | Warning | 1..n | Used when a message has been successfully processed to report any warnings or business errors that occurred. | |||||||
@Type | OTA_CodeType EWT | 1 | Mandatory. Refer to the OTA Code List: Error Warning Type (EWT). | ||||||
@Code | OTA_CodeType ERR | 0..1 | Refers to the OTA Code List: Error Codes (ERR). | ||||||
@RecordID | StringLength1to64 | 0..1 | If the receiving system is able to identify within a batch of availability status messages which specific message failed, the UniqueID of the message should be reported here. | ||||||
@ShortText | StringLength1to64 | 0..1 | Describes the occurring error in short. Example: "A rate plan 'XY' was not found for the code provided." | ||||||
OTA_ProfileCreateRS | Errors | 0..1 | Indicates an error occurred during the processing of an OpenTravel message. If the message successfully processes, but there are business errors, those errors should be passed in the warning element. | |||||||
OTA_ProfileCreateRS | Errors | Error | 1..n | An error that occurred during the processing of a message. | |||||||
@Type | OTA_CodeType EWT | 1 | Mandatory. Refer to the OTA Code List: Error Warning Type (EWT). | ||||||
@Code | OTA_CodeType ERR | 0..1 | Refers to the OTA Code List: Error Codes (ERR). | ||||||
@RecordID | StringLength1to64 | 0..1 | If the receiving system is able to identify within a batch of availability status messages which specific message failed, the UniqueID of the message should be reported here. | ||||||
@ShortText | StringLength1to64 | 0..1 | Describes the occurring error in short. Example: "A rate plan 'XY' was not found for the code provided." |