Viewing Equipment Header Information
You use this API to view the header information of an equipment by providing the equipment ID and equipment status.
Request
-
HTTP Method: GET
-
URL:Application_URL/services/api/v1/equipment({equipmentId})/header?status=<STATUS>
Description: Use the URL with STATUS 1, 2, or 3; where 1 gets the /ain/services/api/v1/equipment({equipment ID})/header?status=<STATUS>Unpublished version, 2 gets the Published version and 3 gets the Revision version.
-
Example URL: Application_URL/services/api/v1/equipment (E0B15BE85E2B41FBA06069B8D61CEB09)/header?status= 2
-
Authorization: You must have the roles EQUIPMENT_READ, EQUIPMENT_EDIT or EQUIPMENT_DELETE assigned to your user IDin the SAP Cloud Platform account.
Response
-
If an item of equipment with specified equipment ID exists, and you have necessary authorizations to view it, system returns the details of an item of equipment.
For more information, seehttps://help.sap.com/doc/040d5297b6804c3b903ee307cfcbf13c/1902/en-US/equipment.html#equipment__equipmentId___header_get .
-
If an item of equipment with the specified equipment ID does not exist, or you do not have appropriate authorizations to view it, system returns an error message.
For more information, see https://help.sap.com/doc/040d5297b6804c3b903ee307cfcbf13c/1902/en-US/equipment.html#equipment__equipmentId___header_get.