The UpdateQualificationType operation
modifies attributes of an existing Qualification type.
The following aspects of a Qualification type can be updated:
The type's description (Description)
The type's status (QualificationTypeStatus)
The type's Qualification test (Test, TestDurationInSeconds, and optional AnswerKey)
Other attributes, such as the Qualification type's name, cannot
be modified after the type has been created. If you create a
Qualification type and decide you do not wish to use it with its
immutable attributes as they were created, update the type with
a new QualificationTypeStatus of
Inactive, then create a new type using
CreateQualificationType with the desired
values.
You can update a Qualification type's test using this operation.
The type's test is updated based on the values specified for the
Test,
TestDurationInSeconds and
AnswerKey parameters. All three
parameters specify the updated test: If you are updating the
test for a type, you must specify both of the
Test and
TestDurationInSeconds parameters. The
AnswerKey parameter is optional; omitting
it specifies that the updated test does not have an answer key.
Note: |
If you want to update the test duration or answer key for an
existing test without changing the questions, you must specify
a |
Only the author of a Qualification type may modify its attributes.
The following example of a call to the
UpdateQualificationType operation changes
the QualificationTypeStatus of a Qualification type.
http://mechanicalturk.amazonaws.com/onca/xml?Service=AWSMechanicalTurkRequester &AWSAccessKeyId=[the Requester's Access Key ID]&Version=2006-08-23 &Operation=UpdateQualificationType &Signature=[signature for this request]&Timestamp=[your system's local time]&QualificationTypeId=789RVWYBAZW00EXAMPLE &QualificationTypeStatus=Inactive
A request to the Mechanical Turk Service includes parameters that control its behavior and the data it returns. Required parameters must be included for the request to succeed.
UpdateQualificationType accepts parameters
common to all operations. Some common parameters are required. See Common Parameters for more information.
The following parameters are specific to the
UpdateQualificationType operation:
| Name | Description | Type | Value |
|---|---|---|---|
Operation
|
The operation to call. To access the
| Required |
|
QualificationTypeId
|
The ID of the Qualification type to update. | Required |
A valid Qualification type ID |
QualificationTypeStatus
|
The new status of the Qualification type. | Optional |
|
Description
|
The new description of the Qualification type. | Optional |
A string |
Test
|
The questions for a Qualification test a user must answer correctly to obtain a Qualification of this type. The value of this parameter is an XML data structure. See the QuestionForm data structure for more information. If omitted, the Qualification type's test is unchanged. If the Qualification type does not have a test and one is provided by an update, the type will henceforth have a test. There is no way to remove a test from a Qualification type that has one. | Optional |
XML data for the Qualification test, a QuestionForm data structure |
AnswerKey
|
The answers to the Qualification test specified in the
If an answer key is provided for a test, Mechanical Turk will process requests for the Qualification automatically, assigning the user a Qualification with a value calculated from the answer key and the answers submitted by the user. The value of this parameter is an XML data structure. See the AnswerKey data structure for more information.
If an updated
If you are updating the
| Optional |
XML data for the answer key, an AnswerKey data structure |
TestDurationInSeconds
|
An amount of time a user has from requesting the
Qualification to complete the Qualification test. If
the user does not submit test answers before this
duration has elapsed after requesting the
Qualification, the request is voided. The user
must then wait for the
The
If you are updating the
| Optional |
A number of seconds, as a positive integer |
A successful request for the
UpdateQualificationType operation will have
a QualificationType element in the
response.
The QualificationType element contains a
Qualification type data structure. For a description of this
data structure, see the
Qualification Type Data Structure.