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 |
Unique Answer settings. 1 |
|
complexity |
integer |
Value from |
required |
boolean |
Set to |
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.