openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/ADA_CHECK_SERVERS:
    post:
      tags:
      - SADAJOB
      operationId: /rfc/ADA_CHECK_SERVERS
      requestBody:
        content:
          application/json:
            schema:
              properties:
                SERVER:
                  type: object
                  properties:
                    NAME:
                      type: string
                      maxLength: 40
                      description: Application Server Name
                    HOST:
                      type: string
                      maxLength: 32
                      description: Name of Application Server
                    SERV:
                      type: string
                      maxLength: 20
                      description: Service
                    MSGTYPES:
                      type: string
                      format: byte
                      description: Services
                    HOSTADR:
                      type: string
                      format: byte
                      description: Host IP address
                    SERVNO:
                      type: string
                      format: byte
                      description: Service port number
                    STATE:
                      type: string
                      format: byte
                      description: Server Status
                PARAMS:
                  type: array
                  items:
                    type: object
                    properties:
                      PARNAME:
                        type: string
                        maxLength: 60
                        description: Profile parameter name
                      PARVALU:
                        type: string
                        maxLength: 60
                        description: Profile parameter value
              required:
              - SERVER
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  FOUND:
                    type: string
                    maxLength: 1
                  PARAMS:
                    type: array
                    items:
                      type: object
                      properties:
                        PARNAME:
                          type: string
                          maxLength: 60
                          description: Profile parameter name
                        PARVALU:
                          type: string
                          maxLength: 60
                          description: Profile parameter value
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
