POST api/notifications/appeal-support
This method will allow user to submiscribe to appeal support notification requests based on their property class
Request Information
URI Parameters
None.
Body Parameters
Instance of
AppealSupportNotificationRequestBindingModel| Name | 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 |
|
| 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 |
Required |
Request Formats
application/json, text/json
Sample:
{
"userId": 1,
"firstName": "sample string 1",
"lastName": "sample string 2",
"email": "sample string 3",
"propertyAddressId": 4
}
text/html
Sample:
{"userId":1,"firstName":"sample string 1","lastName":"sample string 2","email":"sample string 3","propertyAddressId":4}
application/xml, text/xml
Sample:
<AppealSupportNotificationRequestBindingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ptd.Model.WebModels.NotificationBinding"> <Email>sample string 3</Email> <FirstName>sample string 1</FirstName> <LastName>sample string 2</LastName> <PropertyAddressId>4</PropertyAddressId> <UserId>1</UserId> </AppealSupportNotificationRequestBindingModel>
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>