Description | Calling this endpoint by providing token of admin user to set branch special operating hour for a company. |
Endpoint | {DataManagerAPI}/api/v2/Site/[BranchId]/SetBranchSpecialOperatingHours |
Method | POST |
Headers |
|
Endpoint Description | 1. 'BranchId' is unique key for identifying branch, do not simply modify this value
|
Body - JSON Example |
[
{
"Date": "2022-06-29T00:00:00",
"StartTime": "2022-06-29T00:00:00",
"EndTime": "2022-06-29T00:00:00",
"IsDayOff": true,
"Comment": "Test special 1"
},
{
"Date": "2022-07-12T00:00:00",
"StartTime": "2022-07-12T00:00:00",
"EndTime": "2022-07-12T00:00:00",
"IsDayOff": true,
"Comment": "Test special 2"
}
]
|
Body Description |
P.S. : Please pass all the special operating hour under this branch otherwise for those special operating hour that not in the JSON will considered as special operating hour that need to be deleted. |
Response - JSON Example |
{
"Status": 200,
"Error": "",
"Message": "Operating Hour updated",
"Data": null
}
|