openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/CACL_OBJECT_READ_ALLOCATIONS:
    post:
      tags:
      - CACL
      operationId: /rfc/CACL_OBJECT_READ_ALLOCATIONS
      requestBody:
        content:
          application/json:
            schema:
              properties:
                CLASS_TYPE:
                  type: string
                  maxLength: 3
                  description: Class type
                DATE:
                  type: string
                  maxLength: 10
                  description: Change date
                I_AENNR:
                  type: string
                  maxLength: 12
                  description: Change Number
                I_OBJ_NOT_CHK:
                  type: string
                  default: ' '
                  maxLength: 1
                LANGUAGE:
                  type: string
                  default: SYST-LANGU
                  maxLength: 1
                  description: Language key          Default SY-LANGU
                OBJECT:
                  type: string
                  maxLength: 50
                OBJECT_TYPE:
                  type: string
                  maxLength: 30
                  description: Object ID, such as MARA, EQUI...
                ALLOCATIONS:
                  type: array
                  items:
                    type: object
                    properties:
                      CLASS_TYPE:
                        type: string
                        maxLength: 3
                        description: Class Type
                      CLASS:
                        type: string
                        maxLength: 18
                        description: Class number
                      CATCHWORD:
                        type: string
                        maxLength: 40
                        description: Class Description
                      STATUS:
                        type: string
                        maxLength: 1
                        description: Classification status
                      STAT_DESCR:
                        type: string
                        maxLength: 40
                        description: Text for a table entry
                      STANDARDCL:
                        type: string
                        maxLength: 1
                        description: 'Indicator: Standard Class  enumValues: ""='
                        enum:
                        - ''
                OBJECT_IDENTIFICATION:
                  type: array
                  items:
                    type: object
                    properties:
                      FIELD:
                        type: string
                        maxLength: 30
                        description: Field Name
                      VALUE:
                        type: string
                        maxLength: 100
                        description: External Key of Object To Be Classified
              required:
              - CLASS_TYPE
              - OBJECT_TYPE
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ALLOCATIONS:
                    type: array
                    items:
                      type: object
                      properties:
                        CLASS_TYPE:
                          type: string
                          maxLength: 3
                          description: Class Type
                        CLASS:
                          type: string
                          maxLength: 18
                          description: Class number
                        CATCHWORD:
                          type: string
                          maxLength: 40
                          description: Class Description
                        STATUS:
                          type: string
                          maxLength: 1
                          description: Classification status
                        STAT_DESCR:
                          type: string
                          maxLength: 40
                          description: Text for a table entry
                        STANDARDCL:
                          type: string
                          maxLength: 1
                          description: 'Indicator: Standard Class  enumValues: ""='
                          enum:
                          - ''
                  OBJECT_IDENTIFICATION:
                    type: array
                    items:
                      type: object
                      properties:
                        FIELD:
                          type: string
                          maxLength: 30
                          description: Field Name
                        VALUE:
                          type: string
                          maxLength: 100
                          description: External Key of Object To Be Classified
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
