Resend Consent Request
GET {url}//api/consent/resend
This service sends/resends the consent email to the Grantor (i.e. Parent/Adult/Self).
A use case example for this is informing a parent that their child has registered on a Partner site. A request to send/resend the Your child has registered... consent email should contain the following query parameters.
Request Requirements:
Property | Required? | Description |
---|---|---|
requesterServiceId | YES | Defines the given User (Requester) whom is requesting consent, e.g. child serviceId. |
approverServiceId | YES, IF... | If approver email is not present Defines the given Granter (Parent) who needs to provide consnet for the User. |
YES, IF... | If approverServiceId is not present Email address associated to the Granter. |
A correct request will generate a HTTP response code of 200 (Ok). Otherwise a 404 (Not Found) is generated.
Resend Consent Request Endpoint:
/api/consent/resend
Sample Resend Child Consent Request:
GET {{url}}/api/consent/resend?
approverServiceId=5459366c77......85a673d3d
&requesterServiceId=3974387665......67f123d0d
Sample Resend Self Consent Request:
GET {{url}}/api/consent/resend?
requesterServiceId=3974387665......67f123d0d
&email=someEmailAddress@someDomain.com
Sample Resend Consent JSON Response:
{
"validationErrors": [
0
],
"status": "success",
"message": null,
"resultCount": -1,
"totalCount": -1,
"entity": null,
"responseTimestamp": 1588247984911
}