openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SMLG_GET_DEFINED_SERVERS:
    post:
      tags:
      - SMLG
      summary: Return Instances for a Logon / Server Group
      operationId: /rfc/SMLG_GET_DEFINED_SERVERS
      requestBody:
        content:
          application/json:
            schema:
              properties:
                GROUPNAME:
                  type: string
                  default: ' '
                  maxLength: 20
                  description: Group Name (' '= All Instances)
                GROUPTYPE:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: Group Type (' '= Logon, 'S'= Server)
                INSTANCES:
                  type: array
                  items:
                    type: object
                    properties:
                      APPLSERVER:
                        type: string
                        maxLength: 20
                        description: Instance Name (for Logon/Server Group Assignment)
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  INSTANCES:
                    type: array
                    items:
                      type: object
                      properties:
                        APPLSERVER:
                          type: string
                          maxLength: 20
                          description: Instance Name (for Logon/Server Group Assignment)
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
