Create qualification type
See original API description on Amazon Mechanical Turk.
Headers
-
Content-Type
string Required Values are
application/x-amz-json-1.1
orapplication/json
. Default value isapplication/json
.
Body
-
Name
string Required -
Description
string Required -
Keywords
string -
RetryDelayInSeconds
integer -
QualificationTypeStatus
string Required Values are
Active
orInactive
. -
Test
string -
AnswerKey
string -
TestDurationInSeconds
integer -
AutoGranted
boolean -
AutoGrantedValue
integer
POST
/v1/create-qualification-type
curl \
-X POST https://yourcrowd.ai.moda/api/v1/create-qualification-type \
-H "Content-Type: application/json" \
-d '{"Name":"Name example","Description":"Description example","Keywords":"Keywords example","RetryDelayInSeconds":1,"QualificationTypeStatus":"Active","Test":"Test example","AnswerKey":"AnswerKey example","TestDurationInSeconds":1,"AutoGranted":true,"AutoGrantedValue":1}'
Request example
# Headers
Content-Type: application/json
# Payload
{
"Name": "Name example",
"Description": "Description example",
"Keywords": "Keywords example",
"RetryDelayInSeconds": 1,
"QualificationTypeStatus": "Active",
"Test": "Test example",
"AnswerKey": "AnswerKey example",
"TestDurationInSeconds": 1,
"AutoGranted": true,
"AutoGrantedValue": 1
}
Request examples
# Headers
Content-Type: application/json
# Payload
{
"Name": "Name example",
"Description": "Description example",
"Keywords": "Keywords example",
"RetryDelayInSeconds": 1,
"QualificationTypeStatus": "Active",
"Test": "Test example",
"AnswerKey": "AnswerKey example",
"TestDurationInSeconds": 1,
"AutoGranted": true,
"AutoGrantedValue": 1
}
Response examples (200)
{
"QualificationType": {
"QualificationTypeId": "3DA123121234AAASFDf123fsa",
"CreationTime": 1683143582978,
"Name": "Name example",
"Description": "Description example",
"Keywords": "Keywords example",
"QualificationTypeStatus": "Active",
"RetryDelayInSeconds": 1,
"AnswerKey": "AnswerKey example",
"Test": "<AnswerKey xmlns=\"[the AnswerKey schema URL]\"><Question>...</Question></AnswerKey>",
"TestDurationInSeconds": 1,
"AutoGranted": true,
"AutoGrantedValue": 1,
"isRequestable": true
}
}
Response examples (200)
{
"QualificationType": {
"QualificationTypeId": "3DA123121234AAASFDf123fsa",
"CreationTime": 1683143582978,
"Name": "Name example",
"Description": "Description example",
"Keywords": "Keywords example",
"QualificationTypeStatus": "Active",
"RetryDelayInSeconds": 1,
"AnswerKey": "AnswerKey example",
"Test": "<AnswerKey xmlns=\"[the AnswerKey schema URL]\"><Question>...</Question></AnswerKey>",
"TestDurationInSeconds": 1,
"AutoGranted": true,
"AutoGrantedValue": 1,
"isRequestable": true
}
}