openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/CONTROL_PERF_REQUEST:
    post:
      tags:
      - SMON
      operationId: /rfc/CONTROL_PERF_REQUEST
      requestBody:
        content:
          application/json:
            schema:
              properties:
                LOCAL_REMOTE:
                  type: string
                  default: LOCAL
                  maxLength: 6
                LOGICAL_DESTINATION:
                  type: string
                  maxLength: 32
                REQUEST_ID:
                  type: integer
                  format: int32
                  description: Key for the request (shared memory block)
                REQUEST_MODE:
                  type: string
                  maxLength: 1
                  description: Request mode (S = synchron,, P = put, G = get)
                REQUEST_PARAM1:
                  type: string
                  maxLength: 512
                  description: Parameter for input and output
                REQUEST_PARAM2:
                  type: string
                  maxLength: 512
                  description: Parameter for input and output
                REQUEST_PARAM3:
                  type: string
                  maxLength: 512
                  description: Parameter for input and output
                REQUEST_TYP:
                  type: integer
                  format: int32
                  description: Request type (value 100, 101, ....)
              required:
              - LOGICAL_DESTINATION
              - REQUEST_ID
              - REQUEST_MODE
              - REQUEST_PARAM1
              - REQUEST_PARAM2
              - REQUEST_PARAM3
              - REQUEST_TYP
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  REQUEST_ID:
                    type: integer
                    format: int32
                    description: Key for the request (shared memory block)
                  REQUEST_PARAM1:
                    type: string
                    maxLength: 512
                    description: Parameter for input and output
                  REQUEST_PARAM2:
                    type: string
                    maxLength: 512
                    description: Parameter for input and output
                  REQUEST_PARAM3:
                    type: string
                    maxLength: 512
                    description: Parameter for input and output
                  REQUEST_RETURN_CODE:
                    type: integer
                    format: int32
                    description: Return code
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
