Viewing Enumeration Values

You use this API to view the enumeration values for a particular code.

Request

  • HTTP Method: GET

  • URL: Application_URL/services/api/v1/enumerationvalue?type=<ENUMERATION_TYPE>&code=<CODE>

  • Query Parameters: type and code

    type: the type of enumeration.

    code: 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 MODEL_READ, MODEL_EDIT, or MODEL_DELETE assigned to your user IDin the SAP Cloud Platform account.

Response