openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/CACL_CLASS_READ_ALLOCATIONS_TD:
    post:
      tags:
      - CACL
      operationId: /rfc/CACL_CLASS_READ_ALLOCATIONS_TD
      requestBody:
        content:
          application/json:
            schema:
              properties:
                CLASS_TYPE:
                  type: string
                  maxLength: 3
                  description: Class Type
                DATE:
                  type: string
                  maxLength: 10
                I_AENNR:
                  type: string
                  maxLength: 12
                  description: Change Number
                I_MAFID:
                  type: string
                  default: ' '
                  maxLength: 1
                LANGUAGE:
                  type: string
                  default: SYST-LANGU
                  maxLength: 1
                  description: Language Key
                UPPER_CLASS:
                  type: string
                  maxLength: 18
                  description: Initial Class
                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:
                        - ''
                T_OBJECTS:
                  type: array
                  items:
                    type: object
                    properties:
                      OBJID:
                        type: string
                        maxLength: 30
                        description: Name of database table for object
                      OBJEK:
                        type: string
                        maxLength: 50
                        description: Key of object to be classified
              required:
              - CLASS_TYPE
              - UPPER_CLASS
      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:
                          - ''
                  T_OBJECTS:
                    type: array
                    items:
                      type: object
                      properties:
                        OBJID:
                          type: string
                          maxLength: 30
                          description: Name of database table for object
                        OBJEK:
                          type: string
                          maxLength: 50
                          description: Key of object to be classified
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
