openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RSPO_LIST_LAYOUTS_FOR_DEVICE:
    post:
      tags:
      - SPOO
      operationId: /rfc/RSPO_LIST_LAYOUTS_FOR_DEVICE
      requestBody:
        content:
          application/json:
            schema:
              properties:
                DEVICE:
                  type: string
                  maxLength: 4
                  description: The device, whose editing is calle
                LTYPE:
                  type: string
                  default: ''
                  maxLength: 10
                  description: The device, whose editing is calle
                LAYOUTS:
                  type: array
                  items:
                    type: object
                    properties:
                      DEVICE:
                        type: string
                        maxLength: 4
                        description: 'Spool: Output device'
                      DEVICETYPE:
                        type: string
                        maxLength: 8
                        description: 'Spool: Device type name'
                      LAYOUT:
                        type: string
                        maxLength: 16
                        description: 'Spool: Format type'
                      STATE_LOCA:
                        type: string
                        maxLength: 64
                        description: 'Spool: Status message (or copy of location)'
              required:
              - DEVICE
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  LAYOUTS:
                    type: array
                    items:
                      type: object
                      properties:
                        DEVICE:
                          type: string
                          maxLength: 4
                          description: 'Spool: Output device'
                        DEVICETYPE:
                          type: string
                          maxLength: 8
                          description: 'Spool: Device type name'
                        LAYOUT:
                          type: string
                          maxLength: 16
                          description: 'Spool: Format type'
                        STATE_LOCA:
                          type: string
                          maxLength: 64
                          description: 'Spool: Status message (or copy of location)'
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
