POST api/Contacts

Request Information

URI Parameters

None.

Body Parameters

Contact
NameDescriptionTypeAdditional information
Id

integer

None.

Name

string

Required

String length: inclusive between 0 and 50

Email

string

Required

String length: inclusive between 0 and 50

ContactNo

decimal number

Required

Skype

string

String length: inclusive between 0 and 50

Country

string

String length: inclusive between 0 and 500

Note

string

String length: inclusive between 0 and 200

AddDate

date

Required

IPAddress

string

Required

ByWhichDomain

string

Required

Status

string

String length: inclusive between 0 and 100

HandleBy

string

String length: inclusive between 0 and 100

ContactForService

string

String length: inclusive between 0 and 500

SubService

string

String length: inclusive between 0 and 100

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Name": "sample string 2",
  "Email": "sample string 3",
  "ContactNo": 4.0,
  "Skype": "sample string 5",
  "Country": "sample string 6",
  "Note": "sample string 7",
  "AddDate": "2024-04-26T23:40:14.2181208-05:00",
  "IPAddress": "sample string 9",
  "ByWhichDomain": "sample string 10",
  "Status": "sample string 11",
  "HandleBy": "sample string 12",
  "ContactForService": "sample string 13",
  "SubService": "sample string 14"
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Contact
NameDescriptionTypeAdditional information
Id

integer

None.

Name

string

Required

String length: inclusive between 0 and 50

Email

string

Required

String length: inclusive between 0 and 50

ContactNo

decimal number

Required

Skype

string

String length: inclusive between 0 and 50

Country

string

String length: inclusive between 0 and 500

Note

string

String length: inclusive between 0 and 200

AddDate

date

Required

IPAddress

string

Required

ByWhichDomain

string

Required

Status

string

String length: inclusive between 0 and 100

HandleBy

string

String length: inclusive between 0 and 100

ContactForService

string

String length: inclusive between 0 and 500

SubService

string

String length: inclusive between 0 and 100

Response Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Name": "sample string 2",
  "Email": "sample string 3",
  "ContactNo": 4.0,
  "Skype": "sample string 5",
  "Country": "sample string 6",
  "Note": "sample string 7",
  "AddDate": "2024-04-26T23:40:14.2648926-05:00",
  "IPAddress": "sample string 9",
  "ByWhichDomain": "sample string 10",
  "Status": "sample string 11",
  "HandleBy": "sample string 12",
  "ContactForService": "sample string 13",
  "SubService": "sample string 14"
}