openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RRMX_DOC_GET:
    post:
      tags:
      - RRMX
      operationId: /rfc/RRMX_DOC_GET
      requestBody:
        content:
          application/json:
            schema:
              properties:
                I_DOC_TYPE:
                  type: string
                  maxLength: 10
                I_ITEMID:
                  type: string
                  default: ' '
                  maxLength: 20
                I_OBJVERS:
                  type: string
                  default: RS_C_OBJVERS-ACTIVE
                  maxLength: 1
                  description: Object Version
                I_PAGEID:
                  type: string
                  default: ' '
                  maxLength: 20
                I_VIEWID:
                  type: string
                  default: ' '
                  maxLength: 40
                I_WBID:
                  type: string
                  maxLength: 25
                  description: Workbook ID
                E_T_DOC_CONTENT:
                  type: array
                  items:
                    type: object
                    properties:
                      LINE:
                        type: string
                        format: byte
                        description: Line for binary document contents, length for upload
              required:
              - I_DOC_TYPE
              - I_WBID
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  E_BDS_DOC_ID:
                    type: string
                    maxLength: 42
                  E_BDS_TIMESTAMP:
                    type: string
                    maxLength: 64
                  E_SIZE:
                    type: integer
                    format: int64
                  E_SUBRC:
                    type: integer
                    format: int32
                    description: Return Value, Return Value After ABAP Statements
                  E_T_DOC_CONTENT:
                    type: array
                    items:
                      type: object
                      properties:
                        LINE:
                          type: string
                          format: byte
                          description: Line for binary document contents, length for upload
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
