Versionen im Vergleich

Schlüssel

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

Inhalt


Target audienceCRM
Version13.0.
AuthenticationBearer Token
Message typeSynchronous
Direction, Outbound


Message Description

  • Lookup by Member ID w/ Currency for Points
  • Receive Membership Info w/ Points & Account Balance in Hotel Currency
IO_LoyaltyAccountInfoRQ - Attributes

protel I/O uses a request and response message pair to asks an external system for the current amount of loyalty points attached to a specific loyalty card. In the response message from the external System the following information is included. The Account Balance is provided always in the Hotel Currency.

  • AccountBalance → current amount of points
  • AccountChargeLowerLimit → minimum redemption value
  • AccountChargeUpperLimit → maximum redemption value


Image Added


Message Attributes

IO_LoyaltyAccountInfoRQ

Element | @Attribute

Type

Num

Description outbound

Comments + Contents outbound

pAir

OnPrem

IO_LoyaltyAccountInfoRQ


1Root element of the message.


(Fehler)(Haken)

@EchoToken

string

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.


(Fehler)(Haken)

@CorrelationID

string

1

Used to match result messages (*RS) to request messages (*RQ) in asynchronous communication patterns. Therefore mandatory.


(Fehler)(Haken)

@TimeStamp

dateTime
0..

1

Time of the transaction.

"2019-06-05T09:12:14Z"(Fehler)(Haken)

@Version

string

0..1

Message version.

Version="3.001"

(Fehler)(Haken)

@PrimaryLangID

string

0..1

The primary language preference for the message encoded as ISO 639-3.


(Fehler)(Haken)

IO_LoyaltyAccountInfoRQ | ReadRequests


0..1

(Fehler)(Haken)
@HotelCodestring0..1Full name of the property which the transferred stay information belongs to.
(Fehler)(Haken)
@HotelIDstring0..1

The ID will transfer the HotelID and needs to be agreed by the trading partners and remain the same throughout the messages.


(Fehler)(Haken)
@HotelNamestring0..1Full name of the property which the transferred stay information belongs to.


(Fehler)(Haken)
@ChainCodestring0..1Full name of the property which the transferred stay information belongs to.
(Fehler)(Haken)

IO_LoyaltyAccountInfoRQ  | ReadRequests | LoyaltyReadRequest


1..nLoyalty Information
(Fehler)(Haken)
@CurrencyCodeIOCodeString0..1Default Hotel Currency Code
(Fehler)(Haken)
@MemberCodeIOCodeString1The MemberCode attribute will indicate the actual member number.
(Fehler)(Haken)

@ProgramCode

string1The ProgramCode 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.
(Fehler)(Haken)
@LevelCodeIOCodeString0..1Indicates special privileges in program assigned to individual.
(Fehler)(Haken)
@AccountStatusIOCodeString0..1The account status. Refer to Open Travel Code List Profile Status (PST).
  • 4 = Active
  • 5 = Inactive


    HTML
    <a href="https://confluence.protel.net/pages/viewpage.action?pageId=117818434" target="_blank">Profile Status (PST)</a>


    (Fehler)(Haken)
    @PrimaryIndboolean0..1When true, indicates this is the primary customer loyalty program and when false, indicates this is not the primary customer loyalty program.
    • true
    • false
    (Fehler)(Haken)

    IO_LoyaltyAccountInfoRQ  | ReadRequests | User


    0..1Information of the logged-in user
    (Fehler)(Haken)
    @UserNameIOCodeString0..1Name of the User
    (Fehler)(Haken)
    @Organisationstring0..1Name of the Group the user belongs to
    (Fehler)(Haken)
    @Departmentstring0..1Name of the Department from the User
    (Fehler)(Haken)
    IO_LoyaltyAccountInfoRQ  | ReadRequests | User | Emailstring0..1This field would be used to pass the guest’s Email.
    (Fehler)(Haken)
    IO_LoyaltyAccountInfoRQ  | ReadRequests | User | UserID
    0..1This field would be used to pass the guest’s UserID
    (Fehler)(Haken)
    @IDstring1A unique identifying value assigned by the creating system. In the context of protel IO, this will be the unique hotel ID where the profile was created.


    (Fehler)(Haken)
    @ID_Contextstring1

    Used to identify the source of the identifier. For both outbound (from protel IO) and inbound (to protel IO) request messages, this must carry the string value


    (Fehler)(Haken)
    @TypeIOCodeString0..1

    A numeric reference to the type of object defined by the unique ID attribute. Refer to the OTA code lists: Unique ID Type (UIT)


    (Fehler)(Haken)

    IO_LoyaltyAccountInfoRS

    - Attributes

    Element | @Attribute

    Type

    Num

    Description inbound

    Comments + Contents inbound

    pAir

    OnPrem

    IO_LoyaltyAccountInfoRS


    1Root element of the message.


    (Fehler)(Haken)

    @EchoToken

    string

    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.


    (Fehler)(Haken)

    @CorrelationID

    string

    1

    Used to match result messages (*RS) to request messages (*RQ) in asynchronous communication patterns. Therefore mandatory.


    (Fehler)(Haken)

    @TimeStamp

    0..
    dateTime

    1

    Time of the transaction.

    "2019-06-05T09:12:14Z"(Fehler)(Haken)

    @Version

    string

    0..1

    Message version.

    Version="3.001"

    (Fehler)(Haken)

    @PrimaryLangID

    string

    0..1

    The primary language preference for the message encoded as ISO 639-3.


    (Fehler)(Haken)

    IO_LoyaltyAccountInfoRS | Success

    boolean0..1Returning an empty element of this type indicates the successful processing of the message. It could be combined with warning message/s if the message had issue/s.
    • true
    • false
    (Fehler)(Haken)

    IO_LoyaltyAccountInfoRS | Errors | Error


    0..1Indicates 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.
    (Fehler)(Haken)
    Errors | Error
    @ShortTextstring0..1An
    error that occurred during the processing of a message
    abbreviated version of the error in textual format.
    (Fehler)(Haken)
    @ShortText0..1An abbreviated version of the error in textual format.(Fehler)(Haken)@Code

    @Type 

    OTA_CodeType EWT

    0..1

    If present, this refers to a table of coded values exchanged between applications to identify errors or warnings. Refer to the OTA Code List: Error Codes (ERR).(Fehler)(Haken)

    Mandatory. Refers to the OTA Code List: Error Warning Type (EWT).


    HTML
    <a href="https://confluence.protel.net/pages/viewpage.action?pageId=117810188" target="_blank">Error Warning Type (EWT)</a>


    (Fehler)(Haken)

    @Code 

    OTA_CodeType ERR

    0..1 

    Refers to the OTA Code List: Error Codes (ERR). 


    HTML
    <a href="https://confluence.protel.net/pages/viewpage.action?pageId=117810191" target="_blank">Error Codes (ERR)</a>


    (Fehler)(Haken)
    IO_LoyaltyAccountInfoRS | Errors | Error | Messagestring0...1Description of the issue
    (Fehler)(Haken)

    IO_LoyaltyAccountInfoRS | Warnings | Warning


    0..1Used in conjunction with the Success element to define one or more business errors.
    (Fehler)(Haken)
    @ShortTextstring0..1An abbreviated version of the error in textual format.
    (Fehler)(Haken)

    @Type 

    OTA_CodeType EWT
    @Type0..1Mandatory. Refer to OTA Code List: Error Warning Type (EWT).(Fehler)(Haken)

    IO_LoyaltyAccountInfoRS | Warnings

    0..1Used in conjunction with the Success element to define one or more business errors.(Fehler)(Haken)Warnings Warning0..1Used when a message has been successfully processed to report any warnings or business errors that occurred.(Fehler)(Haken)@ShortText0..1An abbreviated version of the error in textual format.(Fehler)(Haken)@Code0..1If present, this refers to a table of coded values exchanged between applications to identify errors or warnings. Refer to the OTA Code List: Error Codes (ERR).(Fehler)(Haken)@Type

    0..1

    Mandatory.

    Refer

    Refers to

     

    the OTA

     

    Code List: Error Warning

    Type

    Type (EWT).

    (Fehler)(Haken)


    HTML
    <a href="https://confluence.protel.net/pages/viewpage.action?pageId=117810188" target="_blank">Error Warning Type (EWT)</a>

    IO_LoyaltyAccountInfoRS | LoyaltyReadResults

    0..1


    (Fehler)(Haken)
    @HotelCode

    @Code 

    OTA_CodeType ERR

    0..

    1Full name of the property which the transferred stay information belongs to.(Fehler)(Haken)@HotelID0..1

    The ID will transfer the HotelID and needs to be agreed by the trading partners and remain the same throughout the messages.

    (Fehler)(Haken)

    Refers to the OTA Code List: Error Codes (ERR). 


    HTML
    <a href="https://confluence.protel.net/pages/viewpage.action?pageId=117810191" target="_blank">Error Codes (ERR)</a>


    (Fehler)(Haken)
    IO_LoyaltyAccountInfoRS | Warnings | Warning |  Messagestring0...1Description of the issue
    (Fehler)(Haken)

    IO_LoyaltyAccountInfoRS | LoyaltyReadResults


    0..1

    (Fehler)(Haken)
    @HotelCodestring
    @HotelName0..1Full name of the property which the transferred stay information belongs to.(Fehler)(Haken)@ChainCode
    0..1Full name of the property which the transferred stay information belongs to.
    (Fehler)(Haken)

    IO_LoyaltyAccountInfoRS | LoyaltyReadResults | LoyaltyAccount

    1(Fehler)(Haken)@MemberCode
    @HotelIDstring0..1

    The

    MemberCode attribute

    ID will

    indicate the actual number.(Fehler)(Haken)

    @ProgramCode

    1The ProgramCode 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

    transfer the HotelID and needs to be agreed by the trading partners and remain the same throughout the messages.


    (Fehler)(Haken)
    @HotelName
    @LevelCode
    string0..1
    Indicates special privileges in program assigned to individual
    Full name of the property which the transferred stay information belongs to.
    (Fehler)(Haken)
    @AccountStatus
    @ChainCodestring0..1
    OTA Code list PST
    • /** 1 */ MarkedForDeletion
    • /** 2 */ Lapsed
    • /** 3 */ Terminated
    • /** 4 */ Active
    • /** 5 */ Inactive
    (Fehler)(Haken)
    Full name of the property which the transferred stay information belongs to.
    (Fehler)(Haken)

    IO_LoyaltyAccountInfoRS | LoyaltyReadResults | LoyaltyAccount


    1

    (Fehler)(Haken)
    @MemberCodeIOCodeString1The MemberCode attribute will indicate the actual number.
    (Fehler)(Haken)

    @ProgramCode

    string1The ProgramCode 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.
    (Fehler)(Haken)
    @LevelCodeIOCodeString0..1Indicates special privileges in program assigned to individual.
    (Fehler)(Haken)
    @AccountStatusIOCodeString0..1OTA Code list PST


    HTML
    <a href="https://confluence.protel.net/pages/viewpage.action?pageId=117818434" target="_blank">Profile Status (PST)</a>


    (Fehler)(Haken)
    @PrimaryIndboolean0..1When true, indicates this is the primary customer loyalty program and when false, indicates this is not the primary customer loyalty program.
    • true
    • false
    @PrimaryInd0..1When true, indicates this is the primary customer loyalty program and when false, indicates this is not the primary customer loyalty program.
    • true
    • false
    (Fehler)(Haken)

    IO_LoyaltyAccountInfoRS | LoyaltyReadResults | LoyaltyAccount | CardHolderName

    0..1Name of the Membership card(Fehler)(Haken)

    IO_LoyaltyAccountInfoRS | LoyaltyReadResults | LoyaltyAccount | AccountBalance

    1The actual amount available, which can be used for redeeming the points(Fehler)(Haken)

    @Amount

    1Amount in Points(Fehler)(Haken)@Type1Shortname of the Loyalty Program
    (Fehler)(Haken)

    IO_LoyaltyAccountInfoRS | LoyaltyReadResults | LoyaltyAccount |

     AccountBalance | CurrencyAmount

     CardHolderName

    string0..1
    Amount in the default Currency
    Name of the Membership card
    (Fehler)(Haken)
    @ExchangeRate0..1Exchange Rate for the Loyalty Points

    decimal

    IO_LoyaltyAccountInfoRS | LoyaltyReadResults | LoyaltyAccount | AccountBalance


    1The actual amount available, which can be used for redeeming the points
    (Fehler)(Haken)

    @Amount

    decimal1Amount in Points
    Account...@Amount * ExchangeRate = CurrencyAmount@Amount 

    (Fehler)(Haken)
    @Type
    @CurrencyCode
    string1
    Currency Code, from the RQ
    Shortname of the Loyalty Program
    (Fehler)(Haken)

    IO_LoyaltyAccountInfoRS | LoyaltyReadResults | LoyaltyAccount | AccountBalance |

     CurrencyAmount | Amount

     CurrencyAmount


    0..1
    1
    Amount in the default Currency
    Code, from the RQ

    (Fehler)(Haken)
    IO_LoyaltyAccountInfoRS | LoyaltyReadResults | LoyaltyAccount | AccountAccrued
    @ExchangeRatedecimal0..1
    Total amount, the collected points
    Exchange Rate for the Loyalty Points

    decimal


    Account...@Amount * ExchangeRate = CurrencyAmount@Amount 

    (Fehler)(Haken)

    @CurrencyCode

    @Amount
    string1
    Amount in Points
    Currency Code, from the RQ
    (Fehler)(Haken)
    @Type

    IO_LoyaltyAccountInfoRS | LoyaltyReadResults | LoyaltyAccount | AccountBalance | CurrencyAmount | Amount

    decimal1
    Shortname of the Loyalty Program
    Amount in the Currency Code, from the RQ
    (Fehler)(Haken)

    IO_LoyaltyAccountInfoRS | LoyaltyReadResults | LoyaltyAccount |

     AccountAccrued | CurrencyAmount

     AccountAccrued


    0..1
    Amount in the default Currency
    Total amount, the collected points
    (Fehler)(Haken)

    @ExchangeRate

    0..1

    @Amount

    decimal1Amount in
    Exchange Rate for the Loyalty
    Points
    (Fehler)(Haken)

    @CurrencyCode

    0..1

    @Type

    string1Shortname of the Loyalty Program
    Currency Code, from the RQ

    (Fehler)(Haken)

    IO_LoyaltyAccountInfoRS | LoyaltyReadResults | LoyaltyAccount | AccountAccrued | CurrencyAmount

    | Amount


    0..1Amount in the default Currency
    Code, from the RQ

    (Fehler)(Haken)
    IO_LoyaltyAccountInfoRS | LoyaltyReadResults | LoyaltyAccount | AccountRedeemed

    @ExchangeRate

    decimal0..1
    Total amount of points redeemed
    Exchange Rate for the Loyalty Points
    (Fehler)(Haken)

    @Amount

    1Amount in Points(Fehler)(Haken)

    @CurrencyCode

    string0..1Currency Code, from the RQ

    @Type

    1Shortname of the Loyalty Program

    (Fehler)(Haken)

    IO_LoyaltyAccountInfoRS | LoyaltyReadResults | LoyaltyAccount |

     AccountRedeemed 0..

     AccountAccrued | CurrencyAmount

    | Amount

    decimal
    1Amount in the
    default
    Currency Code, from the RQ
    (Fehler)(Haken)
    @ExchangeRate

    IO_LoyaltyAccountInfoRS | LoyaltyReadResults | LoyaltyAccount | AccountRedeemed


    0..1
    Exchange Rate for the Loyalty Points
    Total amount of points redeemed
    (Fehler)(Haken)

    @CurrencyCode

    0..1

    @Amount

    decimal1Amount in Points
    (Fehler)(Haken)

    @Type

    string1Shortname of the Loyalty Program
    Currency Code, from the RQ

    (Fehler)(Haken)

    IO_LoyaltyAccountInfoRS | LoyaltyReadResults | LoyaltyAccount | AccountRedeemed | CurrencyAmount

    | Amount


    0..1Amount in the default Currency
    Code, from the RQ

    (Fehler)(Haken)
    IO_LoyaltyAccountInfoRS | LoyaltyReadResults | LoyaltyAccount | AccountChargeUpperLimit

    @ExchangeRate

    decimal0..1
    Maximum amount of points usable for a single redemption (Account and Invoice) 
    Exchange Rate for the Loyalty Points
    (Fehler)(Haken)
    @Amount

    @CurrencyCode

    1Amount in Points(Fehler)(Haken)
    string0..1Currency Code, from the RQ

    @Type

    1Shortname of the Loyalty Program

    (Fehler)(Haken)

    IO_LoyaltyAccountInfoRS | LoyaltyReadResults | LoyaltyAccount |

     AccountChargeUpperLimit0..

     AccountRedeemed | CurrencyAmount

    | Amount

    decimal
    1Amount in the
    default
    Currency Code, from the RQ
    (Fehler)(Haken)
    @ExchangeRate

    IO_LoyaltyAccountInfoRS | LoyaltyReadResults | LoyaltyAccount | AccountChargeUpperLimit


    0..1
    Exchange Rate for the Loyalty Points
    Maximum amount of points usable for a single redemption (Account and Invoice) 
    (Fehler)(Haken)

    @Amount

    @CurrencyCode
    decimal
    0..
    1
    Currency Code, from the RQ
    Amount in Points
    (Fehler)(Haken)
    IO_LoyaltyAccountInfoRS | LoyaltyReadResults |

    @Type

    string1Shortname of the Loyalty Program
    (Fehler)(Haken)

    IO_LoyaltyAccountInfoRS | LoyaltyReadResults | LoyaltyAccount | AccountChargeUpperLimit | CurrencyAmount

    | Amount


    0..1Amount in the default Currency
    (Fehler)(Haken)

    @ExchangeRate

    decimal0..1Exchange Rate for the Loyalty Points
    (Fehler)(Haken)

    @CurrencyCode

    string0..1Currency Code, from the RQ
    (Fehler)(Haken)

    IO_LoyaltyAccountInfoRS | LoyaltyReadResults | LoyaltyAccount | AccountChargeUpperLimit | CurrencyAmount | Amount

    decimal1Amount in the Currency Code, from the RQ
    (Fehler)(Haken)

    IO_LoyaltyAccountInfoRS | LoyaltyReadResults | LoyaltyAccount | AccountChargeLowerLimit  


    0..1Minimum amount of points needed for a single redemption (Account and Invoice)
    (Fehler)(Haken)

    @Amount

    decimal1Amount in Points
    (Fehler)(Haken)

    @Type

    string1Shortname of the Loyalty Program
    (Fehler)(Haken)

    IO_LoyaltyAccountInfoRS | LoyaltyReadResults | LoyaltyAccount | AccountChargeLowerLimit  | CurrencyAmount


    0..1Amount in the default Currency
    (Fehler)(Haken)

    @ExchangeRate

    decimal0..1Exchange Rate for the Loyalty Points
    (Fehler)(Haken)

    @CurrencyCode

    string0..1Currency Code, from the RQ
    (Fehler)(Haken)

    IO_LoyaltyAccountInfoRS | LoyaltyReadResults | LoyaltyAccount | AccountChargeLowerLimit  | CurrencyAmount | Amount

    decimal1Amount in the Currency Code, from the RQ
    (Fehler)(Haken)

    IO_LoyaltyAccountInfoRS | LoyaltyReadResults | LoyaltyAccount | LoyaltyAccount | UserCreated


    0..1Information of the logged-in user
    (Fehler)(Haken)

    @UserName

    IOCodeString0..1Name of the User
    (Fehler)(Haken)

    @Organisation

    string0..1Name of the Group the user belongs to
    (Fehler)(Haken)

    @Department

    string0..1Name of the Department from the User
    (Fehler)(Haken)

    IO_LoyaltyAccountInfoRS | LoyaltyReadResults | LoyaltyAccount | LoyaltyAccount | UserCreated | Email

    string0..1This field would be used to pass the guest’s Email.
    (Fehler)(Haken)

    IO_LoyaltyAccountInfoRS | LoyaltyReadResults | LoyaltyAccount | LoyaltyAccount | UserCreated | UserID


    0..1This field would be used to pass the guest’s UserID
    (Fehler)(Haken)

    IO_LoyaltyAccountInfoRS | LoyaltyReadResults | LoyaltyAccount | UserModified

    0..1(Fehler)(Haken)

    @Type

    IOCodeString

    1

    A reference to the type of object defined by the UniqueID element. Refer to OpenTravel Code List Unique ID Type (UIT)


    HTML
    <a href="https://confluence.protel.net/pages/viewpage.action?pageId=117810178" target="_blank">Unique ID Type (UIT)</a>


    (Fehler)(Haken)

    @ID

    string

    1

    The unique profile ID from the PMS.


    (Fehler)(Haken)

    @ID_Context

    string

    1

    Used to identify the source of the ID. For inbound (to protelIO) requests, this will carry a string value identifying the protel I/O Integration Partner.

    “protelIO"

    @UserName

    0..1(Fehler)(Haken)

    @Organisation

    0..1(Fehler)(Haken)

    @Department

    0..1(Fehler)(Haken)

    @Occupation

    0..1
    (Fehler)(Haken)

    IO_LoyaltyAccountInfoRS | LoyaltyReadResults | LoyaltyAccount | UserModified

    | FirstName


    0..1
    This field would be used to pass the guest’s GivenName.


    (Fehler)(Haken)
    IO_LoyaltyAccountInfoRS | LoyaltyReadResults | LoyaltyAccount | UserModified | LastName

    @UserName

    IOCodeString0..1

    (Fehler)(Haken)

    @Organisation

    string0..1
    This field would be used to pass the guest’s LastName.


    (Fehler)(Haken)

    @Department

    string0..1

    (Fehler)(Haken)

    IO_LoyaltyAccountInfoRS | LoyaltyReadResults | LoyaltyAccount | UserModified | Email

    string0..1This field would be used to pass the guest’s Email.
    (Fehler)(Haken)

    IO_LoyaltyAccountInfoRS | LoyaltyReadResults | LoyaltyAccount | UserModified |

    Phone

    UserID


    0..1This field would be used to pass the guest’s
    Phone
    UserID
    (Fehler)(Haken)

    IO_LoyaltyAccountInfoRS | LoyaltyReadResults | LoyaltyAccount | UserModified | UserID

    0..1This field would be used to pass the guest’s UserID(Fehler)(Haken)@ID1A unique identifying value assigned by the creating system. In the context of protel IO, this will be the unique hotel ID where the profile was created.

    @Type

    IOCodeString

    1

    A reference to the type of object defined by the UniqueID element. Refer to OpenTravel Code List Unique ID Type (UIT)


    HTML
    <a href="https://confluence.protel.net/pages/viewpage.action?pageId=117810178" target="_blank">Unique ID Type (UIT)</a>


    (Fehler)(Haken)

    @ID

    _Context

    string

    1

    Used to identify the source of the identifier. For both outbound (from protel IO) and inbound (to protel IO) request messages, this must carry the string value

    The unique profile ID from the PMS.


    (Fehler)(Haken)

    @ID_Context

    @Type
    string
    0..

    1

    A numeric reference

    Used to identify the

    type

    source of

    object defined by

    the

    unique

    ID

    attribute

    .

    Refer to the OTA code lists: Unique ID Type (UIT)

    For inbound (to protelIO) requests, this will carry a string value identifying the protel I/O Integration Partner.

    “protelIO"
    (Fehler)(Haken)
    (Fehler)(Haken)