| « PreviousNext » | |
![]() ![]() | Did this page help you? Yes | No | Tell us about it... |
The WorkerBlock data structure represents a Worker who has been blocked. It has
two elements: the WorkerId and the Reason
for the block.
The WorkerBlock data structure is used in the results of the following
operation:
The WorkerBlock structure contains the elements described in the following table.
| Name | Description |
|---|---|
|
|
The ID of the Worker who accepted the HIT. Type: String Default: None |
|
|
A message explaining the reason the Worker was blocked. Type: String Default: None |
The following example shows a sample WorkerBlock data structure in a response
from the GetBlockedWorkers operation.
In a SOAP request, the WorkerBlock data structure is specified as the WorkerBlock
parameter in XML:
<WorkerBlock> <WorkerId>AZ3456EXAMPLE</WorkerId> <Reason>After several warnings, he continued to submit answers without reading the instructions carefully.</Reason> </WorkerBlock>
In a REST request, the components of the WorkerBlock data structure are specified as separate parameters:
https://mechanicalturk.amazonaws.com/?Service=AWSMechanicalTurkRequester [...] &WorkerBlock.1.WorkerId=AZ3456EXAMPLE &WorkerBlock.1.Reason=After%20several%20warnings,%20he%20continued%20to%20submit%20answers%20without%20reading%20the%20instructions%20carefully