openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RSDAW_REQUEST_SET_STATE:
    post:
      tags:
      - RSDAW_NEARLINE_SERVER
      operationId: /rfc/RSDAW_REQUEST_SET_STATE
      requestBody:
        content:
          application/json:
            schema:
              properties:
                I_ARCHIVE_REQUEST_NAME:
                  type: string
                  maxLength: 30
                I_ARCHIVE_REQUEST_SID:
                  type: integer
                  format: int32
                I_OWNER:
                  type: string
                  maxLength: 30
                I_RESTORE_REQUEST_NAME:
                  type: string
                  maxLength: 30
                I_RESTORE_REQUEST_SID:
                  type: integer
                  format: int32
                I_TABLE_NAME:
                  type: string
                  maxLength: 30
                I_TARGET_STATE:
                  type: string
                  maxLength: 2
              required:
              - I_ARCHIVE_REQUEST_NAME
              - I_ARCHIVE_REQUEST_SID
              - I_OWNER
              - I_RESTORE_REQUEST_NAME
              - I_RESTORE_REQUEST_SID
              - I_TABLE_NAME
              - I_TARGET_STATE
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  E_ACTUAL_STATE:
                    type: string
                    maxLength: 2
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
