openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SPCPC_I_IS_CPM_MANAGED:
    post:
      tags:
      - SPCPCCLI
      summary: Test whether printer is CPM managed.
      operationId: /rfc/SPCPC_I_IS_CPM_MANAGED
      requestBody:
        content:
          application/json:
            schema:
              properties:
                NAME:
                  type: string
                  maxLength: 30
                  description: 'Spool: Long device names'
              required:
              - NAME
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  IS_CPM_MANAGED:
                    type: string
                    maxLength: 1
                    description: Boolean
                  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.
