openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RSDPL_CHA_MASTER_DATA_READ:
    post:
      tags:
      - RSDPL
      operationId: /rfc/RSDPL_CHA_MASTER_DATA_READ
      requestBody:
        content:
          application/json:
            schema:
              properties:
                I_CHANAME:
                  type: string
                  maxLength: 30
                I_REFERENCE_DATE:
                  type: string
                  format: date
                  default: SY-DATUM
                I_S_RFCMODE:
                  type: object
                  properties:
                    ID:
                      type: string
                      maxLength: 10
                      description: Logical identifier
                    RFC_RECEIVER:
                      type: string
                      maxLength: 30
                      description: Received RFC-capable ABAP function name
                    PACKAGESIZE:
                      type: integer
                      format: int32
                      description: Package Size
                I_VERSION:
                  type: string
                  default: A
                  maxLength: 1
                E_T_COLUMN:
                  type: array
                  items:
                    type: object
                    properties:
                      COLNAME:
                        type: string
                        maxLength: 30
                        description: 'DM API: Table column / field name'
                      IOBJNAME:
                        type: string
                        maxLength: 30
                        description: 'DM API: InfoObject name'
                      KEYFLAG:
                        type: string
                        maxLength: 1
                        description: Boolean
              required:
              - I_CHANAME
              - I_VERSION
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  E_TABLENAME:
                    type: string
                    maxLength: 30
                  E_T_COLUMN:
                    type: array
                    items:
                      type: object
                      properties:
                        COLNAME:
                          type: string
                          maxLength: 30
                          description: 'DM API: Table column / field name'
                        IOBJNAME:
                          type: string
                          maxLength: 30
                          description: 'DM API: InfoObject name'
                        KEYFLAG:
                          type: string
                          maxLength: 1
                          description: Boolean
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
