PUT api/Customer/RemoveContactInterests/{customerID}
Allows a list of customer interests to be removed from a customer's record.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| customerID |
The ID of the customer to have the interests removed from. |
integer |
Required |
Body Parameters
The List of customer interests to be removed.
Collection of ObjectNone.
Request Formats
application/json, text/json
Sample:
[{"ID":0,"Description":""}]
application/xml, text/xml
Sample:
<?xml version="1.0" encoding="utf-16"?>
<CustomerInterests xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<APICustomerInterest>
<ID>0</ID>
<Description />
</APICustomerInterest>
</CustomerInterests>
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{"Result":"Complete","Message":"Interest: Hill Walking Removed Succesfully"}
application/xml, text/xml
Sample:
<?xml version="1.0" encoding="utf-16"?> <InformationResponse xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <Result>Complete</Result> <Message>Interest: Hill Walking Removed Succesfully</Message> </InformationResponse>