Exemplo n.º 1
0
 /// <summary>
 /// The ApproveAssignment operation approves the results of a completed assignment.
 /// </summary>
 /// <param name="request">A <see cref="ApproveAssignmentRequest"/> instance containing 
 /// the request parameters</param>
 /// <remarks>
 /// Approving an assignment initiates two payments from the Requester's Amazon.com account:
 /// the Worker that submitted the results is paid the reward specified in the HIT, and
 /// Mechanical Turk fees are debited. If the Requester's account does not have adequate funds
 /// for these payments, the call to ApproveAssignment will return an exception, and the approval
 /// will not be processed.
 /// </remarks>
 public void ApproveAssignment(ApproveAssignmentRequest request)
 {
     this.SendRequest(request);
 }
Exemplo n.º 2
0
        /// <summary>
        /// See <a href="http://docs.amazonwebservices.com/AWSMechTurk/2012-03-25/AWSMturkAPI/ApiReference_ApproveAssignmentOperation.html">online documentation for this operation.</a>
        /// </summary>
        /// <param name="assignmentId">The assignment id.</param>
        /// <param name="requesterFeedback">The requester feedback.</param>
        public void ApproveAssignment(string assignmentId, string requesterFeedback)
        {
            ApproveAssignmentRequest request = new ApproveAssignmentRequest();
            request.AssignmentId = assignmentId;
            request.RequesterFeedback = requesterFeedback;

            Proxy.ApproveAssignment(request);
        }