openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RSPO_LIST_PAGEFMTS_FOR_DEVICE:
    post:
      tags:
      - SPOO
      summary: List of All Page Formats for an Output Device
      operationId: /rfc/RSPO_LIST_PAGEFMTS_FOR_DEVICE
      requestBody:
        content:
          application/json:
            schema:
              properties:
                DEVICE:
                  type: string
                  maxLength: 4
                PAGE_FORMATS:
                  type: array
                  items:
                    type: object
                    properties:
                      PFORMAT:
                        type: string
                        maxLength: 8
                        description: 'Spool: Page format'
                      ORIENT:
                        type: string
                        maxLength: 1
                        description: 'Spool: Page format orientation  enumValues: L=Landscape,P=Portrait'
                        enum:
                        - L
                        - P
                      PGWIDTH:
                        type: integer
                        format: int64
                        description: 'Spool: Paper width'
                      PGWIDTHU:
                        type: string
                        maxLength: 2
                        description: 'Spool: Unit of measurement for paper length  enumValues: CM=Centimeter,CH=Character,IN=Inches,MM=Millimeter,PT=Point'
                        enum:
                        - CM
                        - CH
                        - IN
                        - MM
                        - PT
                      PGHEIGHT:
                        type: integer
                        format: int64
                        description: 'Spool: Paper height'
                      PGHEIGHTU:
                        type: string
                        maxLength: 2
                        description: 'Spool: Unit of measurement for page length  enumValues: CM=Centimeters,IN=Inches,PT=Point,MM=Millimeters,LN=Lines'
                        enum:
                        - CM
                        - IN
                        - PT
                        - MM
                        - LN
              required:
              - DEVICE
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  PAGE_FORMATS:
                    type: array
                    items:
                      type: object
                      properties:
                        PFORMAT:
                          type: string
                          maxLength: 8
                          description: 'Spool: Page format'
                        ORIENT:
                          type: string
                          maxLength: 1
                          description: 'Spool: Page format orientation  enumValues: L=Landscape,P=Portrait'
                          enum:
                          - L
                          - P
                        PGWIDTH:
                          type: integer
                          format: int64
                          description: 'Spool: Paper width'
                        PGWIDTHU:
                          type: string
                          maxLength: 2
                          description: 'Spool: Unit of measurement for paper length  enumValues: CM=Centimeter,CH=Character,IN=Inches,MM=Millimeter,PT=Point'
                          enum:
                          - CM
                          - CH
                          - IN
                          - MM
                          - PT
                        PGHEIGHT:
                          type: integer
                          format: int64
                          description: 'Spool: Paper height'
                        PGHEIGHTU:
                          type: string
                          maxLength: 2
                          description: 'Spool: Unit of measurement for page length  enumValues: CM=Centimeters,IN=Inches,PT=Point,MM=Millimeters,LN=Lines'
                          enum:
                          - CM
                          - IN
                          - PT
                          - MM
                          - LN
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
