openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/LDB_CALLBACK:
    post:
      tags:
      - SLDBFREE
      operationId: /rfc/LDB_CALLBACK
      requestBody:
        content:
          application/json:
            schema:
              properties:
                CALLBACK_TAB:
                  type: array
                  items:
                    type: object
                    properties:
                      LDBNODE:
                        type: string
                        maxLength: 14
                        description: Logical node name
                      GET:
                        type: string
                        maxLength: 1
                        description: 'Flag: Direct callback call (corresponds to GET event)  enumValues: X='
                        enum:
                        - X
                      GET_LATE:
                        type: string
                        maxLength: 1
                        description: 'Flag: Callback call delayed (Corresponds to LATE event)  enumValues: X='
                        enum:
                        - X
                      CB_PROG:
                        type: string
                        maxLength: 40
                        description: Callback routine program
                      CB_FORM:
                        type: string
                        maxLength: 30
                        description: Callback Routine Name
                LDBNODES:
                  type: array
                  items:
                    type: object
                    properties:
                      CURRNUMB:
                        type: integer
                        format: int32
                        description: Current number of the table in the LDB
                      LDBNODE:
                        type: string
                        maxLength: 14
                        description: Logical node name
                      PARENTNODE:
                        type: string
                        maxLength: 14
                        description: Logical node name
                      STRUCTURE:
                        type: string
                        maxLength: 30
                        description: Table Name
                      TYPE:
                        type: string
                        maxLength: 1
                        description: 'Logical node type  enumValues: C=Complex data object,T=Dictionary table,A=Typed nodes (ANY) at runtime,S=Structure from the Dictionary'
                        enum:
                        - C
                        - T
                        - A
                        - S
                      TYPEPOOL:
                        type: string
                        maxLength: 5
                        description: 'Logical database: Type pool name'
                      DYNSEL:
                        type: string
                        maxLength: 1
                        description: 'Flag (character)  enumValues: X='
                        enum:
                        - X
                      FIELDSEL:
                        type: string
                        maxLength: 1
                        description: 'Flag (character)  enumValues: X='
                        enum:
                        - X
                RESULTS:
                  type: array
                  items:
                    type: object
                    properties:
                      DATA:
                        type: string
                        maxLength: 1024
                        description: Data read from LDB
                      MODE:
                        type: string
                        maxLength: 1
                        description: ''
                      LDBNODE:
                        type: string
                        maxLength: 14
                        description: Logical node name
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  CALLBACK_TAB:
                    type: array
                    items:
                      type: object
                      properties:
                        LDBNODE:
                          type: string
                          maxLength: 14
                          description: Logical node name
                        GET:
                          type: string
                          maxLength: 1
                          description: 'Flag: Direct callback call (corresponds to GET event)  enumValues: X='
                          enum:
                          - X
                        GET_LATE:
                          type: string
                          maxLength: 1
                          description: 'Flag: Callback call delayed (Corresponds to LATE event)  enumValues: X='
                          enum:
                          - X
                        CB_PROG:
                          type: string
                          maxLength: 40
                          description: Callback routine program
                        CB_FORM:
                          type: string
                          maxLength: 30
                          description: Callback Routine Name
                  LDBNODES:
                    type: array
                    items:
                      type: object
                      properties:
                        CURRNUMB:
                          type: integer
                          format: int32
                          description: Current number of the table in the LDB
                        LDBNODE:
                          type: string
                          maxLength: 14
                          description: Logical node name
                        PARENTNODE:
                          type: string
                          maxLength: 14
                          description: Logical node name
                        STRUCTURE:
                          type: string
                          maxLength: 30
                          description: Table Name
                        TYPE:
                          type: string
                          maxLength: 1
                          description: 'Logical node type  enumValues: C=Complex data object,T=Dictionary table,A=Typed nodes (ANY) at runtime,S=Structure from the Dictionary'
                          enum:
                          - C
                          - T
                          - A
                          - S
                        TYPEPOOL:
                          type: string
                          maxLength: 5
                          description: 'Logical database: Type pool name'
                        DYNSEL:
                          type: string
                          maxLength: 1
                          description: 'Flag (character)  enumValues: X='
                          enum:
                          - X
                        FIELDSEL:
                          type: string
                          maxLength: 1
                          description: 'Flag (character)  enumValues: X='
                          enum:
                          - X
                  RESULTS:
                    type: array
                    items:
                      type: object
                      properties:
                        DATA:
                          type: string
                          maxLength: 1024
                          description: Data read from LDB
                        MODE:
                          type: string
                          maxLength: 1
                          description: ''
                        LDBNODE:
                          type: string
                          maxLength: 14
                          description: Logical node name
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
