Draw Assessments

Replace a draw's assessment responses

Replaces the draw's full set of answers to the project's configured Draw Assessment Questions. Responses not included in the request are deleted, making this request naturally idempotent. Question ids must be configured on the draw's project and may each be answered at most once; discover them via GET /projects/{projectId} (draw_assessment_questions).

put/draws/{drawId}/draw-assessment-responses

Request

  • Base URL: https://api.rabbet.com/v1
  • URL: https://api.rabbet.com/v1/draws/{drawId}/draw-assessment-responses
  • Auth: OAuth 2 (client credentials, token URL https://api.rabbet.com/oauth/token, scopes: write)

Path parameters

drawIdstring uuid required

Request body

Example request

{
  "draw_assessment_responses": [
    {
      "draw_assessment_question_id": "b308e77f-6d1d-47c4-bd1f-0069cc548315",
      "response": "Yes"
    }
  ]
}

Response

The draw's assessment responses after replacement.

Example response

{
  "data": [
    {
      "id": "c408e77f-6d1d-47c4-bd1f-0069cc548316",
      "draw_assessment_question_id": "b308e77f-6d1d-47c4-bd1f-0069cc548315",
      "response": "Construction is 50% complete"
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.