POST api/people/unsubscribe/{id}

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:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'IList`1'.

Response Information

Resource Description

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.