POST api/Contact
Request Information
URI Parameters
None.
Body Parameters
ContactData| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
None. |
|
| FirstName | string |
None. |
|
| LastName | string |
None. |
|
| Title | string |
None. |
|
| ClientID | integer |
None. |
|
| VendorID | integer |
None. |
|
| DeptName | string |
None. |
|
| LocationAddress | string |
None. |
|
| WorkEmail | string |
None. |
|
| WorkPhone | string |
None. |
|
| WorkFax | string |
None. |
|
| CellPhone | string |
None. |
|
| HomeEmail | string |
None. |
|
| HomePhone | string |
None. |
|
| LinkedInProfile | string |
None. |
|
| Comments | string |
None. |
|
| CreatedDate | date |
None. |
|
| LastUpdated | date |
None. |
Request Formats
application/json, text/json
Sample:
{
"ID": 1,
"FirstName": "sample string 2",
"LastName": "sample string 3",
"Title": "sample string 4",
"ClientID": 5,
"VendorID": 6,
"DeptName": "sample string 7",
"LocationAddress": "sample string 8",
"WorkEmail": "sample string 9",
"WorkPhone": "sample string 10",
"WorkFax": "sample string 11",
"CellPhone": "sample string 12",
"HomeEmail": "sample string 13",
"HomePhone": "sample string 14",
"LinkedInProfile": "sample string 15",
"Comments": "sample string 16",
"CreatedDate": "2026-02-10T16:09:52.1795185-08:00",
"LastUpdated": "2026-02-10T16:09:52.1795185-08:00"
}
text/xml
Sample:
<ContactData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SAS.DAL"> <CellPhone>sample string 12</CellPhone> <ClientID>5</ClientID> <Comments>sample string 16</Comments> <CreatedDate>2026-02-10T16:09:52.1795185-08:00</CreatedDate> <DeptName>sample string 7</DeptName> <FirstName>sample string 2</FirstName> <HomeEmail>sample string 13</HomeEmail> <HomePhone>sample string 14</HomePhone> <ID>1</ID> <LastName>sample string 3</LastName> <LastUpdated>2026-02-10T16:09:52.1795185-08:00</LastUpdated> <LinkedInProfile>sample string 15</LinkedInProfile> <LocationAddress>sample string 8</LocationAddress> <Title>sample string 4</Title> <VendorID>6</VendorID> <WorkEmail>sample string 9</WorkEmail> <WorkFax>sample string 11</WorkFax> <WorkPhone>sample string 10</WorkPhone> </ContactData>
application/x-www-form-urlencoded
Sample:
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. |