Path parameters
-
secret
string Required Security secret received from Holibob
Minimum length is
5
.
application/x-www-form-urlencoded
Body
Required
-
consumerTripPartnerExternalReference
string Required The partner's unique reference of the consumer's trip and or booking
Minimum length is
1
.
Body
Required
-
consumerTripPartnerExternalReference
string 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 \
--request POST 'https://webhook.production.holibob.tech/booking-event/delete/{secret}' \
--header "Content-Type: application/x-www-form-urlencoded" \
--data 'consumerTripPartnerExternalReference=y8c6OBIEZmKXeD6Vbg78'
curl \
--request POST 'https://webhook.production.holibob.tech/booking-event/delete/{secret}' \
--header "Content-Type: application/json" \
--data '{"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"
]
}
]
}