Add answers to categories (Coding tool)
Adds one or many answers to one or many categories
Path Parameters
projectId string required
Project ID
workflowId string required
Workflow ID
toolId string required
Tool ID
codeMapId string required
Code map ID
application/json
Request Body required
Arrays of category and text IDs
categoryIds string[] nullable
textIds string[] nullable
Responses
- 200
- 400
- 401
- 403
- 404
Updated answers and categories
application/json
Schema
Example (from schema)
Schema
- Array [
- ]
- Array [
- ]
categories object[] nullable
code int32 nullable
id string nullable
oaToInc string[] nullable
text string nullable
type int32
Possible values: [0
, 1
, 2
]
Default value: 0
updatedRespondentAnswers object[] nullable
c int32 nullable
id string nullable
isCoded boolean nullable
isDeleted boolean nullable
isSplit boolean nullable
isWildcardExpression boolean nullable
splitId string nullable
t string nullable
{
"categories": [
{
"code": 0,
"id": "string",
"oaToInc": [
"string"
],
"text": "string",
"type": 0
}
],
"updatedRespondentAnswers": [
{
"c": 0,
"id": "string",
"isCoded": true,
"isDeleted": true,
"isSplit": true,
"isWildcardExpression": true,
"splitId": "string",
"t": "string"
}
]
}
Invalid request. The message will vary depending on the cause
Unauthorized
Access denied
Not found
Loading...