POST api/Policy/api/Policy/ChangeConsent
Request Information
URI Parameters
None.
Body Parameters
UpdateConsentRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| PolicyId | integer |
Matching regular expression pattern: \d+ |
|
| HasConsent | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"PolicyId": 1,
"HasConsent": true
}
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
booleanResponse Formats
application/json, text/json
Sample:
true