POST api/ContactUs

Request Information

URI Parameters

None.

Body Parameters

ContactU
NameDescriptionTypeAdditional information
Id

integer

None.

CategoryId

string

None.

UserId

integer

None.

Name

string

None.

Email

string

None.

Phone

string

None.

City

string

None.

Country

string

None.

Message

string

None.

Date

date

None.

PartnerId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "CategoryId": "sample string 2",
  "UserId": 3,
  "Name": "sample string 4",
  "Email": "sample string 5",
  "Phone": "sample string 6",
  "City": "sample string 7",
  "Country": "sample string 8",
  "Message": "sample string 9",
  "Date": "2018-09-25T19:24:09.1429738-04:00",
  "PartnerId": 10
}

application/xml, text/xml

Sample:
<ContactU xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AudioJewelAPI.Models">
  <CategoryId>sample string 2</CategoryId>
  <City>sample string 7</City>
  <Country>sample string 8</Country>
  <Date>2018-09-25T19:24:09.1429738-04:00</Date>
  <Email>sample string 5</Email>
  <Id>1</Id>
  <Message>sample string 9</Message>
  <Name>sample string 4</Name>
  <PartnerId>10</PartnerId>
  <Phone>sample string 6</Phone>
  <UserId>3</UserId>
</ContactU>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ContactU
NameDescriptionTypeAdditional information
Id

integer

None.

CategoryId

string

None.

UserId

integer

None.

Name

string

None.

Email

string

None.

Phone

string

None.

City

string

None.

Country

string

None.

Message

string

None.

Date

date

None.

PartnerId

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "CategoryId": "sample string 2",
  "UserId": 3,
  "Name": "sample string 4",
  "Email": "sample string 5",
  "Phone": "sample string 6",
  "City": "sample string 7",
  "Country": "sample string 8",
  "Message": "sample string 9",
  "Date": "2018-09-25T19:24:09.1429738-04:00",
  "PartnerId": 10
}

application/xml, text/xml

Sample:
<ContactU xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AudioJewelAPI.Models">
  <CategoryId>sample string 2</CategoryId>
  <City>sample string 7</City>
  <Country>sample string 8</Country>
  <Date>2018-09-25T19:24:09.1429738-04:00</Date>
  <Email>sample string 5</Email>
  <Id>1</Id>
  <Message>sample string 9</Message>
  <Name>sample string 4</Name>
  <PartnerId>10</PartnerId>
  <Phone>sample string 6</Phone>
  <UserId>3</UserId>
</ContactU>