POST api/contact/contactus

No documentation available.

Request Information

Parameters

NameDescriptionAdditional information
entity
No documentation available.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "contactId": "bfb65b93-8cea-41aa-a34c-607f42665b69",
  "interestedIn": "sample string 2",
  "name": "sample string 3",
  "phone1": "sample string 4",
  "email": "sample string 5",
  "city": "sample string 6",
  "message": "sample string 7",
  "countryId": "sample string 8",
  "delFlg": true,
  "createdOn": "2020-09-30T06:51:08.1523781+00:00",
  "createdBy": "3971c70f-74a6-46d0-be7a-829a83369dac"
}

application/xml, text/xml

Sample:
<ContactUsModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IncodeCompanyService.Utility.PresenterModel">
  <city>sample string 6</city>
  <contactId>bfb65b93-8cea-41aa-a34c-607f42665b69</contactId>
  <countryId>sample string 8</countryId>
  <createdBy>3971c70f-74a6-46d0-be7a-829a83369dac</createdBy>
  <createdOn>2020-09-30T06:51:08.1523781+00:00</createdOn>
  <delFlg>true</delFlg>
  <email>sample string 5</email>
  <interestedIn>sample string 2</interestedIn>
  <message>sample string 7</message>
  <name>sample string 3</name>
  <phone1>sample string 4</phone1>
</ContactUsModel>

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