openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/CARD_CLASS_READ_ALLOC:
    post:
      tags:
      - CACLR
      operationId: /rfc/CARD_CLASS_READ_ALLOC
      requestBody:
        content:
          application/json:
            schema:
              properties:
                CHANGE_NO:
                  type: string
                  default: ' '
                  maxLength: 12
                  description: Change number
                CLASS:
                  type: string
                  maxLength: 18
                  description: Class name
                CLASS_TYPE:
                  type: string
                  maxLength: 3
                  description: Class type
                DATE:
                  type: string
                  default: ' '
                  maxLength: 10
                  description: Validity date
                LIST_ALL_GLOBL:
                  type: string
                  default: X
                  maxLength: 1
                  description: 'Flag: Transfer global object dependencies to list'
                LIST_ALL_LOCAL:
                  type: string
                  default: X
                  maxLength: 1
                  description: 'Flag: Transfer global object dependencies to list'
                DEP_ASSIGN:
                  type: array
                  items:
                    type: object
                    properties:
                      DEPENDENCY:
                        type: string
                        maxLength: 30
                        description: Name of Dependency
                      PROC_ORDER:
                        type: integer
                        format: int64
                        description: Counter for sorting object allocations
                      FL_LOC_DEP:
                        type: string
                        maxLength: 1
                        description: 'Indicator: Local Object Dependencies  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
              required:
              - CLASS
              - CLASS_TYPE
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  RETURN:
                    type: object
                    properties:
                      TYPE:
                        type: string
                        maxLength: 1
                        description: 'Message type: S Success, E Error, W Warning, I Info, A Abort'
                      CODE:
                        type: string
                        maxLength: 5
                        description: Message code
                      MESSAGE:
                        type: string
                        maxLength: 220
                        description: Message Text
                      LOG_NO:
                        type: string
                        maxLength: 20
                        description: 'Application log: log number'
                      LOG_MSG_NO:
                        type: integer
                        format: int64
                        description: 'Application log: Internal message serial number'
                      MESSAGE_V1:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MESSAGE_V2:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MESSAGE_V3:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MESSAGE_V4:
                        type: string
                        maxLength: 50
                        description: Message Variable
                  DEP_ASSIGN:
                    type: array
                    items:
                      type: object
                      properties:
                        DEPENDENCY:
                          type: string
                          maxLength: 30
                          description: Name of Dependency
                        PROC_ORDER:
                          type: integer
                          format: int64
                          description: Counter for sorting object allocations
                        FL_LOC_DEP:
                          type: string
                          maxLength: 1
                          description: 'Indicator: Local Object Dependencies  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
