openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SAPWL_WORKL_PARALLEL_COLLECTOR:
    post:
      tags:
      - STUW
      operationId: /rfc/SAPWL_WORKL_PARALLEL_COLLECTOR
      requestBody:
        content:
          application/json:
            schema:
              properties:
                NEW_COLLPARAMS:
                  type: array
                  items:
                    type: object
                    properties:
                      SYSTEMID:
                        type: string
                        maxLength: 32
                        description: UUID in character form
                      PARAMNAME:
                        type: string
                        maxLength: 40
                        description: 'SAP workload parameter: Name of parameter'
                      PARAMTYPE:
                        type: string
                        maxLength: 1
                        description: 'SAP workload parameter: Parameter type (I/C)'
                      PAR_INTVAL:
                        type: integer
                        format: int32
                        description: 'SAP workload parameter: Parameter value of type INTEGER'
                      PAR_CHRVAL:
                        type: string
                        maxLength: 128
                        description: 'SAP workload parameter: Parameter value of type CHAR'
                      LASTCHGDAT:
                        type: string
                        format: date
                        description: 'SAP workload parameter: Date of last change'
                      LASTCHGTIM:
                        type: string
                        maxLength: 6
                        description: 'SAP workload parameter: Time of last change'
                      LASTCHGUSR:
                        type: string
                        maxLength: 12
                        description: 'SAP workload parameter: Last changed by'
                INSTANZEN:
                  type: array
                  items:
                    type: object
                    properties:
                      NAME:
                        type: string
                        maxLength: 20
                        description: Server Name
                      HOST:
                        type: string
                        maxLength: 20
                        description: Host
                      SYSTEMNR:
                        type: integer
                        format: int64
                        description: Two digit number
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  INSTANZEN:
                    type: array
                    items:
                      type: object
                      properties:
                        NAME:
                          type: string
                          maxLength: 20
                          description: Server Name
                        HOST:
                          type: string
                          maxLength: 20
                          description: Host
                        SYSTEMNR:
                          type: integer
                          format: int64
                          description: Two digit number
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
