POST api/Contact/DeleteMessage

Request Information

URI Parameters

None.

Body Parameters

ContactUsModel
NameDescriptionTypeAdditional information
Id

integer

None.

IsRead

boolean

None.

CreatedOn

date

None.

ModifiedBy

string

None.

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:
{
  "Id": 1,
  "IsRead": true,
  "CreatedOn": "2019-05-22T09:58:34.1564579+05:00",
  "ModifiedBy": "sample string 4",
  "Name": "sample string 5",
  "Email": "sample string 6",
  "Message": "sample string 7",
  "Phone": "sample string 8",
  "Company": "sample string 9",
  "TypeOfBusiness": "sample string 10",
  "AreaAppliesFor": "sample string 11",
  "RegionalOfficeAddress": "sample string 12",
  "AnnualEarnings": "sample string 13"
}

application/xml, text/xml

Sample:
<ContactUsModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GreenTech.Models.Contact">
  <AnnualEarnings>sample string 13</AnnualEarnings>
  <AreaAppliesFor>sample string 11</AreaAppliesFor>
  <Company>sample string 9</Company>
  <Email>sample string 6</Email>
  <Message>sample string 7</Message>
  <Name>sample string 5</Name>
  <Phone>sample string 8</Phone>
  <RegionalOfficeAddress>sample string 12</RegionalOfficeAddress>
  <TypeOfBusiness>sample string 10</TypeOfBusiness>
  <CreatedOn>2019-05-22T09:58:34.1564579+05:00</CreatedOn>
  <Id>1</Id>
  <IsRead>true</IsRead>
  <ModifiedBy>sample string 4</ModifiedBy>
</ContactUsModel>

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.