openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/CACL_CLASS_READ_ALLOCATIONS:
    post:
      tags:
      - CACL
      operationId: /rfc/CACL_CLASS_READ_ALLOCATIONS
      requestBody:
        content:
          application/json:
            schema:
              properties:
                CLASS_TYPE:
                  type: string
                  maxLength: 3
                  description: Class type
                DATE:
                  type: string
                  maxLength: 10
                  description: Default change date system date
                I_AENNR:
                  type: string
                  maxLength: 12
                  description: Change Number
                LANGUAGE:
                  type: string
                  default: SYST-LANGU
                  maxLength: 1
                  description: Language key
                LOWER_CLASS:
                  type: string
                  maxLength: 18
                  description: Sub-class
                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:
                        - ''
              required:
              - CLASS_TYPE
              - LOWER_CLASS
              - 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:
                          - ''
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
