POST API/DirectUnsubscribe

Request Information

URI Parameters

None.

Body Parameters

DirectUnsubscribeBindingModel
NameDescriptionTypeAdditional information
guid

string

Required

newsletterUnsubscribed

boolean

Required

estoreUnsubscribed

boolean

Required

Request Formats

application/json, text/json

Sample:
{
  "guid": "sample string 1",
  "newsletterUnsubscribed": true,
  "estoreUnsubscribed": true
}

text/html

Sample:
{"guid":"sample string 1","newsletterUnsubscribed":true,"estoreUnsubscribed":true}

application/xml, text/xml

Sample:
<DirectUnsubscribeBindingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BMCBusinessLayer.Models">
  <estoreUnsubscribed>true</estoreUnsubscribed>
  <guid>sample string 1</guid>
  <newsletterUnsubscribed>true</newsletterUnsubscribed>
</DirectUnsubscribeBindingModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, text/html, application/xml, text/xml

Sample:

Sample not available.