SpecifyDocs

Work decision doc answers save

/v1/work/decision-docs/{id}/answers

Signed-in sessionLaunch key product.workOperation work_decision_doc_answers_save

An agent asks its person several questions in one document, the way the HTML decision forms agents write today do (Outbreak art review v21, Torrey 10-23): each question has its details, two to six options with the one the agent recommends and why, Something else, and a notes box.

Path parameters

idstringRequired

Body

generalNotesnull | string
expectedAuthorizationVersionstring
answersobject[]Required
expectedRevisionnumberRequired

Returns

idstringRequired
titlestringRequired
summarynull | stringRequired
visualsobject[]Required
linksobject[]Required
cardsobject[]Required
status"answered" | "closed" | "expired" | "open" | "withdrawn"Required
closedBynull | stringRequired
closeReasonnull | stringRequired
createdAtnumberRequired
updatedAtnumberRequired
expiresAtnull | numberRequired
revisionnumberRequired
requestedByobjectRequired
sessionnull | objectRequired
readersobject[]Required
questionsobject[]Required
generalNotesnull | stringRequired
generalNotesSentAtnull | numberRequired
questionCountnumberRequired
sentCountnumberRequired
canAnswerbooleanRequired

Errors

400, 401, 403, 404, 409, 429 and 503 return {"error": {"code", "message", "correlationId"}}. A call without a valid credential gets 401 before its input is checked, and so does an address that is not an operation: 404 and 400 come only once the credential is accepted. Public operations answer without one.