--- title: WSD Presence API description: The WSD Presence API enables users to manage their in-office presence schedule, including weekly routines, one-time exceptions, and collaborator visibility.Removes a collaborator from the authenticated user’s presence visibility list. Use this endpoint when a user no longer wants to track a colleague’s office attendance.Deletes a specific presence exception identified by its sys\_id. Use this endpoint when a user wants to remove a one-time override and revert to their regular weekly routine for that date.Retrieves the list of collaborators for the authenticated user along with each collaborator’s presence data, routine, and exceptions. Use this endpoint to view the office attendance schedules of colleagues, enabling coordinated in-office planning.Retrieves presence exceptions for the authenticated user. Exceptions can be filtered by a date range or by a specific exception sys\_id. Use this endpoint when you need to view one-time overrides to a user’s weekly routine.Retrieves the authenticated user’s complete presence data, including their weekly in-office routine, scheduled presence exceptions, and optionally their collaborators’ presence information.Retrieves only the authenticated user’s weekly in-office routine. This is a lightweight alternative to GET /presence when you only need the routine schedule without exceptions or collaborators.Partially updates the authenticated user’s weekly in-office routine. Use this endpoint when a user needs to adjust specific days without resetting the entire schedule.Adds one or more collaborators to the authenticated user’s presence visibility list. Collaborators can then view each other’s presence data. Use this endpoint to build a team or group of colleagues whose office attendance you want to track.Creates a one-time presence exception for the authenticated user on a specific date. Use this endpoint when a user plans to be in the office on a day they normally work remotely, or vice versa.Creates a new weekly in-office routine for the authenticated user. Use this endpoint when a user is setting up their presence routine for the first time.Updates an existing presence exception by canceling it and creating a replacement. The original exception is identified by its sys\_id. Use this endpoint when a user needs to change the details of a previously created exception. locale: en-US canonical_url: https://www.servicenow.com/docs/r/australia/api-reference/rest-apis/wsd\_presence-api.html release: australia product: REST APIs classification: rest-apis topic_type: concept last_updated: "2026-04-27" reading_time_minutes: 38 breadcrumb: [REST API reference, API reference, API implementation and reference] --- # WSD Presence API The WSD Presence API enables users to manage their in-office presence schedule, including weekly routines, one-time exceptions, and collaborator visibility. This API supports the Workplace Service Delivery \(WSD\) Concierge experience by enabling employees to communicate their planned office attendance to colleagues. Use this API for the following actions: - Retrieve an authenticated user's complete presence data, including their weekly in-office routine, scheduled exceptions, and optionally collaborators' presence information. - Manage weekly in-office routines so employees can set a recurring schedule. - Create and manage one-time exceptions that override the routine for a specific date. - View and manage collaborators to enable coordinated in-office planning. An authenticated user is someone who is logged in or whose credentials are included in the API request. Call endpoints in any order; each operates independently. The WSD Presence API belongs to the sn\_wsd\_concierge namespace. The [WSD Reservation API](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/api-reference/rest-apis/wsd_reservation-api.md) `GET /user/context` endpoint can return presence schedule data from the WSD Presence API when the concierge plugin is active. ## Requirements The WSD Presence API requires: - The sn\_wsd\_core.workplace\_user role assigned to the user. - The Workplace Service Delivery Core \(com.sn\_wsd\_core\) and Workplace Service Delivery Concierge \(com.sn\_wsd\_concierge\) plugins activated. - At least one user record must exist in User \[sys\_user\] table with the sn\_wsd\_core.workplace\_user role assigned. **Parent Topic:**[REST API reference](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/api-reference/rest-apis/api-rest.md) ## WSD Presence - DELETE /api/sn\_wsd\_concierge/v1/presence/collaborator/\{collaborator\_id\} Removes a collaborator from the authenticated user’s presence visibility list. Use this endpoint when a user no longer wants to track a colleague’s office attendance. An authenticated user is someone who is logged in or whose credentials are included in the API request. The collaborator is identified by their sys\_id. ### URL format Versioned URL: `/api/sn_wsd_concierge/{api_version}/presence/collaborator/{collaborator_id}` Default URL: `/api/sn_wsd_concierge/presence/collaborator/{collaborator_id}` ### Supported request parameters
| Name | Description |
|---|---|
| api\_version | Optional. Version of the endpoint to access. For example, `v1` or `v2`. Only specify this value to use an endpoint version other than the latest. Data type: String |
| collaborator\_id | Sys\_id of the collaborator to remove from the user’s visibility list.Table: User \[sys\_user\] Data type: String |
| Name | Description |
|---|---|
| result | Object containing results of the request.Data type: Object ``` "result": { "message": "String" } ``` |
| result.message | Confirmation message indicating the number of collaborators removed.Data type: String |
| Name | Description |
|---|---|
| api\_version | Optional. Version of the endpoint to access. For example, `v1` or `v2`. Only specify this value to use an endpoint version other than the latest. Data type: String |
| exception\_id | Required. Sys\_id of the presence exception to delete.Table: Employee presence exceptions \(sn\_wsd\_concierge\_employee\_presence\_exception\) Data type: String |
| Name | Description |
|---|---|
| result | Object containing results of the request.Data type: Object ``` "result": { "message": "String" } ``` |
| result.message | Confirmation message indicating the exception was deleted.Data type: String |
| Name | Description |
|---|---|
| api\_version | Optional. Version of the endpoint to access. For example, `v1` or `v2`. Only specify this value to use an endpoint version other than the latest. Data type: String |
| Name | Description |
|---|---|
| result | Object containing results of the request.Data type: Object ``` "result": { "count": Number, "collaborators": [Array] } ``` |
| result.count | Total number of collaborators returned. Data type: Number |
| result.collaborators | List of collaborators with their presence data. If a collaborator has privacy enabled, **privacy\_enabled** is true with null **routine** and empty **exceptions**. Data type: Array of Objects ``` "collaborators": [ { "sys_id": "String", "name": "String", "privacy_enabled": Boolean, "routine": {Object}, "exceptions": [Array] } ] ``` |
| result.collaborators.sys\_id | Sys\_id of the collaborator's user record.Table: User \[sys\_user\] Data type: String |
| result.collaborators.name | Display name of the collaborator as it appears in their sys\_user record.Table: User \[sys\_user\] Data type: String |
| result.collaborators.privacy\_enabled | Boolean. Flag that indicates whether the collaborator has enabled privacy on their presence data.Valid values: - `true`: The collaborator's routine and exceptions are hidden. **routine** will be `null` and **exceptions** will be an empty array. - `false`: The collaborator's presence data is visible. Data type: Boolean |
| result.collaborators.routine | Collaborator's weekly in-office routine. Contains a Boolean flag for each day of the week indicating planned office attendance. Displays `true` when collaborator plans to be in-office for that day, and `false` when attendance isn't planned. Data type: Object ``` "routine": { "monday": Boolean" "tuesday": Boolean, "wednesday": Boolean, "thursday": Boolean, "friday": Boolean, "saturday": Boolean, "sunday": Boolean } ``` |
| result.collaborators.exceptions | Collaborator's one-time presence exceptions. Returns an empty array if `privacy_enabled` is `true`.Data type: Array of Objects ``` "exceptions": [ { "sys_id": "String", "date": "String", "in_office": Boolean, "origin": "String", "location": "String" } ] ``` |
| result.collaborators.exceptions.sys\_id | Sys\_id of the exception record.Table: Employee presence exceptions \(sn\_wsd\_concierge\_employee\_presence\_exception\) Data type: String |
| result.collaborators.exceptions.date | Date this exception applies to. This is the date the user's routine is being overridden.Format: yyyy-MM-dd Data type: String |
| result.collaborators.exceptions.in\_office | Flag that indicates whether the user will be in the office on this date. This overrides whatever the weekly routine specifies for that day of the week.Valid values: - `true`: User will be in the office. - `false`: User won't be in the office Data type: Boolean |
| result.collaborators.exceptions.origin | Source that created the exception.Valid values: - `user`: Created manually by the employee. - `system`: Created automatically by the platform. - `manual`: Created by an admin or on behalf of the user. Data type: String |
| result.collaborators.exceptions.location | Name or identifier of the office location the user will be at on this date. Only relevant when `in_office` is `true`. May be an empty string when the user is remote.Data type: String |
| Name | Description |
|---|---|
| api\_version | Optional. Version of the endpoint to access. For example, `v1` or `v2`. Only specify this value to use an endpoint version other than the latest. Data type: String |
| Name | Description |
|---|---|
| exception\_id | Sys\_id of a specific exception to retrieve.When provided, overrides the date range filter and returns only the matching exception. Table: Employee presence exceptions \(sn\_wsd\_concierge\_employee\_presence\_exception\) Data type: String |
| exception\_start\_date | Start date for filtering exceptions.Format: yyyy-MM-dd Data type: String Default: Today |
| exception\_end\_date | End date for filtering exceptions.Format: yyyy-MM-dd Data type: String Default: Today +3 months |
| Name | Description |
|---|---|
| result | Object containing results of the request.Data type: Object ``` "result": { "exceptions": [Array] } ``` |
| result.exceptions | List of presence exceptions matching the filter criteria.Data type: Array of Objects ``` "exceptions": [ { "sys_id": "sys_id", "date": "String", "in_office": String, "origin": "String", "location": "String" } ] ``` |
| result.exceptions.date | Date this exception applies to. This is the date the user's routine is being overridden.Format: yyyy-MM-dd format Data type: String |
| result.exceptions.in\_office | Flag that indicates whether the user will be in the office on this date. This overrides whatever the weekly routine specifies for that day of the week.Valid values: - `true`: User will be in the office. - `false`: User won't be in the office Data type: Boolean |
| result.exceptions.location | The name or identifier of the office location the user will be at on this date. Only relevant when `in_office` is `true`. May be an empty string when the user is remote.Data type: String |
| result.exceptions.origin | Source that created the exception.Valid values: - `user`: Created manually by the employee. - `system`: Created automatically by the platform. - `manual`: Created by an admin or on behalf of the user. Data type: String |
| result.exceptions.sys\_id | Sys\_id of the exception record.Table: Employee presence exceptions \(sn\_wsd\_concierge\_employee\_presence\_exception\) Data type: String |
| Name | Description |
|---|---|
| api\_version | Optional. Version of the endpoint to access. For example, `v1` or `v2`. Only specify this value to use an endpoint version other than the latest. Data type: String |
| Name | Description |
|---|---|
| user\_id | Sys\_id of the target user whose presence data to retrieve. If not provided, returns presence data for the authenticated user.**Note:** To query another user's presence data, the caller must have the admin role. Without it, the request returns 401 Unauthorized. Table: User \[sys\_user\] Data type: String |
| exception\_start\_date | Start date for filtering presence exceptions.Format: yyyy-MM-dd Data type: String Default: Today |
| exception\_end\_date | End date for filtering presence exceptions.Format: yyyy-MM-dd Data type: String Default: Today + 3 months |
| include | Related data to include in the response.Only valid value: `collaborators` Data type: String |
| Name | Description |
|---|---|
| result | Object containing results of the response.``` "result": { "routine": {Object}, "exceptions": [Array], "collaborators": [Array] } ``` |
| result.routine | Weekly in-office routine for the user. Contains a Boolean flag for each day of the week indicating planned office attendance. Displays `true` when the authenticated user plans to be in-office that day, and `false` when attendance isn't planned. Data type: Object ``` "routine": { "monday": Boolean, "tuesday": Boolean, "wednesday": Boolean, "thursday": Boolean, "friday": Boolean, "saturday": Boolean, "sunday": Boolean } ``` |
| result.exceptions | List of one-time presence exceptions that override the user’s routine for specific dates.Data type: Array of Objects ``` "exceptions": [ { "sys_id": "String", "date": "String", "in_office": Boolean, "origin": "String", "location": "String" } ] ``` |
| result.exceptions.sys\_id | Sys\_id of the exception record.Table: Employee presence exceptions \(sn\_wsd\_concierge\_employee\_presence\_exception\) Data type: String |
| result.exceptions.date | Date this exception applies to, in yyyy-MM-dd format. This is the date the user's routine is being overridden.Data type: String |
| result.exceptions.in\_office | Flag that indicates whether the user will be in the office on this date. This overrides whatever the weekly routine specifies for that day of the week.Valid values: - `true`: User will be in the office. - `false`: User won't be in the office Data type: Boolean |
| result.exceptions.origin | Source that created the exception.Valid values: - `user`: Created manually by the employee. - `system`: Created automatically by the platform. - `manual`: Created by an admin or on behalf of the user. Data type: String |
| result.exceptions.location | The name or identifier of the office location the user will be at on this date. Only relevant when `in_office` is `true`. May be an empty string when the user is remote.Data type: String |
| result.collaborators | List of collaborators and their presence data. Only returned when `include=collaborators` is specified.If a collaborator has privacy enabled, **privacy\_enabled** is true with null **routine** and empty **exceptions**. Data type: Array of Objects ``` "collaborators": [ { "sys_id": "String", "name": "String", "privacy_enabled": Boolean, "routine": {Object}, "exceptions": [Array] } ] ``` |
| result.collaborators.sys\_id | Sys\_id of the collaborator's user record.Table: User \[sys\_user\] Data type: String |
| result.collaborators.name | The display name of the collaborator as it appears in their sys\_user record.Table: User \[sys\_user\] Data type: String |
| result.collaborators.privacy\_enabled | Boolean. Flag that indicates whether the collaborator has enabled privacy on their presence data.Valid values: - `true`: The collaborator's routine and exceptions are hidden. **routine** will be `null` and **exceptions** will be an empty array. - `false`: The collaborator's presence data is visible. Data type: Boolean |
| result.collaborators.routine | The collaborator's weekly in-office routine.Contains a Boolean flag for each day of the week indicating planned office attendance. Displays `true` when the collaborator plans to be in-office that day, and `false` when attendance isn't planned. Data type: Object ``` "routine": { "monday": Boolean, "tuesday": Boolean, "wednesday": Boolean, "thursday": Boolean, "friday": Boolean, "saturday": Boolean, "sunday": Boolean } ``` |
| result.collaborators.exceptions | The collaborator's one-time presence exceptions. Follows the same structure as the authenticated user's **exceptions** parameter. Returns an empty array if `privacy_enabled` is `true`.Data type: Array of Objects ``` "exceptions": [ { "sys_id": "String", "date": "String", "in_office": Boolean, "origin": "String", "location": "String" } ] ``` |
| Name | Description |
|---|---|
| api\_version | Optional. Version of the endpoint to access. For example, `v1` or `v2`. Only specify this value to use an endpoint version other than the latest. Data type: String |
| Name | Description |
|---|---|
| result | Object containing results of the request.Data type: Object ``` "result": { "user_id": "String", "routine": {Object} } ``` |
| result.user\_id | Sys\_id of the user whose routine is returned.Table: User \[sys\_user\] Data type: String |
| result.routine | User's recurring weekly in-office schedule. Contains a Boolean flag for each day of the week indicating planned office attendance. Displays `true` when the user plans to be in-office that day, and `false` when attendance isn't planned. Data type: Object ``` "routine": { "monday": Boolean, "tuesday": Boolean, "wednesday": Boolean, "thursday": Boolean, "friday": Boolean, "saturday": Boolean, "sunday": Boolean } ``` |
| Name | Description |
|---|---|
| api\_version | Optional. Version of the endpoint to access. For example, `v1` or `v2`. Only specify this value to use an endpoint version other than the latest. Data type: String |
| Name | Description |
|---|---|
| routine | Required. The authenticated user's weekly routine.Contains a Boolean flag for each day of the week indicating planned office attendance. Displays `true` when the authenticated user plans to be in-office that day, and `false` when attendance isn't planned. Days omitted in the request remain unchanged. An empty routine object is accepted as a no-op. Data type: Object ``` "routine": { "monday": "Boolean", "tuesday": "Boolean", "wednesday": "Boolean", "thursday": "Boolean", "friday": "Boolean", "saturday": "Boolean", "sunday": "Boolean" } ``` |
| Name | Description |
|---|---|
| result | Object containing results of the request.Data type: Object ``` "result": { "message": "String", "result": {Object} } ``` |
| result.message | Confirmation message indicating the routine was updated.Data type: String |
| result.result | Contains the complete updated routine object with all seven days including unchanged days.Data type: Object ``` "result": { "routine": {Object} } ``` |
| result.routine | Weekly in-office routine. Contains a Boolean flag for each day of the week where `true` indicates in-office attendance, and `false` indicates no attendance.Data type: Object ``` "routine": { "monday": "Boolean", "tuesday": "Boolean", "wednesday": "Boolean", "thursday": "Boolean", "friday": "Boolean", "saturday": "Boolean", "sunday": "Boolean" } ``` |
| Name | Description |
|---|---|
| api\_version | Optional. Version of the endpoint to access. For example, `v1` or `v2`. Only specify this value to use an endpoint version other than the latest. Data type: String |
| Name | Description |
|---|---|
| collaborator\_ids | Required. Non-empty array of sys\_id values identifying users to add as collaborators.Table: User \[sys\_user\] Data type: Array of Strings``` "collaborator_ids": ["String", "String"] ``` |
| Name | Description |
|---|---|
| result | Object containing results of the request.Data type: Object ``` result": { "message": "String", "collaborators": [Array] } ``` |
| result.message | Confirmation message indicating collaborator\(s\) were added. Data type: String |
| result.collaborators | List of the newly added collaborators with their presence data.Data type: Array of Objects ``` "collaborators": [ { "sys_id": "String", "name": "String", "privacy_enabled": Boolean, "routine": {Object}, "exceptions": [Array] } ] ``` |
| result.collaborators.sys\_id | Sys\_id of the collaborator's user record.Table: User \[sys\_user\] Data type: String |
| result.collaborators.name | The display name of the collaborator as it appears in their sys\_user record.Table: User \[sys\_user\] Data type: String |
| result.collaborators.privacy\_enabled | Boolean. Flag that indicates whether the collaborator has enabled privacy on their presence data.Valid values: - true: The collaborator's routine and exceptions are hidden. **routine** will be `null` and **exceptions** will be an empty array. - false: The collaborator's presence data is visible. Data type: Boolean |
| result.collaborators.routine | The collaborator's weekly in-office routine. Contains a Boolean flag for each day of the week indicating planned office attendance. Displays `true` when the collaborator plans to be in-office that day, and `false` when attendance isn't planned. Data type: Object ``` "routine": { "monday": Boolean, "tuesday": Boolean, "wednesday": Boolean, "thursday": Boolean, "friday": Boolean, "saturday": Boolean, "sunday": Boolean } ``` |
| result.collaborators.exceptions | The collaborator's one-time presence exceptions. Returns an empty array if `privacy_enabled` is `true`.Data type: Array of Objects ``` "exceptions": [ { "sys_id": "String", "date": "String", "in_office": Boolean, "origin": "String", "location": "String" } ] ``` |
| result.collaborators.exceptions.sys\_id | Sys\_id of the exception record.Table: Employee presence exceptions \(sn\_wsd\_concierge\_employee\_presence\_exception\) Data type: String |
| result.collaborators.exceptions.date | Date this exception applies to. This is the date the user's routine is being overridden.Format: yyyy-MM-dd format Data type: String |
| result.collaborators.exceptions.in\_office | Flag that indicates whether the user will be in the office on this date. This overrides whatever the weekly routine specifies for that day of the week.Valid values: - `true`: User will be in the office. - `false`: User won't be in the office Data type: Boolean |
| result.collaborators.exceptions.origin | Source that created the exception.Valid values: - `user`: Created manually by the employee. - `system`: Created automatically by the platform. - `manual`: Created by an admin or on behalf of the user. Data type: String |
| result.collaborators.exceptions.location | The name or identifier of the office location the user will be at on this date. Only relevant when `in_office` is `true`. May be an empty string when the user is remote.Data type: String |
| Name | Description |
|---|---|
| api\_version | Optional. Version of the endpoint to access. For example, `v1` or `v2`. Only specify this value to use an endpoint version other than the latest. Data type: String |
| Name | Description |
|---|---|
| exception | Required. Exception object defining the one-time presence override.Data type: Object ``` "exception": { "date": "String", "in_office": "Boolean", "location": "String", "origin": "String" } ``` |
| exception.date | Date of the exception.Format: yyyy-MM-dd Data type: String |
| exception.in\_office | Flag that indicates whether the user will be in the office on this date.Possible values: - `true`: User will be in the office. - `false`: User won't be in the office. Data type: Boolean |
| exception.location | Name or identifier of the office location for this exception.Data type: String |
| exception.origin | Source of the exception.Valid values: - `user`: Created manually by the employee. - `system`: Created automatically by the platform. - `manual`: Created by an admin or on behalf of the user. Data type: String |
| Name | Description |
|---|---|
| result | Object containing the result of the request.Data type: Object ``` "result": { "message": "String", "result": {Object} } ``` |
| result.message | Confirmation message indicating the exception was added.Data type: String |
| result.result | Object containing the created exception\(s\).Data type: Object ``` "result": { "exceptions": [Array] } ``` |
| result.exceptions | Array containing details about the created exception\(s\).Data type: Array of Objects ``` "exceptions": [ { "date": "String", "location": "String", "in_office": Boolean, "origin": "String", "sys_id": "String" } ] ``` |
| result.result.exceptions.date | Date this exception applies to, in yyyy-MM-dd format. This is the date the user's routine is being overridden.Data type: String |
| result.result.exceptions.in\_office | Flag that indicates whether the user will be in the office on this date. This overrides whatever the weekly routine specifies for that day of the week.Valid values: - `true`: User will be in the office. - `false`: User won't be in the office Data type: Boolean |
| result.result.exceptions.location | The name or identifier of the office location the user will be at on this date. Only relevant when `in_office` is `true`. May be an empty string when the user is remote.Data type: String |
| result.result.exceptions.origin | Source that created the exception.Valid values: - `user`: Created manually by the employee. - `system`: Created automatically by the platform. - `manual`: Created by an admin or on behalf of the user. Data type: String |
| result.result.exceptions.sys\_id | Sys\_id of the exception record.Table: Employee presence exceptions \(sn\_wsd\_concierge\_employee\_presence\_exception\) Data type: String |
| Name | Description |
|---|---|
| api\_version | Optional. Version of the endpoint to access. For example, `v1` or `v2`. Only specify this value to use an endpoint version other than the latest. Data type: String |
| Name | Description |
|---|---|
| routine | Required. Weekly in-office routine for the user.Contains a Boolean flag for each day of the week indicating planned office attendance. Displays `true` when the user plans to be in-office that day, and `false` when attendance isn't planned. All days are required. Data type: Object ``` "routine": { "monday": "Boolean", "tuesday": "Boolean", "wednesday": "Boolean", "thursday": "Boolean", "friday": "Boolean", "saturday": "Boolean", "sunday": "Boolean" } ``` |
| Name | Description |
|---|---|
| result | Object containing results of the request.Data type: Object ``` "result": { "message": "String", "result": {Object} } ``` |
| result.message | Confirmation message indicating the routine was created.Data type: String |
| result.result | Contains the created routine object with all seven days.Data type: Object ``` "result": { "routine": {Object} } ``` |
| result.routine | User's weekly in-office routine. Contains a Boolean flag for each day of the week indicating planned office attendance. Displays `true` when the user plans to be in-office that day, and `false` when attendance isn't planned. Data type: Object ``` "routine": { "monday": "Boolean", "tuesday": "Boolean", "wednesday": "Boolean", "thursday": "Boolean", "friday": "Boolean", "saturday": "Boolean", "sunday": "Boolean" } ``` |
| Name | Description |
|---|---|
| api\_version | Optional. Version of the endpoint to access. For example, `v1` or `v2`. Only specify this value to use an endpoint version other than the latest. Data type: String |
| Name | Description |
|---|---|
| exception | Required. Exception object containing the updated details. The **sys\_id** and **in\_office** fields are required.Data type: Object ``` "exception": { "date": "String", "in_office": Boolean, "location": "String", "origin": "String", "sys_id": "String" } ``` |
| exception.date | Date of the exception.Format: yyyy-MM-dd Data type: String |
| exception.in\_office | Required. Flag that indicates whether the user will be in the office on this date.Possible values: - `true`: User will be in the office. - `false`: User won't be in the office. Data type: Boolean |
| exception.location | Name or identifier of the office location for this exception.Data type: String |
| exception.origin | Source of the exception.Valid values: - `user`: Created manually by the employee. - `system`: Created automatically by the platform. - `manual`: Created by an admin or on behalf of the user. Data type: String Default: user |
| exception.sys\_id | Required. Sys\_id of the existing exception to update.Table: Employee presence exceptions \(sn\_wsd\_concierge\_employee\_presence\_exception\) Data type: String |
| Name | Description |
|---|---|
| result | Object containing results of the request.Data type: Object ``` "result": { "message": "String", "result": {Object} } ``` |
| result.message | Confirmation message indicating the exception was updated. Data type: String |
| result.result | Contains the updated exception\(s\).Data type: Object ``` "result": { "exceptions": [Array] } ``` |
| result.result.exceptions | List of presence exceptions.Data type: Array of Objects ``` "exceptions": [ { "sys_id": "sys_id", "date": "String", "in_office": Boolean, "origin": "String", "location": "String" } ] ``` |
| result.result.exceptions.sys\_id | Sys\_id of the exception record.Table: Employee presence exceptions \(sn\_wsd\_concierge\_employee\_presence\_exception\) Data type: String |
| result.result.exceptions.date | Date this exception applies to, in yyyy-MM-dd format. This is the date the user's routine is being overridden.Data type: String |
| result.result.exceptions.in\_office | Flag that indicates whether the user will be in the office on this date. This overrides whatever the weekly routine specifies for that day of the week.Valid values: - `true`: User will be in the office. - `false`: User won't be in the office Data type: Boolean |
| result.result.exceptions.origin | Source that created the exception.Valid values: - `user`: Created manually by the employee. - `system`: Created automatically by the platform. - `manual`: Created by an admin or on behalf of the user. Data type: String |
| result.result.exceptions.location | The name or identifier of the office location the user will be at on this date. Only relevant when `in_office` is `true`. May be an empty string when the user is remote.Data type: String |