POST api/v{version}/users/contact

Request Information

URI Parameters

NameDescriptionTypeAdditional information
version

string

None.

Body Parameters

ContactMessageAddModel
NameDescriptionTypeAdditional information
Subject

string

Required

Message

string

Required

FirstName

string

None.

LastName

string

None.

Email

string

None.

Mobile

string

None.

ContactNumber

string

None.

IsImportant

boolean

Required

Request Formats

application/json, text/json

Sample:
{
  "Subject": "sample string 1",
  "Message": "sample string 2",
  "FirstName": "sample string 3",
  "LastName": "sample string 4",
  "Email": "sample string 5",
  "Mobile": "sample string 6",
  "ContactNumber": "sample string 7",
  "IsImportant": true
}

application/xml, text/xml

Sample:
<ContactMessageAddModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FastFixCore.BindingModels.ContactMessage">
  <ContactNumber>sample string 7</ContactNumber>
  <Email>sample string 5</Email>
  <FirstName>sample string 3</FirstName>
  <IsImportant>true</IsImportant>
  <LastName>sample string 4</LastName>
  <Message>sample string 2</Message>
  <Mobile>sample string 6</Mobile>
  <Subject>sample string 1</Subject>
</ContactMessageAddModel>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.