Viewing Enumeration Values
You use this API to view enumeration values of an equipment for a particular code.
Request
-
HTTP Method: GET
-
URL: Application_URL/services/api/v1/enumerationvalue?type=<ENUMERATION_TYPE>&code=<CODE>
-
Query Parameter: type, code
type: Refers to the enumeration type.
code: Refers to the code of the enumeration value
Description: Use this API to get a particular code value of an enumeration.
-
Example URL: Application_URL/services/api/v1/enumeration?type=EquipmentTracking&code=1
-
Authorization: You must have the roles EQUIPMENT_READ, EQUIPMENT_EDIT or EQUIPMENT_DELETE assigned to your user IDin the SAP Cloud Platform account.
Response
-
On successful execution, the system returns enumerations values. Otherwise, the system returns an empty object.
For more information, see https://help.sap.com/doc/040d5297b6804c3b903ee307cfcbf13c/1902/en-US/equipment.html#enumerationvalue_get.