Exemplo n.º 1
0
 /// <summary>
 /// The DisableHIT operation removes a HIT from the Mechanical Turk marketplace, 
 /// approves all submitted assignments that have not already been approved or rejected, 
 /// and disposes of the HIT and all assignment data.
 /// </summary>
 /// <param name="request">A <see cref="DisableHITRequest"/> instance containing the 
 /// request parameters</param>
 /// <remarks> Assignments for the HIT that have already been submitted, but not yet 
 /// approved or rejected, will be automatically approved. Assignments in progress at 
 /// the time of the call to DisableHIT will be approved once the assignments are submitted. 
 /// You will be charged for approval of these assignments.</remarks>
 public void DisableHIT(DisableHITRequest request)
 {
     this.SendRequest(request);
 }
Exemplo n.º 2
0
        /// <summary>
        /// See <a href="http://docs.amazonwebservices.com/AWSMechTurk/2012-03-25/AWSMturkAPI/ApiReference_DisableHITOperation.html">online documentation for this operation.</a>
        /// </summary>
        /// <param name="hitId">The hit ID.</param>
        public void DisableHIT(string hitId)
        {
            DisableHITRequest request = new DisableHITRequest();
            request.HITId = hitId;

            Proxy.DisableHIT(request);
        }