POST api/contctus

Request Information

URI Parameters

None.

Body Parameters

contact
NameDescriptionTypeAdditional information
name

string

None.

country

string

None.

address

string

None.

email

string

None.

phone

string

None.

whatsapp

string

None.

note

string

None.

Request Formats

application/json, text/json

Sample:
{
  "name": "sample string 1",
  "country": "sample string 2",
  "address": "sample string 3",
  "email": "sample string 4",
  "phone": "sample string 5",
  "whatsapp": "sample string 6",
  "note": "sample string 7"
}

text/xml

Sample:
<contact xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/smart_weber">
  <address>sample string 3</address>
  <country>sample string 2</country>
  <email>sample string 4</email>
  <name>sample string 1</name>
  <note>sample string 7</note>
  <phone>sample string 5</phone>
  <whatsapp>sample string 6</whatsapp>
</contact>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

outdata
NameDescriptionTypeAdditional information
data

DataTable

None.

rowcount

if get data then return count row else return the id row affected

integer

None.

status

boolean

None.

msg_error

string

None.

Response Formats

application/json, text/json

Sample:
{
  "data": null,
  "rowcount": 1,
  "status": true,
  "msg_error": "sample string 3"
}

text/xml

Sample:
<outdata xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/smart_weber">
  <data i:nil="true" />
  <msg_error>sample string 3</msg_error>
  <rowcount>1</rowcount>
  <status>true</status>
</outdata>