openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/DOCCNV_SUBMIT_REQUEST:
    post:
      tags:
      - SPOD
      summary: Conversion of PC Documents Using External Converter
      operationId: /rfc/DOCCNV_SUBMIT_REQUEST
      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
                DOCSDATA:
                  type: array
                  items:
                    type: object
                    properties:
                      DATA:
                        type: string
                        format: byte
                        description: Data field for RFC with frontend printing (cont.ASCII data)
                DOCSINFO:
                  type: array
                  items:
                    type: object
                    properties:
                      RQSUBID:
                        type: integer
                        format: int32
                        description: Spool request number
                      RQSAPTITLE:
                        type: string
                        maxLength: 1
                        description: 'Print SAP cover page  enumValues: D=Print SAP cover page as set at printer,X=Always print SAP cover page,""=Do not print SAP cover page'
                        enum:
                        - D
                        - X
                        - ''
                      RQDESC:
                        type: string
                        maxLength: 128
                        description: 'Spool: Description of part of a spool request'
      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
                  DOCSDATA:
                    type: array
                    items:
                      type: object
                      properties:
                        DATA:
                          type: string
                          format: byte
                          description: Data field for RFC with frontend printing (cont.ASCII data)
                  DOCSINFO:
                    type: array
                    items:
                      type: object
                      properties:
                        RQSUBID:
                          type: integer
                          format: int32
                          description: Spool request number
                        RQSAPTITLE:
                          type: string
                          maxLength: 1
                          description: 'Print SAP cover page  enumValues: D=Print SAP cover page as set at printer,X=Always print SAP cover page,""=Do not print SAP cover page'
                          enum:
                          - D
                          - X
                          - ''
                        RQDESC:
                          type: string
                          maxLength: 128
                          description: 'Spool: Description of part of a spool request'
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
