WSD Multi Reservation API
-
- UpdatedJan 30, 2025
- 12 minutes to read
- Yokohama
- API reference
The Workplace Service Delivery (WSD) Multi Reservation API provides endpoints for managing reservations with multiple workplace locations.
To access this API, the caller must have the sn_wsd_core.workplace_user role and the Workplace Safety Management (sn_wsd_core) and Workplace Reservation Management (sn_wsd_rsv) plugins must be activated.
This API runs in the sn_wsd_rsv
namespace.
For additional information on Workplace Reservation Management, see Workplace Reservation Management.
WSD Multi Reservation - PATCH /api/sn_wsd_rsv/multi_reservation/cancel/{sys_id}
Cancels a specified multi-reservation.
URL format
Versioned URL: /api/sn_wsd_rsv/{api_version}/multi_reservation/cancel/{sys_id}
Default URL: /api/sn_wsd_rsv/multi_reservation/cancel/{sys_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 |
sys_id | Sys_id of the multi-reservation to cancel. Data type: String Table: Workplace Reservation [sn_wsd_rsv_reservation] |
Name | Description |
---|---|
None |
Name | Description |
---|---|
cancel_notes | Reason for cancelling the reservation. Data type: String |
Headers
The following request and response headers apply to this HTTP action only, or apply to this action in a distinct way. For a list of general headers used in the REST API, see Supported REST API headers.
Header | Description |
---|---|
Accept | Data format of the
request body. Supported types: application/json,
application/xml or,
text/xml.
Default: application/json |
Content-Type | Data format of the request body. Only supports application/json. |
Header | Description |
---|---|
None |
Status codes
The following status codes apply to this HTTP action. For a list of possible status codes used in the REST API, see REST API HTTP response codes.
Response body parameters
Example: cURL request
The following code example shows how to cancel a multi-reservations.
Return results:
WSD Multi Reservation - PATCH /api/sn_wsd_rsv/multi_reservation/update/{sys_id}
Updates the reservations associated with a multi-reservation where the same reservation (meeting) has multiple workplace locations.
- Update the content of the multi-reservation record, such as the subject, date, or time.
- Convert the multi-reservation into a single reservation based on the parent (reservation for a single workplace location).
- Convert a single reservation (reservation for a single workplace location) into a multi-reservation.
- Add or remove a workplace location to an existing multi-reservation.
URL format
Versioned URL: /api/sn_wsd_rsv/{api_version}/multi_reservation/update/{sys_id}
Default URL: /api/sn_wsd_rsv/multi_reservation/update/{sys_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 |
sys_id | Sys_id of the reservation to update.
To get the details of a multi parent reservation from the child record, refer to the sys_id in the source_reservation field of the child record. Data type: String |
Name | Description |
---|---|
None |
Headers
The following request and response headers apply to this HTTP action only, or apply to this action in a distinct way. For a list of general headers used in the REST API, see Supported REST API headers.
Header | Description |
---|---|
Accept | Data format of the
request body. Supported types: application/json,
application/xml or,
text/xml.
Default: application/json |
Content-Type | Data format of the request body. Only supports application/json. |
Header | Description |
---|---|
None |
Status codes
The following status codes apply to this HTTP action. For a list of possible status codes used in the REST API, see REST API HTTP response codes.
Response body parameters
Example: cURL request
The following code example shows how to modify the content of an existing multi-reservation.
Return results:
Example: cURL request
The following code example shows how to add a workplace location to an existing multi-reservation.
Return results:
Example: cURL request
The following code example shows how to convert a single reservation to a multi-reservation.
Return results:
Example: cURL request
The following code example shows how to convert a multi-reservation into a single reservation.
Return results:
WSD Multi Reservation - POST /api/sn_wsd_rsv/multi_reservation/add
Creates workplace reservations for the same time at different workplace locations.
URL format
Versioned URL: /api/sn_wsd_rsv/{api_version}/multi_reservation/add
Default URL: /api/sn_wsd_rsv/multi_reservation/add
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 |
Name | Description |
---|---|
None |
Headers
The following request and response headers apply to this HTTP action only, or apply to this action in a distinct way. For a list of general headers used in the REST API, see Supported REST API headers.
Header | Description |
---|---|
Accept | Data format of the
request body. Supported types: application/json,
application/xml or,
text/xml.
Default: application/json |
Content-Type | Data format of the request body. Only supports application/json. |
Header | Description |
---|---|
None |
Status codes
The following status codes apply to this HTTP action. For a list of possible status codes used in the REST API, see REST API HTTP response codes.
Response body parameters
Example: cURL request
This code example shows how to reserve two different workplaces for the same reservation.
Return results: