openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RSPO_R_RETURN_RAW_DATA:
    post:
      tags:
      - SPRR
      operationId: /rfc/RSPO_R_RETURN_RAW_DATA
      requestBody:
        content:
          application/json:
            schema:
              properties:
                LIST_COUNT:
                  type: integer
                  format: int64
                  default: 0
                LIST_END:
                  type: string
                  default: ' '
                  maxLength: 1
                LIST_FIRST:
                  type: integer
                  format: int64
                  default: 1
                OTF_COUNT:
                  type: integer
                  format: int64
                  default: 0
                OTF_END:
                  type: string
                  default: ' '
                  maxLength: 1
                OTF_FIRST:
                  type: integer
                  format: int64
                  default: 1
                LINE_BUFFER:
                  type: array
                  items:
                    type: object
                    properties:
                      DATA_LEN:
                        type: string
                        maxLength: 5
                        description: R/2 table
                      PRECOL:
                        type: string
                        maxLength: 1
                        description: Single-Character Flag
                      DATA_LINE:
                        type: string
                        maxLength: 1000
                        description: 'Spool: data buffer length 1000'
                PAGE_INDEX:
                  type: array
                  items:
                    type: object
                    properties:
                      PAGE:
                        type: integer
                        format: int32
                        description: Number of pages in a spool request
                RQDESC:
                  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
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  COL_HEADER:
                    type: string
                    maxLength: 6
                  MORE_DATA:
                    type: string
                    maxLength: 1
                  OTF_HEADER:
                    type: object
                    properties:
                      TDPRINTCOM:
                        type: string
                        maxLength: 2
                        description: 'OFT format: command ID'
                      TDPRINTPAR:
                        type: string
                        maxLength: 70
                        description: 'OTF format: command parameters'
                  LINE_BUFFER:
                    type: array
                    items:
                      type: object
                      properties:
                        DATA_LEN:
                          type: string
                          maxLength: 5
                          description: R/2 table
                        PRECOL:
                          type: string
                          maxLength: 1
                          description: Single-Character Flag
                        DATA_LINE:
                          type: string
                          maxLength: 1000
                          description: 'Spool: data buffer length 1000'
                  PAGE_INDEX:
                    type: array
                    items:
                      type: object
                      properties:
                        PAGE:
                          type: integer
                          format: int32
                          description: Number of pages in a spool request
                  RQDESC:
                    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
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
