POST api/people/unsubscribe/{id}

Unsubscribe/Subscribe All contact items for a person

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

Collection of ContactItemDataContract
NameDescriptionTypeAdditional information
Type

EnumDataContract

None.

Value

string

None.

Notes

string

None.

ContactOrder

integer

None.

AllowContact

boolean

None.

MarketingContactStatus

EnumDataContract

None.

Name

string

None.

Id

integer

None.

Request Formats

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
  }
]

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

The created ContactItem

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.