openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SPCPC_I_GET_PRINTERS:
    post:
      tags:
      - SPCPCCLI
      summary: Retrieve printer data from target system
      operationId: /rfc/SPCPC_I_GET_PRINTERS
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  OUTPUT_DEVICE_LIST:
                    type: array
                    items:
                      type: object
                      properties:
                        NAME:
                          type: string
                          maxLength: 30
                          description: 'Spool: Long device names'
                        SHORTNAME:
                          type: string
                          maxLength: 4
                          description: 'Spool: short name for output device'
                        DEVICETYPE:
                          type: string
                          maxLength: 8
                          description: 'Spool: Device type name'
                        ACCESSMETHOD:
                          type: string
                          maxLength: 1
                          description: 'Spool: Host spool system access method'
                  RETURN_CODE:
                    type: object
                    properties:
                      CODE:
                        type: integer
                        format: int32
                        description: Natural number
                      DESCRIPTION:
                        type: string
                        maxLength: 240
                        description: Text field of length 240
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
