Link Search Menu Expand Document

Example Call

curl -X POST \
  __YOUR_URL__ \
  -H 'Cache-Control: no-cache' \
  -H 'Content-Type: application/json' \
  -H '__CUSTOM_AUTH_FIELD__: __CUSTOM_AUTH_VALUE__' \
  -d '{
    guest: { 
        "activities": [
              "PJAX10"
            ],
        "createdAt": "2019-01-21T22:08:03.969Z",
        "currentPage": null,
        "feedback": "Great thx",
        "lastVisit": "2019-01-21T22:08:03.899Z",
        "pool": "demo",
        "status": "Active",
        "id": "Dummy9gyrk55an4qi0ds54ck1",
        "updatedAt": "2019-01-21T22:08:03.970Z",
        "reservationsID": null,
        "reservationsService": "bookeo"
    },
  }'

Where:

  • __YOUR_URL__ is the url of the endpoint you created to receive calls.
  • __CUSTOM_AUTH_FIELD__ and __CUSTOM_AUTH_VALUE__ are values we can set if you require a special header.

Example Payload

{
  "guest": {
    "activities": [
      "PJAX10"
    ],
    "createdAt": "2019-01-21T22:08:03.969Z",
    "currentPage": null,
    "feedback": "Great thx",
    "lastVisit": "2019-01-21T22:08:03.899Z",
    "pool": "demo",
    "status": "Active",
    "id": "Dummy9gyrk55an4qi0ds54ck1",
    "updatedAt": "2019-01-21T22:08:03.970Z",
    "reservationsID": null,
    "reservationsService": "bookeo"
  }
}

Many other properties may be present in the guest object depending on webhook configuration and the available fields for the Wherewolf app.