openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/DB2_CCMS_TEST_CONNECTIONS:
    post:
      tags:
      - SDB2CCMS
      summary: install and/or test connections
      operationId: /rfc/DB2_CCMS_TEST_CONNECTIONS
      requestBody:
        content:
          application/json:
            schema:
              properties:
                UPDATE_FORCE:
                  type: integer
                  format: int32
                CONNECTIONS:
                  type: array
                  items:
                    type: object
                    properties:
                      NAME:
                        type: string
                        maxLength: 32
                        description: Name of the connection
                      SSID:
                        type: string
                        maxLength: 4
                        description: subsystem id
                      HOST:
                        type: string
                        maxLength: 128
                        description: host name
                      PORT:
                        type: string
                        maxLength: 96
                        description: port
                      LOCATION:
                        type: string
                        maxLength: 128
                        description: location
                      PLAN:
                        type: string
                        maxLength: 24
                        description: plan name
                      FTP_HOST:
                        type: string
                        maxLength: 128
                        description: host used for ftp
                      RETRY_CNT:
                        type: string
                        maxLength: 3
                        description: retry count for the connection
                      SLEEP_TIME:
                        type: string
                        maxLength: 11
                        description: sleep time before next retry
                      MEMBER:
                        type: string
                        maxLength: 8
                        description: member name of a data sharing group
                      PS:
                        type: string
                        maxLength: 128
                        description: DB2 package set (collection)
                PROTOCOL:
                  type: array
                  items:
                    type: object
                    properties:
                      LINE:
                        type: string
                        maxLength: 255
                        description: Line
              required:
              - UPDATE_FORCE
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  RC:
                    type: integer
                    format: int32
                    description: message field
                  REASON:
                    type: string
                    maxLength: 255
                    description: message field
                  CONNECTIONS:
                    type: array
                    items:
                      type: object
                      properties:
                        NAME:
                          type: string
                          maxLength: 32
                          description: Name of the connection
                        SSID:
                          type: string
                          maxLength: 4
                          description: subsystem id
                        HOST:
                          type: string
                          maxLength: 128
                          description: host name
                        PORT:
                          type: string
                          maxLength: 96
                          description: port
                        LOCATION:
                          type: string
                          maxLength: 128
                          description: location
                        PLAN:
                          type: string
                          maxLength: 24
                          description: plan name
                        FTP_HOST:
                          type: string
                          maxLength: 128
                          description: host used for ftp
                        RETRY_CNT:
                          type: string
                          maxLength: 3
                          description: retry count for the connection
                        SLEEP_TIME:
                          type: string
                          maxLength: 11
                          description: sleep time before next retry
                        MEMBER:
                          type: string
                          maxLength: 8
                          description: member name of a data sharing group
                        PS:
                          type: string
                          maxLength: 128
                          description: DB2 package set (collection)
                  PROTOCOL:
                    type: array
                    items:
                      type: object
                      properties:
                        LINE:
                          type: string
                          maxLength: 255
                          description: Line
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
