POST api/Contact/createSiteContact
Request Information
URI Parameters
None.
Body Parameters
SiteContactModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| TypeName | string |
None. |
|
| ContactTypeId | integer |
None. |
|
| UpdateBy | integer |
None. |
|
| Name | string |
None. |
|
| string |
None. |
||
| Company | string |
None. |
|
| Phone1 | string |
None. |
|
| Phone1Ext | string |
None. |
|
| Phone2 | string |
None. |
|
| Phone2Ext2 | string |
None. |
|
| FAX | string |
None. |
|
| Cell | string |
None. |
|
| Status | boolean |
None. |
|
| ContactType | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"TypeName": "sample string 2",
"ContactTypeId": 3,
"UpdateBy": 4,
"Name": "sample string 5",
"Email": "sample string 6",
"Company": "sample string 7",
"Phone1": "sample string 8",
"Phone1Ext": "sample string 9",
"Phone2": "sample string 10",
"Phone2Ext2": "sample string 11",
"FAX": "sample string 12",
"Cell": "sample string 13",
"Status": true,
"ContactType": 15
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |