openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/GET_APPL_RELINFO_SDB:
    post:
      tags:
      - SADB
      operationId: /rfc/GET_APPL_RELINFO_SDB
      requestBody:
        content:
          application/json:
            schema:
              properties:
                CON_NAME:
                  type: string
                  maxLength: 30
                  description: Logical Name for a Database Connection
                IS_SERVER_INFO:
                  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
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ES_SRV_RELINFO:
                    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
                      SAPK_REL:
                        type: string
                        maxLength: 255
                        description: Line with 255 characters
                      SAPK_PATCH:
                        type: string
                        maxLength: 255
                        description: Line with 255 characters
                      DBSL_REL:
                        type: string
                        maxLength: 255
                        description: Line with 255 characters
                      DBSL_PATCH:
                        type: string
                        maxLength: 255
                        description: Line with 255 characters
                      PREC_REL:
                        type: string
                        maxLength: 255
                        description: Line with 255 characters
                      PREC_RUNT:
                        type: string
                        maxLength: 255
                        description: Line with 255 characters
                      DBMRFC_REL:
                        type: string
                        maxLength: 255
                        description: Line with 255 characters
                      DBMCLI_REL:
                        type: string
                        maxLength: 255
                        description: Line with 255 characters
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
