Returns a deterministic cursor page of active or historical exceptions.
using System.Net.Http.Headers;var client = new HttpClient();var request = new HttpRequestMessage{ Method = HttpMethod.Post, RequestUri = new Uri("https://example.com/api/workspace/work-schedule/exceptions/query"), Headers = { { "Authorization", "Bearer <token>" }, }, Content = new StringContent("{ \"StartLocalDate\": \"2026-04-15\", \"EndLocalDate\": \"2026-04-15\", \"WorkerIds\": [ \"example\" ], \"SiteIds\": [ \"example\" ], \"Cursor\": \"example\", \"PageSize\": 1, \"IncludeInactive\": true }") { Headers = { ContentType = new MediaTypeHeaderValue("application/json") } }};using (var response = await client.SendAsync(request)){ response.EnsureSuccessStatusCode(); var body = await response.Content.ReadAsStringAsync(); Console.WriteLine(body);}const url = 'https://example.com/api/workspace/work-schedule/exceptions/query';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"StartLocalDate":"2026-04-15","EndLocalDate":"2026-04-15","WorkerIds":["example"],"SiteIds":["example"],"Cursor":"example","PageSize":1,"IncludeInactive":true}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://example.com/api/workspace/work-schedule/exceptions/query \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "StartLocalDate": "2026-04-15", "EndLocalDate": "2026-04-15", "WorkerIds": [ "example" ], "SiteIds": [ "example" ], "Cursor": "example", "PageSize": 1, "IncludeInactive": true }'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”Optional access token for clients that cannot set Authorization headers. Prefer Authorization: Bearer <token> when possible.
Request Body
Section titled “Request Body”Queries bounded schedule-exception evidence with deterministic cursor paging.
object
Examplegenerated
{ "StartLocalDate": "2026-04-15", "EndLocalDate": "2026-04-15", "WorkerIds": [ "example" ], "SiteIds": [ "example" ], "Cursor": "example", "PageSize": 1, "IncludeInactive": true}Queries bounded schedule-exception evidence with deterministic cursor paging.
object
Examplegenerated
{ "StartLocalDate": "2026-04-15", "EndLocalDate": "2026-04-15", "WorkerIds": [ "example" ], "SiteIds": [ "example" ], "Cursor": "example", "PageSize": 1, "IncludeInactive": true}Queries bounded schedule-exception evidence with deterministic cursor paging.
object
Examplegenerated
{ "StartLocalDate": "2026-04-15", "EndLocalDate": "2026-04-15", "WorkerIds": [ "example" ], "SiteIds": [ "example" ], "Cursor": "example", "PageSize": 1, "IncludeInactive": true}Responses
Section titled “Responses”OK
object
Deterministic cursor page of exception evidence.
object
One immutable schedule-exception evidence entry.
object
One exact local interval with frozen boundary provenance where applicable.
object
Compact read model for user references inside runtime instance payloads.
object
User identifier.
Resolved user display name.
One structured daylight-saving boundary diagnostic.
object
Server-computed actions for the queried exception collection and resource scope.
object
One server-authorized create target and the reason codes available for it.
object
object
object
object
object
Example
{ "Errors": [ { "Type": 0, "Severity": 0 } ], "Warnings": [ { "Type": 0, "Severity": 0 } ]}