Resolves an inclusive local-date range with partial diagnostics.
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/effective-schedule/query"), Headers = { { "Authorization", "Bearer <token>" }, }, Content = new StringContent("{ \"StartLocalDate\": \"2026-04-15\", \"EndLocalDate\": \"2026-04-15\", \"WorkerIds\": [ \"example\" ], \"SiteIds\": [ \"example\" ], \"SelectedLocalTime\": \"example\" }") { 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/effective-schedule/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"],"SelectedLocalTime":"example"}'};
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/effective-schedule/query \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "StartLocalDate": "2026-04-15", "EndLocalDate": "2026-04-15", "WorkerIds": [ "example" ], "SiteIds": [ "example" ], "SelectedLocalTime": "example" }'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 an inclusive local-date range for authorized Workers and Sites.
object
Examplegenerated
{ "StartLocalDate": "2026-04-15", "EndLocalDate": "2026-04-15", "WorkerIds": [ "example" ], "SiteIds": [ "example" ], "SelectedLocalTime": "example"}Queries an inclusive local-date range for authorized Workers and Sites.
object
Examplegenerated
{ "StartLocalDate": "2026-04-15", "EndLocalDate": "2026-04-15", "WorkerIds": [ "example" ], "SiteIds": [ "example" ], "SelectedLocalTime": "example"}Queries an inclusive local-date range for authorized Workers and Sites.
object
Examplegenerated
{ "StartLocalDate": "2026-04-15", "EndLocalDate": "2026-04-15", "WorkerIds": [ "example" ], "SiteIds": [ "example" ], "SelectedLocalTime": "example"}Responses
Section titled “Responses”OK
object
Partial-success effective schedule projection whose applied evidence contains only subject impacts with Applied status.
object
Site hours for one local day.
object
One complete logical working interval. Applied exceptions have authoritative Applied status, and collision identifiers refer only to collisions returned in the same projection.
object
One resolved break in a logical interval.
object
Authored source boundaries retained after precedence slicing.
object
One active exception that affected a final interval or removed time.
object
One complete logical working interval. Applied exceptions have authoritative Applied status, and collision identifiers refer only to collisions returned in the same projection.
object
One resolved break in a logical interval.
object
Authored source boundaries retained after precedence slicing.
object
One active exception that affected a final interval or removed time.
object
Governed civil-time context for one authorized Worker and local date.
object
One governed Site and named Calendar context that applies to part of a Worker’s local day.
object
Authorized visible Site identifier.
Operational Location identifier that supplies civil-time context, when available.
IANA time-zone identifier for the context.
Exact relation kind that selected the Site.
Identifier of the exact relation that selected the Site.
Field-safe Calendar evidence selected for the visible context, when assigned; it does not grant Calendar aggregate access.
Field-safe Calendar display evidence returned under effective-schedule read after Site visibility filtering; it does not grant Calendar aggregate access.
Exact relation kind that selected WorkingCalendarId.
Identifier of the exact relation that selected WorkingCalendarId.
Unambiguous inclusive UTC start of this context.
Unambiguous exclusive UTC end of this context.
Authoritative selected-moment status after field-safe Site projection.
object
One field-safe governing Site candidate for the requested Worker wall-clock moment.
object
A field-safe Site reference reached through an authorized Worker projection.
object
One active exception that affected a final interval or removed time.
object
Authoritative source and final intervals and Calendar contexts for one exception in this projection.
object
Identifier of the exception whose effect is explained.
Identifier of the append-only exception chain.
Affected Worker identifier, when the exception has Worker scope.
Affected Site identifier, when the exception has Site context.
Whether the exception changed effective Site, time, zone, Calendar, or Calendar revision facts.
Effective intervals before applying this exception.
One authoritative source or final interval, including its Calendar revision and selection source.
object
Stable effective interval identifier.
Worker identifier for Worker projections, or null for Site-only projections.
Authorized visible Site identifier that owns the interval.
IANA time-zone identifier used for local boundaries.
Unspecified-kind local start.
Unspecified-kind local end.
Unambiguous inclusive UTC start.
Unambiguous exclusive UTC end.
Field-safe Calendar evidence that produced the visible interval, when calendar-backed; it does not grant Calendar aggregate access.
Field-safe Calendar display evidence returned under effective-schedule read after Site visibility filtering; it does not grant Calendar aggregate access.
Published Calendar revision identifier that produced the interval, when available.
Published Calendar revision number that produced the interval, when available.
Exact assignment or exception relation kind that selected CalendarId.
Identifier of the exact assignment or exception relation that selected CalendarId.
Effective intervals after applying this exception.
One authoritative source or final interval, including its Calendar revision and selection source.
object
Stable effective interval identifier.
Worker identifier for Worker projections, or null for Site-only projections.
Authorized visible Site identifier that owns the interval.
IANA time-zone identifier used for local boundaries.
Unspecified-kind local start.
Unspecified-kind local end.
Unambiguous inclusive UTC start.
Unambiguous exclusive UTC end.
Field-safe Calendar evidence that produced the visible interval, when calendar-backed; it does not grant Calendar aggregate access.
Field-safe Calendar display evidence returned under effective-schedule read after Site visibility filtering; it does not grant Calendar aggregate access.
Published Calendar revision identifier that produced the interval, when available.
Published Calendar revision number that produced the interval, when available.
Exact assignment or exception relation kind that selected CalendarId.
Identifier of the exact assignment or exception relation that selected CalendarId.
Dated Calendar contexts before the exception, retained even when no source interval exists.
One dated, zone-specific Calendar and relation source that governed a visible subject before or after an exception.
object
Worker identifier for worker context, or null for Site context.
Authorized visible Site identifier governed by this context.
Local date interpreted in IanaTimeZoneId.
IANA time-zone identifier that makes LocalDate unambiguous.
Field-safe Calendar evidence selected for this visible context, or null when none is assigned; it does not grant Calendar aggregate access.
Field-safe Calendar display evidence returned under effective-schedule read after Site visibility filtering; it does not grant Calendar aggregate access.
Exact assignment or exception relation kind that selected WorkingCalendarId.
Identifier of the exact assignment or exception relation that selected WorkingCalendarId.
Unambiguous inclusive UTC start of this context.
Unambiguous exclusive UTC end of this context.
Dated Calendar contexts after the exception, retained even when the final schedule has no interval.
One dated, zone-specific Calendar and relation source that governed a visible subject before or after an exception.
object
Worker identifier for worker context, or null for Site context.
Authorized visible Site identifier governed by this context.
Local date interpreted in IanaTimeZoneId.
IANA time-zone identifier that makes LocalDate unambiguous.
Field-safe Calendar evidence selected for this visible context, or null when none is assigned; it does not grant Calendar aggregate access.
Field-safe Calendar display evidence returned under effective-schedule read after Site visibility filtering; it does not grant Calendar aggregate access.
Exact assignment or exception relation kind that selected WorkingCalendarId.
Identifier of the exact assignment or exception relation that selected WorkingCalendarId.
Unambiguous inclusive UTC start of this context.
Unambiguous exclusive UTC end of this context.
Entity-Security-visible exception identifiers that won relevant overlap collisions. This can be empty for Overridden when every winner is hidden.
Deterministic explanation of an exception collision after Entity Security filtering. The response omits a collision when fewer than two visible candidates remain.
object
Identifier of the visible collision evidence.
Affected Worker identifier, when applicable.
Affected visible Site identifier, when applicable.
Inclusive local start of the collision window.
Exclusive local end of the collision window.
Identifier of the visible winning exception.
Identifiers of the visible candidates. At least two are present in every returned collision.
Deterministic precedence rule used to choose the visible winner.
One structured partial-resolution diagnostic.
object
object
object
object
object
Example
{ "Errors": [ { "Type": 0, "Severity": 0 } ], "Warnings": [ { "Type": 0, "Severity": 0 } ]}