Viewing Location Templates for a Location
As an operator, you can view the location templates for a location.
Request
-
HTTP Method: GET
-
URL: Application_URL/services/api/v1/location({id})/templates?version={version}
-
Query Parameter: version
Refers to version of the location for which you want to view the location templates.
-
Example URL: Application_URL/services/api/v1/location(E0B15BE85E2B41FBA06069B8D61CEB09)/templates?version=2
-
Authorization: You must have the roles FUNCTIONAL_LOCATION_EDIT, FUNCTIONAL_LOCATION_READ or FUNCTIONAL_LOCATION_DELETE assigned to your user ID in the SAP Cloud Platform account.
Response
- If a location with the specified location ID exists, system returns the details of the templates that are assigned to the location along with attribute group and attributes assigned to the template.
For more information, see https://help.sap.com/doc/8e4a4828fc76493483b6c9fc1b8828b9/1902/en-US/location.html#location__id___templates_get.
- If the location with the specified ID does not exist, or you do not have appropriate authorizations to view the location templates, system returns an error message.
For more information, see https://help.sap.com/doc/8e4a4828fc76493483b6c9fc1b8828b9/1902/en-US/location.html#location__id___templates_get.