Viewing Enumerations for a Model

You use this API to view the different types of enumerations that are required to create a model.

Request

  • HTTP Method: GET

  • URL: Application_URL/services/api/v1/enumeration?type=<ENUMERATION_TYPE>

  • Query Parameters: type

    Description: Use this API to get the required enumerations while creating a model by specifying the appropriate enumeration type. You can specify multiple enumeration types in the query parameters to get multiple enumerations.

  • Example URL: Application_URL/services/api/v1/enumeration?type=EquipmentTracking&type=SourceBPRole

  • Authorization: You must have the roles MODEL_READ, MODEL_EDIT, or MODEL_DELETE assigned to your user IDin the SAP Cloud Platform account.

    The following are the allowed enumeration types:
    • DurationUnit

    • StepRole

    • Tools

    • InstructionStatus

    • Source

    • RiskCategory

    • LanguageISOCode

    • StoredOn

    • DocumentCategory

    • FileSize

    • DocumentPhaseCode

    • InstructionType

    • Criticality

    • Priority

    • ManufacturerAnnouncement

    • OperatorAnnouncement

    • AnnouncementType

    • RegistrationStatus

    • OperatorAnnouncementStatus

    • EquipmentStatus

    • EquipmentSafetyRisk

    • DocumentCategoryOption

    • AccountType

    • AnnouncementSourceProcessingStatus

    • AnnouncementNonSourceProcessingStatus

    • AttributeType

    • AttributeOption

    • BusinessPartnerType

    • EquipmentTracking

    • SourceBPRole

    • AttributeDimension

    • ImprovementCaseStatus

    • ImprovementCaseEvent

    • ImprovementCaseType

    • ImprovementCaseRole

    • ProjectType

    • EquipmentLifeCycle

    • ComputedDurationUnit

    • AttributeDataType

    • TemplateType

    • ExpiryDate

    • ObjectPermission

    • ImprovementCaseOrgConfig

    • ImprovementCaseConnectionConfig

    • DuplicateReasonCode

    • LocationType

    • AccessPrivilege

    • ExternalSystemStatus

    • ExternalSystemType

    • MimeGroup

    • OrgScope

    • ExtensionStatus

    • AnnouncementPhase

    • AnnouncementAvailability

Response

The system returns the enumeration values if they exist. Otherwise, the system returns an empty object. For more information, see https://help.sap.com/doc/e8d1e2658da546de98ef9a6038474334/1902/en-US/model.html#enumeration_get.