openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/DOCCNV_CONVERT_DOCUMENT:
    post:
      tags:
      - SPOD
      summary: Conversion of a PC Document with an External Converter by RFC
      operationId: /rfc/DOCCNV_CONVERT_DOCUMENT
      requestBody:
        content:
          application/json:
            schema:
              properties:
                CNVPARAMS:
                  type: array
                  items:
                    type: object
                    properties:
                      PARAM:
                        type: string
                        maxLength: 16
                        description: Parameter name for spool settings
                      VALUE:
                        type: string
                        maxLength: 200
                        description: Spool parameter value
                CNVRESULT:
                  type: array
                  items:
                    type: object
                    properties:
                      PARAM:
                        type: string
                        maxLength: 16
                        description: Parameter name for spool settings
                      VALUE:
                        type: string
                        maxLength: 200
                        description: Spool parameter value
                DOCSDATA:
                  type: array
                  items:
                    type: object
                    properties:
                      DATA:
                        type: string
                        format: byte
                        description: Data field for RFC with frontend printing (cont.ASCII data)
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  CNVPARAMS:
                    type: array
                    items:
                      type: object
                      properties:
                        PARAM:
                          type: string
                          maxLength: 16
                          description: Parameter name for spool settings
                        VALUE:
                          type: string
                          maxLength: 200
                          description: Spool parameter value
                  CNVRESULT:
                    type: array
                    items:
                      type: object
                      properties:
                        PARAM:
                          type: string
                          maxLength: 16
                          description: Parameter name for spool settings
                        VALUE:
                          type: string
                          maxLength: 200
                          description: Spool parameter value
                  DOCSDATA:
                    type: array
                    items:
                      type: object
                      properties:
                        DATA:
                          type: string
                          format: byte
                          description: Data field for RFC with frontend printing (cont.ASCII data)
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
