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
location
Required. Sys\_id of the workplace location for which to return the location layout details.Data type: String Table: Workplace Location \[sn\_wsd\_core\_workplace\_location\]
Name
Description
None
Required.
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 response body. Supported types: application/json or application/xml. Default: 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.
Status code
Description
200
Successful. The request was successfully processed.
400
Bad Request. A bad request type or malformed request was detected.
401
Unauthorized. The user credentials are incorrect or have not been passed.
500
Internal server error. An unexpected error occurred while processing the request. The response contains additional information about the error.
Response body parameters
Name
Description
result
List of the layouts associated with the specified workplace location.Data type: Array of Objects ``` "result": [ { "capacity": Number, "cleanup_duration": "String", "image": {Object}, "is_default": Boolean, "max_capacity": Number, "name": "String", "preparation_duration": "String", "short_description": "String", "sys_id": "String" } ]
</td></tr><tr><td>
result.capacity
</td><td>
Number of people that will attend the meeting.Data type: Number
</td></tr><tr><td>
result.cleanup\_duration
</td><td>
Amount of time it takes to clean the reservable for this layout.Data type: Number
Unit: Milliseconds
</td></tr><tr><td>
result.image
</td><td>
Details about an image that represents the layout for the associated reservable.Data type: Object
"image": { "link": "String", "sys_id": "String" }
Table: Images \[db\_image\]
</td></tr><tr><td>
result.image.link
</td><td>
Link to an image that represents the layout for this reservable.Data type: String
Table: Images \[db\_image\]
</td></tr><tr><td>
result.image.sys\_id
</td><td>
Sys\_id of the associated image record.Data type: String
</td></tr><tr><td>
result.is\_default
</td><td>
Flag that indicates whether the associated layout is the default for the reservable. Valid values:
- true: Default.
- false: Not default.
Data type: Boolean
</td></tr><tr><td>
result.name
</td><td>
Name of the location layout. Data type: String
</td></tr><tr><td>
result.max\_capacity
</td><td>
Maximum number of people that the layout associated with the reservable can accommodate.Data type: Number
</td></tr><tr><td>
result.preparation\_duration
</td><td>
Amount of time it takes to prepare the associated location layout.Data type: Number
Unit: Milliseconds
</td></tr><tr><td>
result.short\_description
</td><td>
Brief description of the location layout.Data type: String
</td></tr><tr><td>
result.sys\_id
</td><td>
Sys\_id of the location layout.Data type: String
Table: Layout \[sn\_wsd\_rsv\_layout\]
</td></tr></tbody>
</table>
### cURL request
The following code example shows how to call this endpoint.
"http://instance.servicenow.com/api/sn_wsd_rsv/extra_service/list_loc_layouts&location=d2716d4adb7210106c731dcd13961994" \ --request GET \ --header "Accept:application/json" \ --user "username":"password"
## WSD Extra Service - GET /api/sn\_wsd\_rsv/extra\_service/list\_loc\_standard\_services
Returns the details about the associated standard services for a specified workplace location.
### URL format
Versioned URL: `/api/sn_wsd_rsv/{api_version}/extra_service/list_loc_standard_services`
Default URL: `/api/sn_wsd_rsv/extra_service/list_loc_standard_services`
**Note:** Available versions are specified in the [REST API Explorer](../rest-api-explorer/use-REST-API-Explorer.md). For scripted REST APIs there is additional version information on the [Scripted REST Service form](../rest-api-explorer/c_CustomWebServices.md).
### Supported request parameters
<table class="rest_api_path_parameters"><thead><tr><th>
Name
</th><th>
Description
</th></tr></thead><tbody><tr><td>
api\_version
</td><td id="version-entry-RESTAPI">
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
</td></tr></tbody>
</table>
<table class="rest_api_query_parameters"><thead><tr><th>
Name
</th><th>
Description
</th></tr></thead><tbody><tr><td>
location
</td><td>
Required. Sys\_id of the workplace location for which to return the location layout standard services.Data type: String
Table: Workplace Location \[sn\_wsd\_core\_workplace\_location\]
</td></tr></tbody>
</table>
|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](../rest-api-explorer/c_RESTAPI.md).
<table class="rest_api_request_headers"><thead><tr><th>
Header
</th><th>
Description
</th></tr></thead><tbody><tr><td>
Accept
</td><td id="accept-entry-RESTAPI">Data format of the response body. Supported types: <strong>application/json</strong> or <strong>application/xml</strong>. Default: <strong>application/json</strong></td></tr></tbody>
</table>
|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](../rest-api-explorer/c_RESTAPI.md).
|Status code|Description|
|-----------|-----------|
|200|Successful. The request was successfully processed.|
|400|Bad Request. A bad request type or malformed request was detected.|
|401|Unauthorized. The user credentials are incorrect or have not been passed.|
|500|Internal server error. An unexpected error occurred while processing the request. The response contains additional information about the error.|
### Response body parameters
<table><thead><tr><th>
Name
</th><th>
Description
</th></tr></thead><tbody><tr><td>
result.standard\_services
</td><td>
Associated standard services, such as flip chart, projector screen, and whiteboard and markers.
Data type: Array of Objects
</td></tr><tr><td>
result.standard\_services.font\_awesome\_icon
</td><td id="std_serv_font-awesome_icon-reserv-entry">
Name of the thumbnail icon associated with the standard service.Data type: String
</td></tr><tr><td>
result.standard\_services.name
</td><td id="std_serv_name-reserv-entry">
Name of the standard service.Data type: String
</td></tr><tr><td>
result.standard\_services.short\_description
</td><td id="std_serv_short_description-reserv-entry">
Brief description of the standard service.Data type: String
</td></tr><tr><td>
result.standard\_services.sys\_id
</td><td id="std_serv_sys_id-reserv-entry">
Sys\_id of the standard service record.Data type: String
Table: Standard Service \[sn\_wsd\_rsv\_standard\_service\]
</td></tr></tbody>
</table>
### cURL request
The following code example shows how to call this endpoint to obtain the standard services.
"http://instance.servicenow.com/api/sn_wsd_rsv/extra_service/list_loc_standard_services&location=d2716d4adb7210106c731dcd13961994" \ --request GET \ --header "Accept:application/json" \ --user "username":"password"
Return results:
{ "result": [ { "sys_id": "9b01458edb7650106c731dcd13961945", "name": "Flip chart", "short_description": "Flip chart with paper sheets", "font_awesome_icon": "fa-calendar-o" }, { "sys_id": "abd0c18edb7650106c731dcd13961965", "name": "Projector screen", "short_description": "Connect laptop to screen (HDMI and DVI)", "font_awesome_icon": "fa-caret-square-o-right" }, { "sys_id": "9841858edb7650106c731dcd1396193c", "name": "Whiteboard", "short_description": "Whiteboard and markers", "font_awesome_icon": "fa-pencil-square-o" } ] } ```