GET api/schedulingzones/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
SchedulingZone| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| PropertyId | integer |
None. |
|
| Code | string |
None. |
|
| Title | string |
None. |
|
| Description | string |
None. |
|
| IsActive | boolean |
None. |
|
| RequireFullDurationInsideWindow | boolean |
None. |
|
| Priority | integer |
None. |
|
| TimeWindows | Collection of SchedulingZoneTimeWindow |
None. |
|
| Policies | Collection of SchedulingZonePolicy |
None. |
Response Formats
application/json, text/json
Sample:
{
"Id": 1,
"PropertyId": 2,
"Code": "sample string 3",
"Title": "sample string 4",
"Description": "sample string 5",
"IsActive": true,
"RequireFullDurationInsideWindow": true,
"Priority": 8,
"TimeWindows": [
{
"Id": 1,
"ZoneId": 2,
"ValidFromDate": "sample string 3",
"ValidToDate": "sample string 4",
"DaysOfWeek": 64,
"StartTime": "sample string 6",
"EndTime": "sample string 7",
"EndIsExclusive": true,
"IsActive": true,
"WindowPriority": 10
},
{
"Id": 1,
"ZoneId": 2,
"ValidFromDate": "sample string 3",
"ValidToDate": "sample string 4",
"DaysOfWeek": 64,
"StartTime": "sample string 6",
"EndTime": "sample string 7",
"EndIsExclusive": true,
"IsActive": true,
"WindowPriority": 10
}
],
"Policies": [
{
"ZoneId": 1,
"CommercialPolicyId": 2,
"PolicyPriority": 3,
"IsActive": true
},
{
"ZoneId": 1,
"CommercialPolicyId": 2,
"PolicyPriority": 3,
"IsActive": true
}
]
}