POST api/General/AddContact

Request Information

URI Parameters

None.

Body Parameters

ContactU
NameDescriptionTypeAdditional information
ID

integer

None.

Names

string

None.

Email

string

None.

MobileNo

string

None.

Subjects

string

None.

Messages

string

None.

CreateDate

date

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "names": "sample string 2",
  "email": "sample string 3",
  "mobileNo": "sample string 4",
  "subjects": "sample string 5",
  "messages": "sample string 6",
  "createDate": "2020-07-04T18:45:00.7684811+00:00"
}

application/xml, text/xml

Sample:
<ContactU xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SelfHub.API.Database">
  <CreateDate>2020-07-04T18:45:00.7684811+00:00</CreateDate>
  <Email>sample string 3</Email>
  <ID>1</ID>
  <Messages>sample string 6</Messages>
  <MobileNo>sample string 4</MobileNo>
  <Names>sample string 2</Names>
  <Subjects>sample string 5</Subjects>
</ContactU>

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.