Amazon Mechanical Turk
API Reference (API Version 2012-03-25)
« PreviousNext »
View the PDF for this guide.Go to the AWS Discussion Forum for this product.Did this page help you?  Yes | No |  Tell us about it...

GrantQualification

Description

The GrantQualification 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 Parameters

GrantQualification accepts parameters common to all operations. Some common parameters are required. See Common Parameters for more information.

The following parameters are specific to the GrantQualification operation:

NameDescriptionRequired

Operation

The name of the operation

Type: String

Valid Values: GrantQualification

Default: None

Yes

QualificationRequestId

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

Type: String

Default: None

Yes

IntegerValue

The value of the Qualification

Type: Integer

Default: 1

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

Conditional

Response Elements

A successful request for the GrantQualification operation returns with no errors. The response includes the elements described in the following table. The operation returns no other data.

NameDescription

GrantQualificationResult

Contains a Request element if the Request ResponseGroup is specified.

Examples

The following example shows how to use the GrantQualification operation.

Sample Request

The following example grants a Qualification to a user.

https://mechanicalturk.amazonaws.com/?Service=AWSMechanicalTurkRequester
&AWSAccessKeyId=[the Requester's Access Key ID]
&Version=2012-03-25
&Operation=GrantQualification
&Signature=[signature for this request]
&Timestamp=[your system's local time]
&QualificationRequestId=789RVWYBAZW00EXAMPLE951RVWYBAZW00EXAMPLE
&IntegerValue=95
           

Sample Response

The following is an example response.

<GrantQualificationResult>
  <Request>
    <IsValid>True</IsValid>
  </Request>
</GrantQualificationResult>