Description | [New Version] Calling this endpoint by providing token of admin user to set branch operating hour for a company. |
Endpoint | {DataManagerAPI}/api/v2/Site/[branchId]/SetBranchOperatingHours |
Method | POST |
Headers |
|
Endpoint Description |
|
Body - JSON Example |
[
{
"StartTime": "2022-05-19T00:00:00",
"EndTime": "2022-05-19T01:00:00",
"Day": 0,
"IsDayOff": false
},
{
"StartTime": "2022-05-19T01:00:00",
"EndTime": "2022-05-19T11:00:00",
"Day": 1,
"IsDayOff": false
},
{
"StartTime": "2022-05-19T11:00:00",
"EndTime": "2022-05-19T23:10:00",
"Day": 1,
"IsDayOff": false
},
{
"StartTime": "2022-05-19T00:00:00",
"EndTime": "2022-05-19T23:30:00",
"Day": 2,
"IsDayOff": false
},
{
"StartTime": "2022-05-19T00:00:00",
"EndTime": "2022-05-19T23:10:00",
"Day": 3,
"IsDayOff": false
},
{
"StartTime": "2022-05-19T00:00:00",
"EndTime": "2022-05-19T23:10:00",
"Day": 4,
"IsDayOff": false
},
{
"StartTime": "2022-05-19T00:00:00",
"EndTime": "2022-05-19T23:10:00",
"Day": 5,
"IsDayOff": false
},
{
"StartTime": "2022-05-19T00:00:00",
"EndTime": "2022-05-19T23:10:00",
"Day": 6,
"IsDayOff": false
}
]
|
Body Description |
|
Response - JSON Example |
{
"Status": 200,
"Error": "",
"Message": "Operating Hours updated",
"Data": null
}
|