POST api/Online/AddToUnsubscribeList

Request Information

URI Parameters

None.

Body Parameters

UnsubscribeModel
NameDescriptionTypeAdditional information
UpdatePhone

boolean

None.

Phone

string

None.

UpdateEmail

boolean

None.

Email

string

None.

FromText

boolean

None.

MerchantId

integer

None.

UserId

string

None.

Request Formats

application/json, text/json

Sample:
{
  "UpdatePhone": true,
  "Phone": "sample string 1",
  "UpdateEmail": true,
  "Email": "sample string 2",
  "FromText": true,
  "MerchantId": 1,
  "UserId": "sample string 3"
}

application/xml, text/xml

Sample:
<UnsubscribeModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LP.WebAPI.Models">
  <Email>sample string 2</Email>
  <FromText>true</FromText>
  <MerchantId>1</MerchantId>
  <Phone>sample string 1</Phone>
  <UpdateEmail>true</UpdateEmail>
  <UpdatePhone>true</UpdatePhone>
  <UserId>sample string 3</UserId>
</UnsubscribeModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.