Viewing a Location

You can use this API to view a location with the specified ID.

Request

  • HTTP Method: GET

  • URL: Application_URL/services/api/v1/location({id})?status=1, 2 or 3

    Description: Use the URL with status 1, 2, or 3; where 1 gets the Unpublished version, 2 gets the Published version and 3 gets the In Revision version.

  • Example URL: Application_URL/services/api/v1/location(E0B15BE85E2B41FBA06069B8D61CEB09)?status= 2

  • Authorization: You must have the roles FUNCTIONAL_LOCATION_READ, FUNCTIONAL_LOCATION_EDIT or FUNCTIONAL_LOCATION_DELETE assigned to your user ID in the SAP Cloud Platform account.

Response