POST api/Contact/SaveContact

Request Information

URI Parameters

None.

Body Parameters

Contact
NameDescriptionTypeAdditional information
ContactId

integer

None.

ContactName

string

None.

ContactEmail

string

None.

Subject

string

None.

Message

string

None.

RegdNo

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "ContactId": 1,
  "ContactName": "sample string 2",
  "ContactEmail": "sample string 3",
  "Subject": "sample string 4",
  "Message": "sample string 5",
  "RegdNo": 6
}

text/xml

Sample:
<Contact xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Project">
  <ContactEmail>sample string 3</ContactEmail>
  <ContactId>1</ContactId>
  <ContactName>sample string 2</ContactName>
  <Message>sample string 5</Message>
  <RegdNo>6</RegdNo>
  <Subject>sample string 4</Subject>
</Contact>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Collection of Object

None.

Response Formats

application/json, text/json

Sample:
{}

text/xml

Sample:
<ArrayOfKeyValueOfstringanyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays" />