[#619] 404 Page not found while Make new Booking using Rest API

Migrated from Redmine #619 | Author: Rahul Gaikwad
Status: Feedback | Priority: High, I’m very impatient | Created: 2020-12-03


------*****
End Point : https://user-api-v2.simplybook.me/admin/bookings

------*****
Headers :
------*****
X-Token : 451e53c8398d26f15710fa8ee578cfbee1248c4951c63c50c185f944054279fe
X-Company-Login : amittest
Content-Type : application/json

------*****
Body :
------*****
{
“count”: 1,
“start_datetime”: “2020-12-02 10:00:00”,
“end_datetime”: “2020-12-02 10:10:00”,
“location_id”: 10,
“category_id”: 16,
“provider_id”: 10,
“service_id”: 34,
“client_id”: 5975,
“additional_fields”: [
{
“field”: “1a19433e3f88e4e32368f52c513c069d”,
“value”:“Manoj”
},
{
“field”: “9abd672d356df1b8c75c92c851eb2f97”,
“value”:“Raut”
},
{
“field”: “d2a28731fe8443a0d3530270e7fc9988”,
“value”:“22-04-2000”
},
{
“field”: “da6371d2923031b5749116f4cff8b5e8”,
“value”:“Male”
},
{
“field”: “6a3c58a1dd9222d819035891129286de”,
“value”:“New Patient”
},
{
“field”: “3b143e944cb4d7dc3ca6397e68737c08”,
“value”:“No”
},
{
“field”: “05aa5ab87dd9466bac6380d770e43c07”,
“value”:“TruSculpt iD Free Consultation Only (All Locations & All Days)”
}
]
}


Response :
—*******
HTTP Status Code : 404

Page not Found

Dmytro Bondarev wrote:

You do not have such location. (10)

Rahul Gaikwad wrote:

Yes, Now it is successful. Thank you.

But the error response is not explaining about the actual error.

Once again thanks