openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/STU3_ADMIN_SAVE_SAP_COLL_SET:
    post:
      tags:
      - STU3_ADMIN
      summary: Saves SAP collector settings in table DB2MISC
      operationId: /rfc/STU3_ADMIN_SAVE_SAP_COLL_SET
      requestBody:
        content:
          application/json:
            schema:
              properties:
                SETTINGS:
                  type: object
                  properties:
                    SSID:
                      type: string
                      maxLength: 42
                      description: ''
                    IFI_DEST:
                      type: string
                      maxLength: 32
                      description: Logical Destination (Specified in Function Call)
                    PACKAGE:
                      type: string
                      maxLength: 200
                      description: ''
                    PLAN:
                      type: string
                      maxLength: 200
                      description: ''
                    RFC_PATH:
                      type: string
                      maxLength: 200
                      description: ''
                    RFC_TRACE:
                      type: string
                      maxLength: 200
                      description: ''
                    RFC_USER:
                      type: string
                      maxLength: 200
                      description: ''
                    USERS_NO:
                      type: string
                      maxLength: 200
                      description: ''
                    WLM_APP_ENV:
                      type: string
                      maxLength: 32
                      description: WLM application environment of stored procedure SAPCL
                    LINKEDITLIB:
                      type: string
                      maxLength: 32
                      description: z/OS system library for link-edit job
                    DB2LOADLIB2:
                      type: string
                      maxLength: 44
                      description: DB2 load library used for SAPCL link-edit
                    DB2LOADLIB:
                      type: string
                      maxLength: 44
                      description: DB2 load library
                    DB2RUNLIB:
                      type: string
                      maxLength: 44
                      description: DB2 run library
                    JESOUTPUT:
                      type: string
                      maxLength: 32
                      description: JES held output class
                    PLANTIAD:
                      type: string
                      maxLength: 32
                      description: Plan of DSNTIAD
                    DBTRCSZ:
                      type: string
                      maxLength: 10
                      description: DB trace size
                    ALERT_HIST:
                      type: string
                      maxLength: 10
                      description: Number of days DB2 alert history is kept
                    DSC_HIST:
                      type: string
                      maxLength: 10
                      description: Number of days to keep DB2 statement cache history
                SAPCL_PROF:
                  type: array
                  items:
                    type: object
                    properties:
                      CLKEY:
                        type: string
                        maxLength: 254
                        description: Parameter name
                      CLVALUE:
                        type: string
                        maxLength: 254
                        description: Parameter value
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  SAPCL_PROF:
                    type: array
                    items:
                      type: object
                      properties:
                        CLKEY:
                          type: string
                          maxLength: 254
                          description: Parameter name
                        CLVALUE:
                          type: string
                          maxLength: 254
                          description: Parameter value
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
