PUT {clientId}/Config/RequiredPreferenceConsents/{filterId}
Add Required Preference Consents to a Filter
Request Information
URI Parameters
| Name | Description | Type | Additional information | 
|---|---|---|---|
| clientId | Your required clientId used to access the WebAPI. A 404 is returned if this value is invalid. | string | Required | 
| filterId | FilterId of the Filter to replace the Required Preference Consents on. | string | Required | 
Body Parameters
List of Required Preference Consents to update the filter with.
ConfigConsentResult| Name | Description | Type | Additional information | 
|---|---|---|---|
| RequiredPreferenceConsents | Collection of ConfigConsent | None. | 
Request Formats
application/json, text/json
            Sample:
        
{
  "RequiredPreferenceConsents": [
    {
      "TypeName": "sample string 2",
      "DisplayOrder": 3
    }
  ]
}
        application/xml, text/xml
            Sample:
        
<ConfigConsentResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MyPreferences.REST.ConfigModels">
  <RequiredPreferenceConsents>
    <ConfigConsent>
      <ConsentTypeLink>1</ConsentTypeLink>
      <DisplayOrder>3</DisplayOrder>
      <TypeName>sample string 2</TypeName>
    </ConfigConsent>
  </RequiredPreferenceConsents>
</ConfigConsentResult>
        application/x-www-form-urlencoded
            Sample:
    
Sample not available.
Response Information
Response Codes
- Unauthorized (401)
- InternalServerError (500)
- BadRequest (400)
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
            Sample:
                    
Sample not available.