DELETE api/notifications/appeal-schedule

This method will allow user to unsubscribe from previously subscribed appeal schedule change notifications for a specific township and user

Request Information

URI Parameters

None.

Body Parameters

Instance of

RemoveNotificationRequestBindingModel
NameDescriptionTypeAdditional information
TownshipId

integer

Required

Email

string

Required

Request Formats

application/json, text/json

Sample:
{
  "townshipId": 1,
  "email": "sample string 2"
}

text/html

Sample:
{"townshipId":1,"email":"sample string 2"}

application/xml, text/xml

Sample:
<RemoveNotificationRequestBindingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ptd.Model.WebModels.NotificationBinding">
  <Email>sample string 2</Email>
  <TownshipId>1</TownshipId>
</RemoveNotificationRequestBindingModel>

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 'RemoveNotificationRequestBindingModel'.

Response Information

Resource Description

True/False

boolean

Response Formats

application/json, text/json, text/html

Sample:
true

application/xml, text/xml

Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>