POST api/notifications/appeal-schedule
This method will all user to subscribe to all appeal schedule change email notification from out platform on a per township basis
Request Information
URI Parameters
None.
Body Parameters
Instance of
AppealScheduleNotificationRequestBindingModelName | Description | Type | Additional information |
---|---|---|---|
UserId | integer |
None. |
|
FirstName | string |
Required Matching regular expression pattern: ([a-zA-Z .&'-]+) Min length: 2 |
|
LastName | string |
Required Matching regular expression pattern: ([a-zA-Z0-9 .&'-]+) Min length: 2 |
|
TownshipId | integer |
Required |
|
string |
Required Matching regular expression pattern: [a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])? Min length: 5 |
||
PropertyAddressId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "userId": 1, "firstName": "sample string 1", "lastName": "sample string 2", "townshipId": 3, "email": "sample string 4", "propertyAddressId": 1 }
text/html
Sample:
{"userId":1,"firstName":"sample string 1","lastName":"sample string 2","townshipId":3,"email":"sample string 4","propertyAddressId":1}
application/xml, text/xml
Sample:
<AppealScheduleNotificationRequestBindingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ptd.Model.WebModels.NotificationBinding"> <Email>sample string 4</Email> <FirstName>sample string 1</FirstName> <LastName>sample string 2</LastName> <PropertyAddressId>1</PropertyAddressId> <TownshipId>3</TownshipId> <UserId>1</UserId> </AppealScheduleNotificationRequestBindingModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
True/False
booleanResponse 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>