Beispiel #1
0
 /// <summary>
 /// The SetHITAsReviewing operation updates a HIT with a status of Reviewable to have a  
 /// status of Reviewing, or reverts a Reviewing HIT back to the Reviewable status.
 /// </summary>
 /// <param name="request">A <see cref="SetHITAsReviewingRequest"/> instance containing 
 /// the request parameters</param>
 /// <remarks> The Reviewable and Reviewing status values for a HIT control which HITs are 
 /// returned by the GetReviewableHITs operation. A HIT's status is also returned with a 
 /// HIT's data, such as by a call to the GetHIT operation. Your application can manipulate 
 /// and query these status values as part of the HIT review process. For example, if 
 /// verification for a HIT's results is pending further information, the HIT can be moved 
 /// to the Reviewing status to prevent it from being returned by subsequent calls to 
 /// GetReviewableHITs.</remarks>
 public void SetHITAsReviewing(SetHITAsReviewingRequest request)
 {
     this.SendRequest(request);
 }
Beispiel #2
0
        /// <summary>
        /// See <a href="http://docs.amazonwebservices.com/AWSMechTurk/2012-03-25/AWSMturkAPI/ApiReference_SetHITAsReviewingOperation.html">online documentation for this operation.</a>
        /// </summary>
        /// <param name="hitId">The hit id.</param>
        /// <param name="revert">if set to <c>true</c>, sets the HIT to be reviewable.</param>
        public void SetHITAsReviewing(string hitId, bool? revert)
        {
            SetHITAsReviewingRequest request = new SetHITAsReviewingRequest();
            request.HITId = hitId;

            if (revert.HasValue)
            {
                request.Revert = revert.Value;
                request.RevertSpecified = true;
            }

            Proxy.SetHITAsReviewing(request);
        }