/// <summary> /// The DisposeHIT operation disposes of a HIT that is no longer needed. /// </summary> /// <param name="request">A <see cref="DisposeHITRequest"/> instance containing the /// request parameters</param> /// <remarks> Only HITs in the "reviewable" state, with all submitted assignments /// approved or rejected, can be disposed. A Requester can call GetReviewableHITs /// to determine which HITs are reviewable, then call GetAssignmentsForHIT to retrieve /// the assignments. Disposing of a HIT removes the HIT from the results of a call to /// GetReviewableHITs. If DisposeHIT is called on a HIT that is not "reviewable" /// (that has not expired or has active assignments), or on a HIT that is "reviewable" /// but not all of the submitted assignments have been approved or rejected, the service /// will return an error.</remarks> public void DisposeHIT(DisposeHITRequest request) { this.SendRequest(request); }
/// <summary> /// See <a href="http://docs.amazonwebservices.com/AWSMechTurk/2012-03-25/AWSMturkAPI/ApiReference_DisposeHITOperation.html">online documentation for this operation.</a> /// </summary> /// <param name="hitId">The hit ID.</param> public void DisposeHIT(string hitId) { DisposeHITRequest request = new DisposeHITRequest(); request.HITId = hitId; Proxy.DisposeHIT(request); }