mturk CreateHIT Operation
An mturk CreateHIT Operation is an mturk operation to create an mturk HIT.
- See: mturk HIT ID.
References
2014
- http://docs.aws.amazon.com/AWSMechTurk/latest/AWSMturkAPI/ApiReference_CreateHITOperation.html
- The CreateHIT operation creates a new Human Intelligence Task (HIT). The new HIT is made available for Workers to find and accept on the Amazon Mechanical Turk website.
There are two ways to specify HIT properties when calling the CreateHIT operation: with the HIT type ID, or with the common property values. If the HITTypeId parameter is specified, the CreateHIT operation assumes the syntax with a HIT type ID is what you intended. If you provide both a HIT type ID and values for the common properties, the common property values are ignored.
CreateHIT also supports several ways to provide question data: by providing a value for the Question parameter that fully specifies the contents of the HIT, or by providing a HitLayoutId and associated HitLayoutParameters. If you are providing a data structure, it may be a QuestionForm structure, an ExternalQuestion structure, or an HTMLQuestion structure. For more information, see the Question parameter.
- The CreateHIT operation creates a new Human Intelligence Task (HIT). The new HIT is made available for Workers to find and accept on the Amazon Mechanical Turk website.
2013
my $result = $mturk->CreateHIT( Title => 'Answer a question', Description => 'Test HIT from Perl', Keywords => 'hello, world', Reward => { CurrencyCode => 'USD', Amount => 0.01 }, RequesterAnnotation => 'Test Hit', AssignmentDurationInSeconds => 60 * 60, AutoApprovalDelayInSeconds => 60 * 60 * 10, MaxAssignments => 1, LifetimeInSeconds => 60 * 60, Question => $questionXml );