PUT api/Customer/SetContactInterests/{customerID}
Allows a list of customer interests to be created or updated against the customer's record.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| customerID |
Customer's ID to create or update the interests against. |
integer |
Required |
Body Parameters
A List of customer Interests.
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 Saved 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 Saved Succesfully</Message> </InformationResponse>