Store consent information based on a template, and update consent status for user.

This API does not use caller authentication. The handle query parameter has the authentication information embedded in it.

The following URL is used by consent templates as form action URL. The handle uniquely identifies the subject, and the template used to generate the consent form.

Content-Type: application/json | application/x-www-form-urlencoded

The expected request body is as follows:

Content-Type: application/json

  "consents": {
    "c1": {
      "value": true,
      "choices": {
      // Any additional fields used in the SmartConsent
    // Additional consents

If the request body is URL-encoded, and is a list of key-value pairs where each key is the field name addressing a field in the above JSON document: