POST api/people/unsubscribe/{id}
Unsubscribe/Subscribe All contact items for a person
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | integer |
Required |
Body Parameters
Collection of Dezrez.Core.DataContracts.External.Api.People.Query.Get.ContactItemDataContractName | Description | Type | Additional information |
---|---|---|---|
Type | Dezrez.Core.DataContracts.External.Api.System.EnumDataContract |
None. |
|
Value | string |
None. |
|
Notes | string |
None. |
|
ContactOrder | integer |
None. |
|
AllowContact | boolean |
None. |
|
MarketingContactStatus | Dezrez.Core.DataContracts.External.Api.System.EnumDataContract |
None. |
|
Name | string |
None. |
|
Id | integer |
None. |
Request Formats
application/x-www-form-urlencoded
Sample:
Sample not available.
application/json, text/json
Sample:
[ { "Type": { "Id": 1, "Name": "sample string 2", "SystemName": "sample string 3" }, "Value": "sample string 1", "Notes": "sample string 2", "ContactOrder": 3, "AllowContact": true, "MarketingContactStatus": { "Id": 1, "Name": "sample string 2", "SystemName": "sample string 3" }, "Name": "sample string 5", "Id": 6 }, { "Type": { "Id": 1, "Name": "sample string 2", "SystemName": "sample string 3" }, "Value": "sample string 1", "Notes": "sample string 2", "ContactOrder": 3, "AllowContact": true, "MarketingContactStatus": { "Id": 1, "Name": "sample string 2", "SystemName": "sample string 3" }, "Name": "sample string 5", "Id": 6 } ]
Response Information
Resource Description
The created ContactItem
System.Net.Http.HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | System.Version |
None. |
|
Content | System.Net.Http.HttpContent |
None. |
|
StatusCode | System.Net.HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | System.Net.Http.HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |