| Requires the role: | TenantReader |
| GET | /api/patching/windows/{Id} | Returns a single patching window by its id | |
|---|---|---|---|
| GET | /patching/windows/{Id} | Returns a single patching window by its id |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Id | path | string | Yes | The primary key of every config item |
| TenantName | header | string | Yes |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Id | form | Guid | No | |
| Name | form | string | Yes | |
| DayOfWeek | form | DayOfWeek | No | |
| MonthlyOccurence | form | MonthlyDayOccurence | No | |
| TimeOfDay | form | TimeOnly | No | |
| Duration | form | TimeSpan | No | |
| IsDefault | form | bool | No |
| Name | Value | |
|---|---|---|
| First | 1 | |
| Second | 2 | |
| Third | 3 | |
| Fourth | 4 |
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /api/patching/windows/{Id} HTTP/1.1
Host: core.starburst.svc
Accept: application/json
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length
{"id":"00000000-0000-0000-0000-000000000000","name":"String","dayOfWeek":"Sunday","monthlyOccurence":"First","timeOfDay":"00:00:00","duration":"00:00:00","isDefault":false}