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

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

Accounts

A Booker25 (Salesforce) Account can be created as Company Account in Rover PMS by using the "Sync to StayNTouch" button on Account. This will create a record in Rover PMS and will update the Booker25 (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 created. 

Charges

In Booker25 you can select which status is the ending status for the StayNTouch Sync (e.g. Completed). Charges in Rover PMS (the resource price + Booker25 Service Reservations on the reservation) 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