Print this pageEmail this pageGo to the ForumsView the PDFShare this page on TwitterShare this page on FacebookBookmark this page on DeliciousSubmit this page to RedditSubmit this page to DiggDid this page help you?  Yes  No   Tell us about it...

ChangeHITTypeOfHIT

Description

The ChangeHITTypeOfHIT operation allows you to change the HITType properties of a HIT. This operation disassociates the HIT from its old HITType properties and associates it with the new HITType properties. The HIT takes on the properties of the new HITType in place of the old ones. For more information about HIT types, see the Amazon Mechanical Turk Developer Guide.

You can use ChangeHITTypeOfHIT to update any of the HITType properties of a HIT. All properties except for Reward can be updated at any time.

Request Parameters

The ChangeHITTypeOfHIT operation accepts parameters common to all operations. Some common parameters are required. See Common Parameters for more information.

The following parameters are specific to the ChangeHITTypeOfHIT operation:

NameDescriptionRequired

Operation

The name of the operation

Type: String

Valid Values: ChangeHITTypeOfHIT

Default: None

Yes

HITId

The ID of the HIT to change

Type: String

Default: None

Yes

HITTypeId

The ID of the new HIT type

Type: String

Default: None

Yes

Response Elements

A successful request for the ChangeHITTypeOfHIT operation returns with no errors. The response includes the elements described in the following table. The operation returns no other data.

NameDescription

ChangeHITTypeOfHITResult

Contains a Request element if the Request ResposeGroup is specified.

Examples

The following example shows how to use the ChangeHITTypeOfHIT operation.

Sample Request

The following example changes the HIT type.

http://mechanicalturk.amazonaws.com/?Service=AWSMechanicalTurkRequester
&AWSAccessKeyId=[the Requester's Access Key ID]
&Version=2008-08-02
&Operation=ChangeHITTypeOfHIT
&Signature=[signature for this request]
&Timestamp=[your system's local time]
&HITId=123RVWYBAZW00EXAMPLE
&HITTypeId=T100CN9P324W00EXAMPLE
         

Sample Response

The following is an example response.

<ChangeHITTypeOfHITResult>
  <Request>
    <IsValid>True</IsValid>
  </Request>
</ChangeHITTypeOfHITResult>