openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/CCDSNU_CALL_DSNACCMN:
    post:
      tags:
      - S_CCDSNU_DB2
      summary: Calls DSNACCMN to submit a DB2 command
      operationId: /rfc/CCDSNU_CALL_DSNACCMN
      requestBody:
        content:
          application/json:
            schema:
              properties:
                DB2_COMMAND:
                  type: string
                  maxLength: 256
                  description: db2cl ifi command
                MEMBER:
                  type: string
                  maxLength: 8
                  description: Name of the data sharing group member
                COMMAND_OUTPUT:
                  type: array
                  items:
                    type: object
                    properties:
                      LINE:
                        type: string
                        maxLength: 72
                        description: The SQL statement text
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  COMMAND_OUTPUT:
                    type: array
                    items:
                      type: object
                      properties:
                        LINE:
                          type: string
                          maxLength: 72
                          description: The SQL statement text
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
