POST Api/Entity/ByFetch?primaryAttribute={primaryAttribute}&id={id}
Retrieves Entity based on fetch xml primmary attribute and id
Possible Service Responses:
200/OK - match found and list of account records are in the body of the response.
404/Accounts Not Found - no accounts found matching specified name.
500/Internal Server - unexpected server error, details in the body of the response.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| primaryAttribute | System.String |
Required |
|
| id | System.String |
Required |
Body Parameters
None.
Response Information
Resource Description
System.Net.Http.HttpResponseMessage| Name | 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. |