No. Within BulkSupport.pm there is an alias mapping that requires the use
of the plural.
I've tried this in all these following ways. None of them produce a HIT
with a qualification requirement, but none of them returns an error, either.
$VAR1 = {
'QualificationRequirements' => {
'Comparator' => 'EqualTo',
'QualificationTypeId' =>
'00000000000000000060',
'IntegerValue' => '1'
},
'Reward' => {
'Amount' => '0.05',
'CurrencyCode' => 'USD'
},
'AssignmentDurationInSeconds' => '3600',
'AutoApprovalDelayInSeconds' => '2419200',
'Description' => 'Provide the URL of a Freebase image of a
celebrity headshot.',
'Title' => 'Celebrity Headshots',
'Keywords' => 'celebrity headshot picture image star logo
freebase'
};
$VAR1 = {
'QualificationRequirements' => [
'00000000000000000060',
'EqualTo',
'1'
],
'Reward' => {
'Amount' => '0.05',
'CurrencyCode' => 'USD'
},
'AssignmentDurationInSeconds' => '3600',
'AutoApprovalDelayInSeconds' => '2419200',
'Description' => 'Provide the URL of a Freebase image of a
celebrity headshot.',
'Title' => 'Celebrity Headshots',
'Keywords' => 'celebrity headshot picture image star logo freebase'
};
$VAR1 = {
'QualificationRequirements' => [
{
'Comparator' => 'EqualTo',
'QualificationTypeId' =>
'00000000000000000060',
'IntegerValue' => '1'
}
],
'MaxAssignments' => '1',
'AssignmentDurationInSeconds' => '3600',
'LifetimeInSeconds' => '345600',
'Keywords' => 'celebrity headshot picture image star logo
freebase',
'Title' => 'Celebrity Headshots',
'Reward' => {
'Amount' => '0.05',
'CurrencyCode' => 'USD'
},
'Description' => 'Provide the URL of a Freebase image of a
celebrity headshot.',
'AutoApprovalDelayInSeconds' => '2419200',
'RequesterAnnotation' => 'Round 14'
};
$VAR1 = {
'QualificationRequirements' => {
'QualificaionRequirement' => {
'Comparator' => 'EqualTo',
'QualificationTypeId' => '00000000000000000060',
'IntegerValue' => '1'
}
},
'MaxAssignments' => '1',
'AssignmentDurationInSeconds' => '3600',
'LifetimeInSeconds' => '345600',
'Keywords' => 'celebrity headshot picture image star logo
freebase',
'Title' => 'Celebrity Headshots',
'Reward' => {
'Amount' => '0.05',
'CurrencyCode' => 'USD'
},
'Description' => 'Provide the URL of a Freebase image of a
celebrity headshot.',
'AutoApprovalDelayInSeconds' => '2419200',
'RequesterAnnotation' => 'Round 14'
};
$VAR1 = {
'QualificationRequirements' => [
{
'QualificationRequirement' => {
'Comparator' => 'EqualTo',
'QualificationTypeId' => '00000000000000000060',
'IntegerValue' => '1'
}
}
],
'MaxAssignments' => '1',
'AssignmentDurationInSeconds' => '3600',
'LifetimeInSeconds' => '345600',
'Keywords' => 'celebrity headshot picture image star logo
freebase',
'Title' => 'Celebrity Headshots',
'Reward' => {
'Amount' => '0.05',
'CurrencyCode' => 'USD'
},
'Description' => 'Provide the URL of a Freebase image of a
celebrity headshot.',
'AutoApprovalDelayInSeconds' => '2419200',
'RequesterAnnotation' => 'Round 14'
};
On Fri, Aug 1, 2008 at 2:43 PM, R A via RT <
bug-Net-Amazon-MechanicalTurk@rt.cpan.org> wrote:
Show quoted text> <URL:
http://rt.cpan.org/Ticket/Display.html?id=38110 >
>
>
> Does it work with "QualificationRequirement" rather than
> "QualificationRequirements" ?
>
>
>
http://docs.amazonwebservices.com/AWSMechanicalTurkRequester/2008-04-01/ApiReference_CreateHITOperation.html
> indicates without the s.
>
> On Fri Aug 01 15:17:02 2008, michele.r.berg@gmail.com wrote:
>
> > After inserting a dumper to warn within both LoadHITs.pm and
> > BulkSupport.pm, the contents of $createHITTypeProperties are:
> > $VAR1 = {
> > 'QualificationRequirements' => {
> > 'Comparator' => 'EqualTo',
> > 'QualificationTypeId' =>
> > '00000000000000000060',
> > 'IntegerValue' => '1'
> > },
> > 'Reward' => {
> > 'Amount' => '0.05',
> > 'CurrencyCode' => 'USD'
> > },
> > 'AssignmentDurationInSeconds' => '3600',
> > 'AutoApprovalDelayInSeconds' => '2419200',
> > 'Description' => 'Provide the URL of a Freebase image of a
> > celebrity headshot.',
> > 'Title' => 'Celebrity Headshots',
> > 'Keywords' => 'celebrity headshot picture image star logo
> > freebase'
> > };
> >
> >
> > This results in the successful creation of a HIT, but the HIT does not
> > have a qualification requirement on it. I have verified this both
> > manually and with calls to GetHITsForQualificationType, which returns
> > its NumResults as 0.
> >
> > Sadly, I don't know the mTurk API well enough to suggest a patch, but
> > I'm hopeful the module's creator/maintainer does.
> >
> > Running the most current version of the module, on Perl 5.8.8, on Mac
> > Leopard.
>
>
>