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 Assignment data structure represents a single assignment of a HIT to a Worker. The assignment tracks the Worker's efforts to complete the HIT, and contains the results for later retrieval.

Inheritance Hierarchy

System.Object
  Amazon.MTurk.Model.Assignment

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

Syntax

C#
public class Assignment

The Assignment type exposes the following members

Constructors

NameDescription
Public Method Assignment()

Properties

NameTypeDescription
Public Property AcceptTime System.DateTime

Gets and sets the property AcceptTime.

The date and time the Worker accepted the assignment.

Public Property Answer System.String

Gets and sets the property Answer.

The Worker's answers submitted for the HIT contained in a QuestionFormAnswers document, if the Worker provides an answer. If the Worker does not provide any answers, Answer may contain a QuestionFormAnswers document, or Answer may be empty.

Public Property ApprovalTime System.DateTime

Gets and sets the property ApprovalTime.

If the Worker has submitted results and the Requester has approved the results, ApprovalTime is the date and time the Requester approved the results. This value is omitted from the assignment if the Requester has not yet approved the results.

Public Property AssignmentId System.String

Gets and sets the property AssignmentId.

A unique identifier for the assignment.

Public Property AssignmentStatus Amazon.MTurk.AssignmentStatus

Gets and sets the property AssignmentStatus.

The status of the assignment.

Public Property AutoApprovalTime System.DateTime

Gets and sets the property AutoApprovalTime.

If results have been submitted, AutoApprovalTime is the date and time the results of the assignment results are considered Approved automatically if they have not already been explicitly approved or rejected by the Requester. This value is derived from the auto-approval delay specified by the Requester in the HIT. This value is omitted from the assignment if the Worker has not yet submitted results.

Public Property Deadline System.DateTime

Gets and sets the property Deadline.

The date and time of the deadline for the assignment. This value is derived from the deadline specification for the HIT and the date and time the Worker accepted the HIT.

Public Property HITId System.String

Gets and sets the property HITId.

The ID of the HIT.

Public Property RejectionTime System.DateTime

Gets and sets the property RejectionTime.

If the Worker has submitted results and the Requester has rejected the results, RejectionTime is the date and time the Requester rejected the results.

Public Property RequesterFeedback System.String

Gets and sets the property RequesterFeedback.

The feedback string included with the call to the ApproveAssignment operation or the RejectAssignment operation, if the Requester approved or rejected the assignment and specified feedback.

Public Property SubmitTime System.DateTime

Gets and sets the property SubmitTime.

If the Worker has submitted results, SubmitTime is the date and time the assignment was submitted. This value is omitted from the assignment if the Worker has not yet submitted results.

Public Property WorkerId System.String

Gets and sets the property WorkerId.

The ID of the Worker who accepted the HIT.

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