Description | Calling this endpoint by providing token to get branch special operating hour using branchId. |
Endpoint | {DataManagerAPI}/api/v2/Site/[BranchId]/GetSpecialOperatingHours |
Method | GET |
Endpoint Description |
|
Headers |
|
Response - JSON Example |
{
"Status": 200,
"Error": "",
"Message": null,
"Data": [
{
"Date": "2019-10-01T00:00:00",
"StartTime": "2020-10-31T01:00:00",
"EndTime": "2020-10-31T01:30:00",
"IsDayOff": false,
"IsRecurrence": false,
"RecurrenceType": 0,
"Comment": "testing1"
},
{
"Date": "2019-10-02T00:00:00",
"StartTime": "2020-10-31T01:00:00",
"EndTime": "2020-10-31T01:30:00",
"IsDayOff": false,
"IsRecurrence": false,
"RecurrenceType": 0,
"Comment": "testing2"
},
{
"Date": "2019-10-03T00:00:00",
"StartTime": "2020-10-31T01:00:00",
"EndTime": "2020-10-31T01:30:00",
"IsDayOff": false,
"IsRecurrence": false,
"RecurrenceType": 0,
"Comment": "testing3"
}]
}
|
Response Remarks | 'Data' object can be copy and edit then to be use as payload in API 'SetSpecialOperatingHours' |