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.

Container for the parameters to the ApproveAssignment operation. 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.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.MTurk.AmazonMTurkRequest
      Amazon.MTurk.Model.ApproveAssignmentRequest

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

Syntax

C#
public class ApproveAssignmentRequest : AmazonMTurkRequest
         IAmazonWebServiceRequest

The ApproveAssignmentRequest type exposes the following members

Constructors

NameDescription
Public Method ApproveAssignmentRequest()

Properties

NameTypeDescription
Public Property AssignmentId System.String

Gets and sets the property AssignmentId.

The ID of the assignment. The assignment must correspond to a HIT created by the Requester.

Public Property OverrideRejection System.Boolean

Gets and sets the property OverrideRejection.

A flag indicating that an assignment should be approved even if it was previously rejected. Defaults to False.

Public Property RequesterFeedback System.String

Gets and sets the property RequesterFeedback.

A message for the Worker, which the Worker can see in the Status section of the web site.

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

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