ListHITsForQualificationType
Description
The ListHITsForQualificationType operation returns the HITs that use the given QualififcationType for a QualificationRequirement. The operation returns HITs of any status, except for HITs that have been deleted with the DeleteHIT operation or that have been auto-deleted.
Having high volumes of active HITs may lead to latency or timeouts when calling ListHITsForQualificationType. To remedy this, call the DeleteHIT operation on HITs you no longer need access to.
Request Syntax
{ "QualificationTypeId":String, "NextToken":String, "MaxResults":Integer}
Request Parameters
The request accepts the following data in JSON format:
| Name | Description | Required |
|---|---|---|
|
|
The ID of the Qualification type to use when querying HITs. Type: String |
No |
|
|
Pagination token Type: String |
No |
|
|
Type: Integer |
No |
Response Elements
A successful request returns a paginated list of HIT data structures.
Example
The following example shows how to use the ListHITsForQualificationType operation:
Sample Request
POST / HTTP/1.1 Host: mturk-requester.us-east-1.amazonaws.com Content-Length: <PayloadSizeBytes> X-Amz-Date: <Date> { }
Sample Response
The following is an example response:
HTTP/1.1 200 OK x-amzn-RequestId: <RequestId> Content-Type: application/x-amz-json-1.1 Content-Length: <PayloadSizeBytes> Date: <Date> { NextToken:PaginationToken, NumResults:10, HITs:[HIT] }