Notify about booking deletion

POST /booking-event/delete/{secret}

Notify about booking deletion

Path parameters

  • secret string Required

    Security secret received from Holibob

    Minimum length is 5.

Body Required

Body Required

Responses

POST /booking-event/delete/{secret}
curl \
 -X POST https://webhook.production.holibob.tech/booking-event/delete/{secret} \
 -H "Content-Type: application/x-www-form-urlencoded" \
 -d 'consumerTripPartnerExternalReference=y8c6OBIEZmKXeD6Vbg78'
curl \
 -X POST https://webhook.production.holibob.tech/booking-event/delete/{secret} \
 -H "Content-Type: application/json" \
 -d '{"consumerTripPartnerExternalReference":"y8c6OBIEZmKXeD6Vbg78"}'
Request example
{"consumerTripPartnerExternalReference"=>"y8c6OBIEZmKXeD6Vbg78"}
Request example
{
  "consumerTripPartnerExternalReference": "y8c6OBIEZmKXeD6Vbg78"
}
Response examples (200)
{
  "success": true
}
Response examples (403)
{
  "message": "Invalid secret"
}
Response examples (422)
{
  "message": "Invalid data",
  "violationList": [
    {
      "message": "String must contain at least 10 character(s)",
      "propertyPath": [
        "consumerPhone"
      ]
    }
  ]
}