Creating terms and conditions data partner and subscription

You must create terms and conditions data partner and subscription to trigger events to Databridge.

To create the terms and conditions data partner:

  1. Select Administrator > Databridge > -> Databridge Partner .
  2. Click New Record.
  3. Specify this information:
    Partner
    Specify TERMCONDEVENT or any name that you want. Also specify the partner description.
    Partner ID
    Specify the ID by which to identify the partner in the business documents exchanged with the partner. For example TERMCONDEVENT.
    Active
    Select to indicate that the Databridge partner is active. If this check box is clear, no events are sent to the partner.
    Default Location
    Enter the default location associated with the partner.
    Infor ResRent User ID
    Enter the user ID code identifying the ResRent user. All Databridge transactions from the partner are processed using the ResRent user specified by this user ID. For example, DATABRIDGEINTERNALUSER.
    Infor ResRent Password
    Enter the password for the ResRent user.
  4. Click Subscriptions tab.
  5. In the Subscription Details and Message Delivery sections, specify this information:
    Event
    Specify TERMCONDEVENT.
    Document Type
    Specify TermCondEvent. The document type is used by Databridge internally to determine what kind of message is being sent.
    Enabled
    Select to enable the event.
    Address
    Specify the URL to which outbound documents are sent for the selected event. The URL is either any FTP or HTTP location such as http://usea1lresrent6:2180/T&C or ftp://ftp.infor.com as an example.
    User ID
    Specify the user ID for logging into the receiving system to which outbound documents are sent.
    Password
    Specify the password for the partner.
    Special Handling
    Enter the customized processor for special handling the delivery of outbound events. Specify DefaultMessageHandler/TRM/TRM/TermCondExtract.
  6. ClickSubmit. The subscription is saved and updates the Subscriptions list.
    Note: To delete a partner subscription, select the subscription to delete, and then click Delete Subscription.
  7. To view the event messages, select Administrator > Databridge > -> Databridge Message Status .
    Note: 
    An event is generated whenever you create or save a record.
  8. Specify termsAndCondition in the dataspy to search for the message.
Sample Databridge message in JSON format is outlined below:
{  
   "termsAndCondition":{  
      "termsAndConditionsID":"1",
      "clauseCode":"TERM1",
      "description":"TERM1 DESC",
      "language":"EN",
      "type":"TOOLKT",
      "revision":1,
      "status":"DRAFT",
      "startDate":"10/26/2018 00:00",
      "endDate":"10/31/2018 00:00",
      "brand":"ZR",
      "countryCode":"AL",
      "countrydesc":"Albania",
      "region":"AU",
      "channel":"RES",
      "category":"PLCOUNTRY",
      "showContent":true,
      "showContentWAck":true,
      "saveAgentAck":true,
      "publishToPartners":true,
      "publishOnReservation":true,
      "comment":"\u003chtml\u003eHi!.How are you?\u0026nbsp;\u003c/html\u003e",
      "updatedBy":"R5",
      "updated":"10/26/2018 01:08",
      "createdBy":"R5",
      "created":"10/26/2018 01:04",
      "updateCount":0,
      "isstatusapproveflag":false,
      "clauseCodeDescription":"TERM1 - TERM1 DESC",
      "stripComment":"Hi!.How are you? "
   }
}