This topic describes the CancelProjectModifyRecord API provided by OceanBase Migration Service (OMS).
Purpose
You can call this operation to cancel a modification operation based on the modification record ID.
Call description
Limitations
This operation is supported in OMS V4.2.2 and later.
You can cancel a modification operation only if its modification record is in the PENDING state.
Request path
POST /api/v2?Action=CancelProjectModifyRecord
Request parameters
| Parameter | Type | Description |
|---|---|---|
| id | string | The ID of the modification record. |
Return result
| Parameter | Type | Description |
|---|---|---|
| success | boolean | Indicates whether the call is successful. |
| errorDetail | object | The error details. |
| code | string | The error code. |
| message | string | The error description. |
| advice | string | The suggestions about how to resolve the error. |
| requestId | string | The request ID. |
| pageNumber | integer | The number of the page to return. |
| pageSize | integer | The number of entries to return on each page. |
| totalCount | long | The total number of entries returned. |
| cost | string | The time spent in processing the request, in seconds. |
| data | any | The return result of the request. |
Examples
Sample request
{
"id": "45"
}
Sample response
{
"success": true,
"errorDetail": null,
"code": null,
"message": null,
"advice": null,
"requestId": "E3D924FB-52****B253-0C1A7EFB778C",
"pageNumber": 1,
"pageSize": 10,
"totalCount": 100,
"cost": "237 ms",
"data": null
}