openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/LIST_INCOMING_ACTIVE_LINES:
    post:
      tags:
      - PHOH
      operationId: /rfc/LIST_INCOMING_ACTIVE_LINES
      requestBody:
        content:
          application/json:
            schema:
              properties:
                SERVER:
                  type: string
                  maxLength: 6
                LINES:
                  type: array
                  items:
                    type: object
                    properties:
                      TELNO:
                        type: string
                        maxLength: 10
                        description: 'SAPphone: Extension (Part of a Telephone Number)'
              required:
              - SERVER
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  LINES:
                    type: array
                    items:
                      type: object
                      properties:
                        TELNO:
                          type: string
                          maxLength: 10
                          description: 'SAPphone: Extension (Part of a Telephone Number)'
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
