A profile message contains a single profile object.
A profile object represents a person or organization that may be associated with a guest-stay, for example the primary guest, an accompanying guest, a corporate entity, or a travel agency.
profile
object
Name | Type | Usage | Description | Example |
---|---|---|---|---|
action |
string enum: |
|
Action that triggered the profile message, see profile action string |
|
property |
string |
|
Property code that the profile belongs to |
|
interfaceType |
string |
|
||
remoteSystemName |
string |
|
||
accountId |
string |
|
||
profileId |
string |
|
ID of the profile |
|
profileType |
string enum: |
|
Profile type |
|
title |
string |
|
Title of the guest |
|
firstName |
string |
|
First name of the guest |
|
middleName |
string |
|
Middle name of the guest |
|
lastName |
string |
|
Last name of the guest, or name of a non-guest entity |
|
gender |
string enum: |
|
Gender of the guest |
|
dateOfBirth |
ISO8601 date string |
|
Date-of-birth of the guest |
|
vipStatus |
string |
|
VIP status code of the guest |
|
primaryLanguage |
string |
|
Primary language of the guest, preferably ISO639-1 2-character code |
|
companyInfo |
|
Company of the guest |
||
emailOptOut |
boolean |
|
Whether the entity in the profile has opted out of email marketing |
|
mailOptOut |
boolean |
|
Whether the entity in the profile has opted out of mail marketing |
|
emailAddresses |
array of emailAddress objects |
|
Email addresses associated with the profile |
|
postalAddresses |
array of postalAddress objects |
|
Postal addresses associated with the profile |
|
phoneNumbers |
array of phoneNumber objects |
|
Phone numbers associated with the profile |
|
memberships |
array of membership objects |
|
Loyalty program memberships associated with the profile |
|
creditCards |
array of creditCard objects |
|
Credit cards associated with the profile |
|
guestNotes |
array of guestNote objects |
|
Notes attached to the profile |
|
pmsDefinedFields |
array of userDefinedField objects |
|
PMS-defined fields |
|
propertyDefinedFields |
array of userDefinedField objects |
|
Property-defined fields |
An email address
emailAddress
object
Name | Type | Usage | Description | Example |
---|---|---|---|---|
emailAddress |
string |
|
Email address |
|
primary |
boolean |
|
Whether this is the primary email address on the profile. Only one email address can be primary per profile. |
|
inactiveDate |
ISO8601 date-time string |
|
Time after which the email address should not be used |
|
A postal address
postalAddress
object
Name | Type | Usage | Description | Example |
---|---|---|---|---|
address1 |
string |
|
Street address line 1 |
|
address2 |
string |
|
Street address line 2 |
|
city |
string |
|
City |
|
state |
string |
|
State or province, preferably short code |
|
country |
string |
|
Country, preferably ISO3166 2-character code |
|
zipCode |
string |
|
Zip or postal code |
|
addressType |
string enum: |
|
Address type |
|
primary |
boolean |
|
Whether this is the primary postal address on the profile. Only one postal address can be primary per profile. |
|
inactiveDate |
ISO8601 date-time string |
|
Time after which the postal address should not be used |
|
A phone number
phoneNumber
object
Name | Type | Usage | Description | Example |
---|---|---|---|---|
phoneNumber |
string |
|
Phone number |
|
phoneNumberType |
string enum: |
|
Phone number type |
|
primary |
boolean |
|
Whether this is the primary phone number on the profile. Only one phone number can be primary per profile. |
|
inactiveDate |
ISO8601 date-time string |
|
Time after which the phone number should not be used |
|
A loyalty program or other program membership
membership
object
Name | Type | Usage | Description | Example |
---|---|---|---|---|
loyaltyNumber |
string |
|
Membership ID |
|
programCode |
string |
|
Code of the membership program |
|
levelCode |
string |
|
Membership level code |
|
expireDate |
ISO8601 date string |
|
Membership expiration date |
|
A credit card
creditCard
object
Name | Type | Usage | Description | Example |
---|---|---|---|---|
creditCardLast4 |
string |
|
Last 4 digits of the credit card number |
|
creditCardExpirationDate |
ISO8601 date string |
|
Credit card expiration date |
|
creditCardType |
string |
|
Credit card type |
|
primary |
boolean |
|
Whether this is the primary credit card on the profile. Only one credit card can be primary per profile. |
|
Typically, transmission of a profile message is triggered by a profile-related action being performed on the sending system. The action being performed by the sending system is mapped to the possible values of the action field in the profile object. The following table lists some actions that should trigger a profile message, and the corresponding action field value.
Description | action |
---|---|
Created a new profile |
|
Updated an existing profile |
|
Profile attached to a guest-stay |
|
Deleted an existing profile |
|