POST api/Email
Request Information
URI Parameters
None.
Body Parameters
Enquiry| Name | Description | Type | Additional information |
|---|---|---|---|
| cntNm | string |
None. |
|
| cntLNm | string |
None. |
|
| cntPhone | string |
None. |
|
| cntEmail | string |
None. |
|
| cntMessage | string |
None. |
|
| cntCompany | string |
None. |
|
| cntFileUpload | HttpPostedFileBase |
None. |
Request Formats
application/json, text/json
Sample:
{
"cntNm": "sample string 1",
"cntLNm": "sample string 2",
"cntPhone": "sample string 3",
"cntEmail": "sample string 4",
"cntMessage": "sample string 5",
"cntCompany": "sample string 6",
"cntFileUpload": null
}
application/xml, text/xml
Sample:
<Enquiry xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MMEmailAPI.Models"> <cntCompany>sample string 6</cntCompany> <cntEmail>sample string 4</cntEmail> <cntFileUpload xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.Web" i:nil="true" /> <cntLNm>sample string 2</cntLNm> <cntMessage>sample string 5</cntMessage> <cntNm>sample string 1</cntNm> <cntPhone>sample string 3</cntPhone> </Enquiry>
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. |