|Did this page help you? Yes No Tell us about it...|
DisposeHIT operation disposes of a HIT that is no longer
You can dispose only HITs in the Reviewable state, with all
submitted assignments approved or rejected. If you call the
DisposeHIT operation 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 returns an error.
Only the Requester who created a HIT can dispose it.
DisposeHIT operation accepts parameters common to all
operations. Some common parameters are required. See Common Parameters for more information.
The following parameters are specific to the
The name of the operation
Valid Values: DisposeHIT
The ID of the HIT, as returned by the CreateHIT operation.
A successful request for the
DisposeHIT operation returns with
no errors. The response includes the elements described in the following table. The
operation returns no other data.
The following example shows how to use the
The following example disposes of the HIT with the specified HIT ID.
[the Requester's Access Key ID]&Version=2008-08-02 &Operation=DisposeHIT &Signature=
[signature for this request]&Timestamp=
[your system's local time]&HITId=123RVWYBAZW00EXAMPLE
The following is an example response.
<DisposeHITResult> <Request> <IsValid>True</IsValid> </Request> </DisposeHITResult>