|
result
|
Object containing results of the request.Data type: Object
```
"result": {
"collaborators": [Array],
"reservations": {Object},
"schedule": {Object},
"workplace_location": {Object}
}
```
|
|
collaborators
|
List of the user's collaborators with their presence data.Data type: Array of Objects
```
"collaborators": [
{
"exceptions": "Array",
"name": "String",
"routine": "Object",
"sys_id": "String",
}
]
```
|
|
collaborators.exceptions
|
List of dates on which the collaborator's in-office schedule deviates from their routine.Data type: Array of Objects
```
"exceptions": [
{
"date": "String",
"in_office": Boolean,
"location": "String",
"origin": "String",
"sys_id": "String"
}
]
```
|
|
collaborators.exceptions.sys\_id
|
Sys\_id of the exception record.Table: Employee presence exceptions \(sn\_wsd\_concierge\_employee\_presence\_exception\)
Data type: String
|
|
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
|
|
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
|
|
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
|
|
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
|
|
collaborators.name
|
Display name of the collaborator. For example, `Jane Smith`.Data type: String
|
|
collaborators.routine
|
The collaborator's recurring weekly in-office schedule. Follows the same day-of-week Boolean structure as **schedule.routine**.A value of `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
}
```
|
|
collaborators.sys\_id
|
Sys\_id of the collaborator's user record. Table: User \[sys\_user\]
Data type: String
|
|
reservations
|
Object containing the user's past and future reservations. Private and location-less reservations are excluded. Maximum 100 reservations per direction.
Filtered by states: confirmed, completed.
Data type: Object
```
"reservations": {
"past": [Array],
"future": [Array]
}
```
|
|
reservations.future
|
List of the user's future reservations within the requested month range. Ordered by start datetime, soonest first.Data type: Array of Object
```
"future": [
{
"sys_id": "String",
"number": "String",
"start": "String",
"end": "String",
"state": "String",
"subject": "String,
"location": {Object},
"building": {Object}
}
]
```
|
|
reservations.future.building
|
Building in which the reserved location resides.Data type: Object
```
"building": {
"name": "String",
"sys_id": "String"
}
```
|
|
reservations.future.building.name
|
Display name of the building. For example, `HQ Building A`.Data type: String
|
|
reservations.future.building.sys\_id
|
Sys\_id of the building record.Table: Workplace Building \[sn\_wsd\_core\_building\]
Data type: String
|
|
reservations.future.end
|
End date time of the reservation in UTC. Format: yyyy-MM-dd HH:mm:ss
Data type: String
|
|
reservations.future.location
|
The reserved space.Data type: Object
```
"location": {
"sys_id": "String",
"name": "String"
}
```
|
|
reservations.future.location.name
|
Display name of the reserved location. For example, `Desk 42`. Data type: String
|
|
reservations.future.location.sys\_id
|
Sys\_id of the reserved location.Table: Workplace Location \[sn\_wsd\_core\_workplace\_location\]
Data type: String
|
|
reservations.future.number
|
Human-readable reservation number. For example, `RSV0001234`.Data type: String
|
|
reservations.future.start
|
Start date time of the reservation in UTC.Format: yyyy-MM-dd HH:mm:ss
Data type: String
|
|
reservations.future.state
|
Current state of the reservation. Valid values:
- `confirmed`
- `completed`
Data type: String
|
|
reservations.future.subject
|
Subject or title of the reservation. For example, `Team standup desk`.Data type: String
|
|
reservations.future.sys\_id
|
Sys\_id of the reservation record. Table: Workplace Reservation \[sn\_wsd\_rsv\_reservation\]
Data type: String
|
|
reservations.past
|
List of the user's past reservations within the requested month range. Ordered by start date/time, most recent first.Data type: Array of Objects
```
"past": [
{
"sys_id": "String",
"number": "String",
"start": "String",
"end": "String",
"state": "String",
"subject": "String,
"location": {Object},
"building": {Object}
}
]
```
|
|
reservations.past.building.name
|
Display name of the building. For example, `HQ Building A`.Data type: String
|
|
reservations.past.building.sys\_id
|
Sys\_id of the building record.Table: Workplace Building \[sn\_wsd\_core\_building\]
Data type: String
|
|
reservations.past.end
|
End date time of the reservation in UTC. Format: yyyy-MM-dd HH:mm:ss
Data type: String
|
|
reservations.past.location
|
The reserved space.Data type: Object
```
"location": {
"sys_id": "String",
"name": "String"
}
```
|
|
reservations.past.location.name
|
Display name of the reserved location. For example, `Desk 42`. Data type: String
|
|
reservations.past.location.sys\_id
|
Sys\_id of the reserved location.Table: Workplace Location \[sn\_wsd\_core\_workplace\_location\]
Data type: String
|
|
reservations.past.number
|
Human-readable reservation number. For example, `RSV0001234`.Data type: String
|
|
reservations.past.start
|
Start date time of the reservation in UTC.Format: yyyy-MM-dd HH:mm:ss
Data type: String
|
|
reservations.past.state
|
Current state of the reservation. Valid values:
- `confirmed`
- `completed`
Data type: String
|
|
reservations.past.subject
|
Subject or title of the reservation. For example, `Team standup desk`.Data type: String
|
|
reservations.past.sys\_id
|
Sys\_id of the reservation record. Table: Workplace Reservation \[sn\_wsd\_rsv\_reservation\]
Data type: String
|
|
schedule
|
User's in-office presence schedule, including their recurring weekly routine and any exceptions.**Note:** When the com.sn\_wsd\_concierge plugin is inactive, routine is null and exceptions is an empty array.
Data type: Object
```
"schedule": {
"exceptions": [Array],
"routine": {Object}
}
```
|
|
schedule.exceptions
|
List of dates on which the user's in-office schedule deviates from their routine.Data type: Array of Objects
```
"exceptions": [
{
"sys_id": "sys_id",
"date": "String",
"in_office": Boolean,
"origin": "String",
"location": "String"
}
]
```
|
|
schedule.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
|
|
schedule.exceptions.in\_office
|
Flag that indicates whether the user will be in the office on this date. This overrides whatever the schedule 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
|
|
schedule.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
|
|
schedule.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
|
|
schedule.exceptions.sys\_id
|
Sys\_id of the exception record.Table: Employee presence exceptions \(sn\_wsd\_concierge\_employee\_presence\_exception\)
Data type: String
|
|
schedule.routine
|
User's recurring weekly in-office schedule. Each field is a Boolean which represents a day of the week and indicates whether the user is scheduled to be in-office on that day.A value of `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
}
```
|
|
workplace\_location
|
The user's assigned workplace location, including floor, building, and campus details.Data type: Object
```
"workplace_location": {
"building": {Object},
"campus": {Object},
"floor": {Object},
"name": "String",
"sys_id": "String"
}
```
|
|
workplace\_location.building
|
Building in which the workplace location resides. Data type: Object
```
"building": {
"name": "String",
"sys_id": "String"
}
```
|
|
workplace\_location.building.name
|
Display name of the building. For example, `HQ Building A`. Data type: String
|
|
workplace\_location.building.sys\_id
|
Sys\_id of the building record. Table: Workplace Building \[sn\_wsd\_core\_building\]
Data type: String
|
|
workplace\_location.campus
|
Campus on which the building resides. Data type: Object
```
"campus": {
"name": "String",
"sys_id": "String"
}
```
|
|
workplace\_location.campus.name
|
Display name of the campus. For example, `Main Campus`.Data type: String
|
|
workplace\_location.campus.sys\_id
|
Sys\_id of the campus record.Table: Workplace Campus \[sn\_wsd\_core\_campus\]
Data type: String
|
|
workplace\_location.floor
|
Floor on which the workplace location resides. Data type: Object
```
"floor": {
"name": "String",
"sys_id": "String"
}
```
|
|
workplace\_location.floor.name
|
Display name of the floor. For example, `Floor 3`. Data type: String
|
|
workplace\_location.floor.sys\_id
|
Sys\_id of the floor record. Table: Workplace Floor \[sn\_wsd\_core\_floor\]
Data type: String
|
|
workplace\_location.name
|
Display name of the user's assigned workplace location. For example, `Desk 42 - Floor 3`. Data type: String
|
|
workplace\_location.sys\_id
|
Sys\_id of the user's assigned workplace location. Table: Workplace Location \[sn\_wsd\_core\_workplace\_location\]
Data type: String
|