POST api/Contact/ContactUs

Request Information

URI Parameters

None.

Body Parameters

ContactUsPostModel
NameDescriptionTypeAdditional information
Name

string

None.

Email

string

None.

Message

string

None.

Phone

string

None.

Company

string

None.

TypeOfBusiness

string

None.

AreaAppliesFor

string

None.

RegionalOfficeAddress

string

None.

AnnualEarnings

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Name": "sample string 1",
  "Email": "sample string 2",
  "Message": "sample string 3",
  "Phone": "sample string 4",
  "Company": "sample string 5",
  "TypeOfBusiness": "sample string 6",
  "AreaAppliesFor": "sample string 7",
  "RegionalOfficeAddress": "sample string 8",
  "AnnualEarnings": "sample string 9"
}

application/xml, text/xml

Sample:
<ContactUsPostModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GreenTech.Models.Contact">
  <AnnualEarnings>sample string 9</AnnualEarnings>
  <AreaAppliesFor>sample string 7</AreaAppliesFor>
  <Company>sample string 5</Company>
  <Email>sample string 2</Email>
  <Message>sample string 3</Message>
  <Name>sample string 1</Name>
  <Phone>sample string 4</Phone>
  <RegionalOfficeAddress>sample string 8</RegionalOfficeAddress>
  <TypeOfBusiness>sample string 6</TypeOfBusiness>
</ContactUsPostModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.