Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Next »

Booker25 supports a one-way-sync from Booker25 to StayNTouch Rover PMS.

Accounts

A Booker25 (Salesforce) Account can be created as Company Accounts in Rover PMS by using the "Sync to StayNTouch" button on Account. This will create a record in Rover PMS and will update the Salesforce Account with the corresponding Rover-PMS ID.

Booker25 sends the following data to Rover PMS Accounts:


JSON Account
{
   "type":"COMPANY",
   "primary_contact":{
      "phone":"0201234567",
      "last_name":"Doe",
      "job_title":null,
      "first_name":"John",
      "email":"john@doe.com"
   },
   "name":"Gen25",
   "address":{
      "street3":null,
      "street2":null,
      "street1":"Gustav Mahlerlaan 350b",
      "state":null,
      "postal_code":"1082ME",
      "country":"Nederland",
      "city":"Amsterdam"
   },
   "account_number":"FJ4575801"
}

Reservations

In Booker25, you can select which status should be the starting status for the StayNTouch Sync (e.g. Option). This status is used to create a Posting Account (when the Company Account already exists in StayNTouch) in Rover PMS. On the moment a reservation/booking reaches this status the callout to Rover PMS is made and a posting account is submitted. 

Charges

In Booker25 you can select which status is the ending status for the StayNTouch Sync (e.g. Completed). Charges are synced when a reservation has a Posting Account in Rover PMS and this status is set in Booker25.

JSON Charges
{
   "charges":[
      {
         "reference_text":null,
         "reference_number":null,
         "is_payment":null,
         "charge_code":"410",
         "bill_number":null,
         "amount":16.0
      },
      {
         "reference_text":null,
         "reference_number":null,
         "is_payment":null,
         "charge_code":"100101",
         "bill_number":null,
         "amount":400.0
      }
   ],
   "datetime":"2018-01-01T10:22:17.041Z"
}

Synchronisation

For every sync to Rover PMS, Booker25 writes a log to the StayNTouch Request object. On this log-record, you can see the status of the sync. If a sync failed you can use the "StayNTouch Retry Callout" button to retry.



  • No labels