Participant

Submit a consent record

post/participant/enrollments/{enrollmentId}/consents

Request

  • Base URL: http://localhost:8080/api/v0
  • URL: http://localhost:8080/api/v0/participant/enrollments/{enrollmentId}/consents
  • Auth: HTTP bearer

Path parameters

enrollmentIdstring uuid required

Response

Consent record created

idstring uuid required
enrollmentIdstring uuid required
revisioninteger required
pdfURLstring uri required

Example response

{
  "consentData": {
    "revision": 1,
    "userResponses": {
      "toggles": {
        "data-sharing": true
      },
      "selects": {},
      "signatures": {
        "participant": {
          "name": {
            "givenName": "Jane",
            "familyName": "Doe"
          },
          "signature": "base64encodeddata...",
          "size": [
            300,
            150
          ]
        }
      }
    }
  }
}

Changes

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