Submit answers

Submit answers for a requirement. Answers are merged with any previously submitted and re-evaluated against the requirement’s schema: it becomes fulfilled once all required fields are satisfied, otherwise it stays in_progress and the response lists the fields still outstanding.

Path parameters

requirement_idstringRequiredformat: "^ar_[0-9a-f]{32}$"

A requirement identifier in the format ar_ followed by 32 lowercase hex characters (e.g. ar_0a1b2c3d4e5f67890a1b2c3d4e5f6789).

Request

This endpoint expects an object.
answersobjectRequired

A key-value map of field IDs to answer values.

Response

OK
statusenum

The derived submission status. “fulfilled” once the cumulative answers satisfy the whole schema; “in_progress” when answers are stored but the schema is not yet complete; “pending” when no answers are stored.

schemaobject

The requirement schema with the current cumulative answers injected as field defaults, so the client can render the next step (or confirm completion) without a follow-up GET.

outstanding_fieldslist of strings

Field IDs still blocking fulfillment. Present only for an “in_progress” submission.

Errors

400
Bad Request Error
401
Unauthorized Error
404
Not Found Error
409
Conflict Error
500
Internal Server Error