edit-icon download-icon

AcknowledgeTaskResult

Last Updated: Apr 17, 2018

Description

The AcknowledgeTaskResult API confirms detailed task results.

Request parameters

Parameter Type Required Sample value Description
TaskDetailNo.N RepeatList Yes 2659c29493e94416b297a7691340ccc4

Task details number.

Lang String No en

Language of the error message returned by the API, which has the following enumerated values: zh (Chinese) and en (English). The default value is en.

UserClientIp String No 127.0.0.1

User IP address.

Response parameters

Parameter Type Sample value Description
RequestId String D6CB3623-4726-4947-AC2B-2C6E673B447C

The unique request ID.

Result Integer 1

Number of items successfully confirmed.

Examples

Request example

  1. /?Action=AcknowledgeTaskResult
  2. &TaskDetailNo.1=2659c29493e94416b297a7691340ccc4
  3. &<Public request parameter>

Normal response example

  • XML format
  1. <AcknowledgeTaskResultResponse>
  2. <Result>2</Result>
  3. <RequestId>25DE4410-3E4D-493E-A5E2-927DB738CCEB</RequestId>
  4. </AcknowledgeTaskResultResponse>
  • JSON format
  1. {
  2. "RequestId":"270F04F2-6086-4B54-A86B-A1956F231CEC",
  3. "Result":2
  4. }

Abnormal response example

  • XML format
  1. <Error>
  2. <RequestId>3A598F91-51B9-4027-B516-BB2BE3E3352D</RequestId>
  3. <HostId>domain.aliyuncs.com</HostId>
  4. <Code>MissingTaskDetailNo</Code>
  5. <Message>TaskDetailNo is mandatory for this action.</Message>
  6. <Recommend><![CDATA[https://error-center.aliyun.com/status/search?Keyword=MissingTaskDetailNo&source=PopGw]]></Recommend>
  7. </Error>
  • JSON format
  1. {
  2. "Code":"MissingTaskDetailNo",
  3. "HostId":"domain.aliyuncs.com",
  4. "Message":"TaskDetailNo is mandatory for this action.",
  5. "Recommend":"https://error-center.aliyun.com/status/search?Keyword=MissingTaskDetailNo&source=PopGw",
  6. "RequestId":"37FCCA3D-5BD7-436D-A1EC-3F2E08F0E71E"
  7. }

Error code

See error codes of this product.

Thank you! We've received your feedback.