Amazon Mechanical Turk
API Reference (API Version 2017-01-17)

AcceptQualificationRequest

Description

The AcceptQualificationRequest operation grants a Worker's request for a Qualification.

Only the owner of the Qualification type can grant a Qualification request for that type.

Request Syntax

{ "QualificationRequestId": String, "IntegerValue": Integer }

Request Parameters

The request accepts the following data in JSON format:

Name Description Required

QualificationRequestId

The ID of the Qualification request, as returned by the ListQualificationRequests operation.

Type: String.

Yes

IntegerValue

The value of the Qualification. You can omit this value if you are using the presence or absence of the Qualification as the basis for a HIT requirement.

Type: Integer

Default: 1

No

Response Elements

A successful request for the AcceptQualificationRequest operation returns with no errors and an empty body.

Example

The following example shows how to use the AcceptQualificationRequest operation:

Sample Request

The following example grants a Qualification to a user.

POST / HTTP/1.1 Host: mturk-requester.us-east-1.amazonaws.com Content-Length: <PayloadSizeBytes> X-Amz-Date: <Date> { QualificationRequestId:"789RVWYBAZW00EXAMPLE951RVWYBAZW00EXAMPLE", IntegerValue:95 }

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>