POST api/ui/general/sendenquiry

Request Information

URI Parameters

None.

Body Parameters

GeneralContact
NameDescriptionTypeAdditional information
FirstName

string

None.

Surname

string

None.

Email

string

None.

ClaimReference

string

None.

Postcode

string

None.

Message

string

None.

Request Formats

application/json, text/json

Sample:
{
  "FirstName": "sample string 1",
  "Surname": "sample string 2",
  "Email": "sample string 3",
  "ClaimReference": "sample string 4",
  "Postcode": "sample string 5",
  "Message": "sample string 6"
}

application/xml, text/xml

Sample:
<GeneralContact xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TaxRebate.TaxRefunds">
  <ClaimReference>sample string 4</ClaimReference>
  <Email>sample string 3</Email>
  <FirstName>sample string 1</FirstName>
  <Message>sample string 6</Message>
  <Postcode>sample string 5</Postcode>
  <Surname>sample string 2</Surname>
</GeneralContact>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.