Update Question¶
Updates Question settings.
Request¶
PATCH https://ttv.microworkers.com/api/v2/basic-campaigns/{campaignId}/questions/{questionId}
Parameters¶
Path Parameter | ||
---|---|---|
Name | Type | Description |
campaignId | string | The ID of Campaign. |
questionId | string | The ID of Question. |
Request Body¶
{
"testCaseEnabled": boolean,
"uniqueAnswer": {
"enabled": boolean,
"type": string
},
"complexity": integer,
"required": boolean
}
CampaignQuestionPatchRequest¶
Property | Type | Description |
---|---|---|
testCaseEnabled | boolean | Enables/disables test case for the Question. |
uniqueAnswer | UniqueAnswerRequest | Unique Answer settings. [1] |
complexity | integer | Value from 1 to 10 . Question with higher complexity should have higher value. |
required | boolean | Set to true if Answer to the Question is required. |
UniqueAnswerRequest¶
Property | Type | Description |
---|---|---|
enabled | boolean | Enables/disables unique Answer check. |
type | string | Value can be either
|
Response¶
Response HTTP Codes¶
Http Code | Response Type | Description |
---|---|---|
204 | No Content (OK) | |
400 | Validation Failed | |
401 | Unauthorized | |
403 | Access denied | |
404 | Not found |
[1] | Unique Answers Feature Microworkers Blog. |