/// <summary> /// The ApproveRejectedAssignment operation approves a rejected assignment. /// </summary> /// <param name="request">A <see cref="ApproveRejectedAssignmentRequest"/> instance containing /// the request parameters</param> /// <remarks> /// Approving a rejected assignment reverses the rejection of an assignment and peforms an approval. /// If the Requester's account does not have adequate funds for the payments associated with approval, /// the call to ApproveRejectedAssignment will return an exception, and the approval /// will not be processed. /// </remarks> public void ApproveRejectedAssignment(ApproveRejectedAssignmentRequest request) { this.SendRequest(request); }
/// <summary> /// See <a href="http://docs.amazonwebservices.com/AWSMechTurk/2012-03-25/AWSMturkAPI/ApiReference_ApproveRejectedAssignmentOperation.html">online documentation for this operation.</a> /// </summary> /// <param name="assignmentId">The assignment id.</param> /// <param name="requesterFeedback">The requester feedback.</param> public void ApproveRejectedAssignment(string assignmentId, string requesterFeedback) { ApproveRejectedAssignmentRequest request = new ApproveRejectedAssignmentRequest(); request.AssignmentId = assignmentId; request.RequesterFeedback = requesterFeedback; Proxy.ApproveRejectedAssignment(request); }