openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SO_DOCUMENT_SET_STATUS_API1:
    post:
      tags:
      - SOI1
      summary: 'SAPoffice: Set various statuses using RFC'
      operationId: /rfc/SO_DOCUMENT_SET_STATUS_API1
      requestBody:
        content:
          application/json:
            schema:
              properties:
                DOCUMENT_ID:
                  type: string
                  maxLength: 46
                  description: ID of document for which status is to be changed
                STATUS:
                  type: string
                  default: READ
                  maxLength: 4
                  description: New status
              required:
              - DOCUMENT_ID
      responses:
        '200':
          description: OK
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
