POST api/Contact

Request Information

URI Parameters

None.

Body Parameters

ContactD
NameDescriptionTypeAdditional information
name

string

Required

mobile

string

None.

email

string

Required

company_name

string

None.

find

string

None.

your_message

string

Required

Request Formats

application/json, text/json

Sample:
{
  "name": "sample string 1",
  "mobile": "sample string 2",
  "email": "sample string 3",
  "company_name": "sample string 4",
  "find": "sample string 5",
  "your_message": "sample string 6"
}

text/xml

Sample:
<ContactD xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WoApp.Controllers">
  <company_name>sample string 4</company_name>
  <email>sample string 3</email>
  <find>sample string 5</find>
  <mobile>sample string 2</mobile>
  <name>sample string 1</name>
  <your_message>sample string 6</your_message>
</ContactD>

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

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.