POST api/ContactUs/Submit
Request Information
URI Parameters
None.
Body Parameters
ContactUsModel| Name | Description | Type | Additional information |
|---|---|---|---|
| DistrictId | integer |
None. |
|
| Name | string |
None. |
|
| string |
None. |
||
| Phone | string |
None. |
|
| Message | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"DistrictId": 1,
"Name": "sample string 2",
"Email": "sample string 3",
"Phone": "sample string 4",
"Message": "sample string 5"
}
application/xml, text/xml
Sample:
<ContactUsModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LAP.WebAPI.Models"> <DistrictId>1</DistrictId> <Email>sample string 3</Email> <Message>sample string 5</Message> <Name>sample string 2</Name> <Phone>sample string 4</Phone> </ContactUsModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |