openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SXMI_XMB_APPSERV_LIST_READ:
    post:
      tags:
      - SXMB
      summary: An RFC FM to Read SM51 Information. Transfer to Partner
      operationId: /rfc/SXMI_XMB_APPSERV_LIST_READ
      requestBody:
        content:
          application/json:
            schema:
              properties:
                EXTERNAL_USER_NAME:
                  type: string
                  maxLength: 16
                  description: (Non-SAP) User Name (For Example, UNIX User)
                SRV_LIST_NAMES:
                  type: array
                  items:
                    type: object
                    properties:
                      NAME:
                        type: string
                        maxLength: 20
                        description: Server Name
                      HOST:
                        type: string
                        maxLength: 20
                        description: Host
                      SERV:
                        type: string
                        maxLength: 20
                        description: Service
                      TYPELIST:
                        type: string
                        maxLength: 8
                        description: String containing work process types
                SRV_LIST_NUMBERS:
                  type: array
                  items:
                    type: object
                    properties:
                      HOSTADR:
                        type: string
                        format: byte
                        description: Host IP address
                      SERVNO:
                        type: string
                        format: byte
                        description: Service port number
              required:
              - EXTERNAL_USER_NAME
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  NUMBER_OF_ENTRIES:
                    type: integer
                    format: int32
                    description: (Non-SAP) User Name (For Example, UNIX User)
                  SRV_LIST_NAMES:
                    type: array
                    items:
                      type: object
                      properties:
                        NAME:
                          type: string
                          maxLength: 20
                          description: Server Name
                        HOST:
                          type: string
                          maxLength: 20
                          description: Host
                        SERV:
                          type: string
                          maxLength: 20
                          description: Service
                        TYPELIST:
                          type: string
                          maxLength: 8
                          description: String containing work process types
                  SRV_LIST_NUMBERS:
                    type: array
                    items:
                      type: object
                      properties:
                        HOSTADR:
                          type: string
                          format: byte
                          description: Host IP address
                        SERVNO:
                          type: string
                          format: byte
                          description: Service port number
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
