Path parameters
-
Security secret received from Holibob
Minimum length is
5
.
application/x-www-form-urlencoded
Body Required
-
The partner's unique reference of the consumer's trip and or booking
Minimum length is
1
.
Body Required
-
The partner's unique reference of the consumer's trip and or booking
Minimum length is
1
.
POST
/booking-event/delete/{secret}
cURL (application/x-www-form-urlencoded)
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"
]
}
]
}