Creating a Location
This API allows you to create a location for an equipment. As a prerequisite, you must create a functional unit and then create the functional location under the functional location.
Request
-
HTTP Method: POST
-
Example URL: Application_URL/services/api/v1/location
-
Authorization: You must have the roles FUNCTIONAL_LOCATION_EDIT or FUNCTIONAL_LOCATION_DELETE assigned to your user ID in the SAP Cloud Platform account.
-
Request Schema: To know about fields that you can use in a request payload, refer to the request schema in the https://help.sap.com/doc/8e4a4828fc76493483b6c9fc1b8828b9/1902/en-US/location.html#location_post file.
Response
-
If the system creates a location successfully, the system returns the details of the created location with an auto-generated ID.
For more information, see https://help.sap.com/doc/8e4a4828fc76493483b6c9fc1b8828b9/1902/en-US/location.html#location_post.
- If the system cannot create the location successfully, system returns appropriate error codes in the response payload.