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 2 Next »

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

Accounts

Booker25 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 send 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 is the starting status for the StayNTouch Sync (e.g. Option). This status is used to create a posting account (when the company account is already in StayNTouch) in Rover PMS. On the moment a reservation/booking reaches this page the callout to Rover PMS is made and a posting account is submitted. 

JSON Reservation
{
   "name":"Reservation for Gen25"
}

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 reached.

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 one of the log-records you can see the status of the sync. If a sync failed you can use the "StayNTouch Retry Callout" button to retry.



  • No labels