openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RMPS_OI_UPLOAD:
    post:
      tags:
      - RMPS_OI_UPLOAD
      operationId: /rfc/RMPS_OI_UPLOAD
      requestBody:
        content:
          application/json:
            schema:
              properties:
                AUTHOR:
                  type: string
                  maxLength: 80
                COMPANY:
                  type: string
                  maxLength: 80
                DESCRIPTION:
                  type: string
                  maxLength: 80
                DOCUMENT_SPS_ID:
                  type: string
                  maxLength: 80
                FILESIZE:
                  type: string
                  maxLength: 80
                FILE_FORMAT:
                  type: string
                  maxLength: 80
                FOLDER_PDIR:
                  type: string
                  maxLength: 80
                IS_FOLDER:
                  type: string
                  maxLength: 80
                PREFERRED_STATE:
                  type: string
                  maxLength: 3
                REC_TYPE:
                  type: string
                  maxLength: 80
                UNIQUE_ID:
                  type: string
                  maxLength: 80
                BINARY_DATA:
                  type: array
                  items:
                    type: object
                    properties:
                      LINE:
                        type: string
                        maxLength: 2044
                        description: XML Data in Character Format
              required:
              - AUTHOR
              - COMPANY
              - DESCRIPTION
              - DOCUMENT_SPS_ID
              - FILESIZE
              - FILE_FORMAT
              - UNIQUE_ID
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  EX_MESSAGE:
                    type: string
                    maxLength: 120
                  SYSTEM_ID:
                    type: string
                    maxLength: 80
                  BINARY_DATA:
                    type: array
                    items:
                      type: object
                      properties:
                        LINE:
                          type: string
                          maxLength: 2044
                          description: XML Data in Character Format
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
