AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

The ApproveAssignment operation approves the results of a completed assignment.

Approving an assignment initiates two payments from the Requester's Amazon.com account

If the Requester's account does not have adequate funds for these payments, the call to ApproveAssignment returns an exception, and the approval is not processed. You can include an optional feedback message with the approval, which the Worker can see in the Status section of the web site.

You can also call this operation for assignments that were previous rejected and approve them by explicitly overriding the previous rejection. This only works on rejected assignments that were submitted within the previous 30 days and only if the assignment's related HIT has not been deleted.

Note:

For .NET Core this operation is only available in asynchronous form. Please refer to ApproveAssignmentAsync.

Namespace: Amazon.MTurk
Assembly: AWSSDK.MTurk.dll
Version: 3.x.y.z

Syntax

C#
public abstract ApproveAssignmentResponse ApproveAssignment(
         ApproveAssignmentRequest request
)

Parameters

request
Type: Amazon.MTurk.Model.ApproveAssignmentRequest

Container for the necessary parameters to execute the ApproveAssignment service method.

Return Value


The response from the ApproveAssignment service method, as returned by MTurk.

Exceptions

ExceptionCondition
RequestErrorException Your request is invalid.
ServiceException Amazon Mechanical Turk is temporarily unable to process your request. Try your call again.

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5

See Also