POST api/ContactUs/SendMessage

Request Information

URI Parameters

None.

Body Parameters

MessageModel
NameDescriptionTypeAdditional information
Code

string

Required

UserName

string

Required

Email

string

Required

Message

string

Required

Captcha

string

Required

Language

string

Required

Request Formats

application/json, text/json

Sample:
{
  "Code": "sample string 1",
  "UserName": "sample string 2",
  "Email": "sample string 3",
  "Message": "sample string 4",
  "Captcha": "sample string 5",
  "Language": "sample string 6"
}

application/xml, text/xml

Sample:
<MessageModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Portal.UI.Models">
  <Captcha>sample string 5</Captcha>
  <Code>sample string 1</Code>
  <Email>sample string 3</Email>
  <Language>sample string 6</Language>
  <Message>sample string 4</Message>
  <UserName>sample string 2</UserName>
</MessageModel>

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

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.