Participant

List consent records for an enrollment

get/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

List of consent records

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.