Reporting the Migration Instruction Execution Result to the SMS Server
Function
This API is called by the migration Agent to send the execution result of a specified instruction to the SMS server.
This API is automatically called by the migration Agent to report migration instruction execution result to the SMS server. You do not need to make calls to this API.
Request
Request parameters
For details about the request parameters, see Table 2.
| Parameter | Mandatory | Type | Description |
|---|---|---|---|
| command_name | Yes | String | Specifies the command name. The options can be START, STOP, DELETE, SYNC, UPLOAD_LOG, and RSET_LOG_ACL. |
| result | Yes | String | Specifies the command output.
|
| result_detail | Yes | Json | Specifies the migration instruction execution result in JSON format. |
Response
None
Example
- Example request
{ "command_name":"START", "result":"success", "result_detail":{ "key1": "value1", "key2": "value2" } } - Example response
None
Status Code
For details about the status code, see Status Code.
Error Code
For details, see Error Code.
Last Article: Obtaining Commands from SMS
Next Article: Template Management
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.