Nishant Singh wrote:
Hi please also check the below booking site for JUB MO Jubail Street:
1st request goes to:
SIMPLY_BOOK-API |POST: [https://user-api.enterpriseappointments.com/login]
Request: {
“jsonrpc”:“2.0”,
“method”:“getToken”,
“params”:[
“qjbjubailhighstreet”,
“ecdab9e4ac8f6f8dea07dbfafed3f22c10426e62569fb8fd09922127dc4e62c1”
],
“id”:2
}
Response: {
“result”:“04f89e423afdc7e39ac6994372886adf333a32c518e0d174b922bcad97c1b2b7”,
“id”:“2”,
“jsonrpc”:“2.0”,
“error”:null
}
2nd request goes to : SIMPLY_BOOK-API |POST: [https://user-api.enterpriseappointments.com]
Request: {
“jsonrpc”:“2.0”,
“method”:“getStartTimeMatrix”,
“params”:[
“2022-12-30”,
“2022-12-30”
],
“id”:15
}
Response: {
“id”:“15”,
“jsonrpc”:“2.0”,
“error”:null,
“result”:{
“2022-12-30”:[
“10:00:00”,
“10:30:00”,
“11:00:00”,
“11:30:00”,
“12:00:00”,
“12:30:00”,
“13:00:00”,
“13:30:00”,
“14:00:00”,
“14:30:00”,
“15:00:00”,
“15:30:00”,
“16:00:00”,
“16:30:00”,
“17:00:00”,
“17:30:00”,
“18:00:00”,
“18:30:00”,
“19:00:00”,
“19:30:00”,
“20:00:00”,
“20:30:00”,
“21:00:00”
]
}
}
3rd Request goes to :SIMPLY_BOOK-API |POST: [https://user-api.enterpriseappointments.com/login]
request:
{
“jsonrpc”:“2.0”,
“method”:“getUserToken”,
“params”:[
“qjbjubailhighstreet”,
“magrabistoreaccount”,
“Magrabi@123”
],
“id”:1
}
response:
{
“result”:“d4e294cfd53d07f821fed7a3d62aa15d5aaf08e5983f2afdac453f06f890ae05”,
“id”:“1”,
“jsonrpc”:“2.0”,
“error”:null
}
4th request goes to: SIMPLY_BOOK-API |POST: [https://user-api.enterpriseappointments.com/admin]
request:
{
“jsonrpc”:“2.0”,
“method”:“getEventList”,
“params”:[
],
“id”:9
}
response:
{
“id”:“9”,
“jsonrpc”:“2.0”,
“error”:null,
“result”:{
“3”:{
“id”:“3”,
“name”:“EYE TEST”,
“duration”:“30”,
“buffertime_before”:“0”,
“buffertime_after”:“0”,
“hide_duration”:“0”,
“description”:“”,
“is_public”:“1”,
“is_active”:“1”,
“position”:“2”,
“file_id”:null,
“seo_url”:null,
“is_recurring”:“0”,
“picture”:null,
“picture_sub_path”:null,
“is_visible”:“1”,
“picture_path”:null,
“classes_plugin_info”:{
“unit_group_binded_in_class”:null,
“unit_groups_binded_in_classes”:[
],
"event_binded_in_class":null,
"events_binded_in_classes":null
},
"phone":null,
"email":null,
"station_id":null,
"qty":null
}
}
}