GET api/ContentManagement/SendContactUsMail

Request Information

URI Parameters

None.

Body Parameters

ContactUsBO
NameDescriptionTypeAdditional information
Name

string

None.

Email

string

None.

Subject

string

None.

PhoneNumber

string

None.

Message

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Name": "sample string 1",
  "Email": "sample string 2",
  "Subject": "sample string 3",
  "PhoneNumber": "sample string 4",
  "Message": "sample string 5"
}

application/xml, text/xml

Sample:
<ContactUsBO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DAL.BO">
  <Email>sample string 2</Email>
  <Message>sample string 5</Message>
  <Name>sample string 1</Name>
  <PhoneNumber>sample string 4</PhoneNumber>
  <Subject>sample string 3</Subject>
</ContactUsBO>

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

Response Information

Resource Description

APIResponse
NameDescriptionTypeAdditional information
Message

string

None.

Data

Object

None.

Count

integer

None.

Activity

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Message": "sample string 1",
  "Data": {},
  "Count": 3,
  "Activity": "sample string 4"
}

application/xml, text/xml

Sample:
<APIResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DAL.BO">
  <Activity>sample string 4</Activity>
  <Count>3</Count>
  <Data />
  <Message>sample string 1</Message>
</APIResponse>