POST api/Contacts
Request Information
URI Parameters
None.
Body Parameters
ContactName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
Name | string |
Required String length: inclusive between 0 and 50 |
|
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
{ "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-12-21T05:48:09.914655-06: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 not available.
Response Information
Resource Description
ContactName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
Name | string |
Required String length: inclusive between 0 and 50 |
|
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
{ "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-12-21T05:48:09.9302793-06: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" }