openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SPS_GET_LINES_PER_SERVER:
    post:
      tags:
      - PHOH
      operationId: /rfc/SPS_GET_LINES_PER_SERVER
      requestBody:
        content:
          application/json:
            schema:
              properties:
                SERVER:
                  type: string
                  maxLength: 6
                LINES:
                  type: array
                  items:
                    type: object
                    properties:
                      TELNO:
                        type: string
                        maxLength: 30
                        description: Telephone number
                LINES_WITH_IP:
                  type: array
                  items:
                    type: object
                    properties:
                      TELNO:
                        type: string
                        maxLength: 30
                        description: Telephone number
                      USER:
                        type: string
                        maxLength: 12
                        description: User Name
                      IP_ADDRESS:
                        type: string
                        maxLength: 36
                        description: 'SAPphone: User terminal (small letters allowed)'
              required:
              - SERVER
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  LINES:
                    type: array
                    items:
                      type: object
                      properties:
                        TELNO:
                          type: string
                          maxLength: 30
                          description: Telephone number
                  LINES_WITH_IP:
                    type: array
                    items:
                      type: object
                      properties:
                        TELNO:
                          type: string
                          maxLength: 30
                          description: Telephone number
                        USER:
                          type: string
                          maxLength: 12
                          description: User Name
                        IP_ADDRESS:
                          type: string
                          maxLength: 36
                          description: 'SAPphone: User terminal (small letters allowed)'
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
