POST api/ContactUs

Request Information

URI Parameters

None.

Body Parameters

ContactInfo
NameDescriptionTypeAdditional information
Name

string

None.

Surname

string

None.

Email

string

None.

Mobile

string

None.

Country

string

None.

Province

string

None.

DateOfBirth

date

None.

KnowMoreAbout

string

None.

Message

string

None.

OptIn

boolean

None.

Request Formats

application/json, text/json
Sample:
{
  "Name": "sample string 1",
  "Surname": "sample string 2",
  "Email": "sample string 3",
  "Mobile": "sample string 4",
  "Country": "sample string 5",
  "Province": "sample string 6",
  "DateOfBirth": "2026-04-14T05:45:56.7939992+02:00",
  "KnowMoreAbout": "sample string 8",
  "Message": "sample string 9",
  "OptIn": true
}
application/xml, text/xml
Sample:
<ContactInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DistellControlAPI.Models.ContactUs">
  <Country>sample string 5</Country>
  <DateOfBirth>2026-04-14T05:45:56.7939992+02:00</DateOfBirth>
  <Email>sample string 3</Email>
  <KnowMoreAbout>sample string 8</KnowMoreAbout>
  <Message>sample string 9</Message>
  <Mobile>sample string 4</Mobile>
  <Name>sample string 1</Name>
  <OptIn>true</OptIn>
  <Province>sample string 6</Province>
  <Surname>sample string 2</Surname>
</ContactInfo>
application/x-www-form-urlencoded
Sample:

Sample not available.

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.