POST api/Policy/UpdateUserConsentForSinglePolicy

Request Information

URI Parameters

None.

Body Parameters

SearchSinglePolicyRequest
NameDescriptionTypeAdditional information
PolicyId

integer

None.

SiteCode

string

None.

HasConsent

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "PolicyId": 1,
  "SiteCode": "sample string 2",
  "HasConsent": true
}

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'SearchSinglePolicyRequest'.

Response Information

Resource Description

boolean

Response Formats

application/json, text/json

Sample:
true