POST api/Contacts?firstName={firstName}&lastName={lastName}&emailAddress={emailAddress}&positionId={positionId}&accountId={accountId}
Create New Contact Record
Contact Username is required to save a Password for the contact.
Possible Service Responses:
201/Created - contact created successfully and returned in the body of the response.
500/Internal Server - unexpected server error, details in the body of the response.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
firstName | System.String |
Required |
|
lastName | System.String |
Required |
|
emailAddress | System.String |
Required |
|
positionId | System.String |
Required |
|
accountId | System.String |
Required |
Body Parameters
None.
Response Information
Resource Description
System.Net.Http.HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | System.Version |
None. |
|
Content | System.Net.Http.HttpContent |
None. |
|
StatusCode | System.Net.HttpStatusCode |
None. |
|
ReasonPhrase | System.String |
None. |
|
Headers | System.Net.Http.Headers.HttpResponseHeaders |
None. |
|
RequestMessage | System.Net.Http.HttpRequestMessage |
None. |
|
IsSuccessStatusCode | System.Boolean |
None. |