POST api/Contacts
Request Information
URI Parameters
None.
Body Parameters
Contact| Name | 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": "2025-11-03T02:56:18.2528032Z",
"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
Contact| Name | 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": "2025-11-03T02:56:18.7059008Z",
"IPAddress": "sample string 9",
"ByWhichDomain": "sample string 10",
"Status": "sample string 11",
"HandleBy": "sample string 12",
"ContactForService": "sample string 13",
"SubService": "sample string 14"
}