Dear SimplyBook Support Team,
We would like to retrieve the booking details for a specific booking using the booking ID via API.
Currently, we are sending a POST request with the booking ID, but instead of receiving the proper booking details, we are getting the SMD (service metadata description) response.
The response we are receiving includes service definitions such as:
-
getBookingDetails -
cancelBooking -
getClientInfo -
and other service methods
It appears that we are hitting the service description endpoint instead of the actual method execution.
What We Need Assistance With:
-
The correct Postman request configuration to retrieve booking details by booking ID
-
Correct endpoint URL
-
Required headers
-
Proper JSON body structure
-
Authentication method
-
-
A sample correct API request and response for:
-
Retrieving booking details using booking ID
-
Canceling a booking using booking ID
-
-
Clarification on whether we need to call the method using JSON-RPC format (with
"method","params","id"structure) instead of sending the ID directly to/admin/bookings/{id}.
We have attached:
-
Screenshot of our Postman request
-
Screenshot of the response
-
The JSON response we are currently receiving
Please guide us with the correct API request format so we can properly fetch booking details and cancel bookings programmatically. Almost garbage data coming in response
Looking forward to your assistance.
{
“transport”: “POST”,
“envelope”: “JSON-RPC-2.0”,
“contentType”: “application/json”,
“SMDVersion”: “2.0”,
“target”: “/admin/bookings/12”,
“services”: {
“getBookings”: {
“envelope”: “JSON-RPC-2.0”,
“transport”: “POST”,
“parameters”: [
{
“type”: “object”,
“name”: “params”,
“optional”: false
}
],
“returns”: “object”
},
“pluginZapierSubscribe”: {
“envelope”: “JSON-RPC-2.0”,
“transport”: “POST”,
“parameters”: [
{
“type”: “string”,
“name”: “url”,
“optional”: false
},
{
“type”: “string”,
“name”: “notificationType”,
“optional”: false
}
],
“returns”: “boolean”
},
“pluginZapierUnsubscribe”: {
“envelope”: “JSON-RPC-2.0”,
“transport”: “POST”,
“parameters”: [
{
“type”: “object”,
“name”: “url”,
“optional”: false
}
],
“returns”: “boolean”
},
“getBookingDetailsZapier”: {
“envelope”: “JSON-RPC-2.0”,
“transport”: “POST”,
“parameters”: [
{
“type”: “object”,
“name”: “id”,
“optional”: false
}
],
“returns”: “array”
},
“getBookingDetailsZapierMock”: {
“envelope”: “JSON-RPC-2.0”,
“transport”: “POST”,
“parameters”: [],
“returns”: “array”
},
“getClientInfo”: {
“envelope”: “JSON-RPC-2.0”,
“transport”: “POST”,
“parameters”: [
{
“type”: [
“integer”,
“string”
],
“name”: “clientId”,
“optional”: false
}
i want the following data instead of garbage data


