POST api/log/crm/entity/retrieveMultiple
Request Information
URI Parameters
None.
Body Parameters
EntityRetrieveDataContainerName | Description | Type | Additional information |
---|---|---|---|
Entities | Collection of EntityRetrieveData |
Required |
|
SuccessCount | integer |
None. |
|
ErrorCount | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "Entities": [ { "EntityId": "13ba6dab-6e0b-426d-a2ab-92b576907f45", "EntityLogicalName": "sample string 2", "InitiatingSystemUserId": "c4993345-c08c-44ad-9515-5e63aaa665d2", "SystemUserId": "a51a1d9d-780f-4ada-86f9-a77402ff5600", "AccessType": 0, "CRMServer": "sample string 5", "AccessTimeUTC": "2024-11-17T09:33:59.4275503+00:00", "InsertResult": { "Message": "sample string 1", "Success": true, "Ex": { "ClassName": "System.Exception", "Message": null, "Data": null, "InnerException": null, "HelpURL": "sample string 1", "StackTraceString": null, "RemoteStackTraceString": null, "RemoteStackIndex": 0, "ExceptionMethod": null, "HResult": 3, "Source": "sample string 2", "WatsonBuckets": null } } }, { "EntityId": "13ba6dab-6e0b-426d-a2ab-92b576907f45", "EntityLogicalName": "sample string 2", "InitiatingSystemUserId": "c4993345-c08c-44ad-9515-5e63aaa665d2", "SystemUserId": "a51a1d9d-780f-4ada-86f9-a77402ff5600", "AccessType": 0, "CRMServer": "sample string 5", "AccessTimeUTC": "2024-11-17T09:33:59.4275503+00:00", "InsertResult": { "Message": "sample string 1", "Success": true, "Ex": { "ClassName": "System.Exception", "Message": null, "Data": null, "InnerException": null, "HelpURL": "sample string 1", "StackTraceString": null, "RemoteStackTraceString": null, "RemoteStackIndex": 0, "ExceptionMethod": null, "HResult": 3, "Source": "sample string 2", "WatsonBuckets": null } } } ], "SuccessCount": 1, "ErrorCount": 2 }
application/xml, text/xml
Sample:
<EntityRetrieveDataContainer xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tandem.WebAPI.AccessLog.Models"> <Entities> <EntityRetrieveData> <AccessTimeUTC>2024-11-17T09:33:59.4275503+00:00</AccessTimeUTC> <AccessType>DEFAULT</AccessType> <CRMServer>sample string 5</CRMServer> <EntityId>13ba6dab-6e0b-426d-a2ab-92b576907f45</EntityId> <EntityLogicalName>sample string 2</EntityLogicalName> <InitiatingSystemUserId>c4993345-c08c-44ad-9515-5e63aaa665d2</InitiatingSystemUserId> <InsertResult xmlns:d4p1="http://schemas.datacontract.org/2004/07/Tandem.Xrm"> <d4p1:Ex xmlns:d5p1="http://schemas.datacontract.org/2004/07/System"> <ClassName xmlns:d6p1="http://www.w3.org/2001/XMLSchema" i:type="d6p1:string" xmlns="">System.Exception</ClassName> <Message i:nil="true" xmlns="" /> <Data i:nil="true" xmlns="" /> <InnerException i:nil="true" xmlns="" /> <HelpURL xmlns:d6p1="http://www.w3.org/2001/XMLSchema" i:type="d6p1:string" xmlns="">sample string 1</HelpURL> <StackTraceString i:nil="true" xmlns="" /> <RemoteStackTraceString i:nil="true" xmlns="" /> <RemoteStackIndex xmlns:d6p1="http://www.w3.org/2001/XMLSchema" i:type="d6p1:int" xmlns="">0</RemoteStackIndex> <ExceptionMethod i:nil="true" xmlns="" /> <HResult xmlns:d6p1="http://www.w3.org/2001/XMLSchema" i:type="d6p1:int" xmlns="">3</HResult> <Source xmlns:d6p1="http://www.w3.org/2001/XMLSchema" i:type="d6p1:string" xmlns="">sample string 2</Source> <WatsonBuckets i:nil="true" xmlns="" /> </d4p1:Ex> <d4p1:Message>sample string 1</d4p1:Message> <d4p1:Success>true</d4p1:Success> </InsertResult> <SystemUserId>a51a1d9d-780f-4ada-86f9-a77402ff5600</SystemUserId> </EntityRetrieveData> <EntityRetrieveData> <AccessTimeUTC>2024-11-17T09:33:59.4275503+00:00</AccessTimeUTC> <AccessType>DEFAULT</AccessType> <CRMServer>sample string 5</CRMServer> <EntityId>13ba6dab-6e0b-426d-a2ab-92b576907f45</EntityId> <EntityLogicalName>sample string 2</EntityLogicalName> <InitiatingSystemUserId>c4993345-c08c-44ad-9515-5e63aaa665d2</InitiatingSystemUserId> <InsertResult xmlns:d4p1="http://schemas.datacontract.org/2004/07/Tandem.Xrm"> <d4p1:Ex xmlns:d5p1="http://schemas.datacontract.org/2004/07/System"> <ClassName xmlns:d6p1="http://www.w3.org/2001/XMLSchema" i:type="d6p1:string" xmlns="">System.Exception</ClassName> <Message i:nil="true" xmlns="" /> <Data i:nil="true" xmlns="" /> <InnerException i:nil="true" xmlns="" /> <HelpURL xmlns:d6p1="http://www.w3.org/2001/XMLSchema" i:type="d6p1:string" xmlns="">sample string 1</HelpURL> <StackTraceString i:nil="true" xmlns="" /> <RemoteStackTraceString i:nil="true" xmlns="" /> <RemoteStackIndex xmlns:d6p1="http://www.w3.org/2001/XMLSchema" i:type="d6p1:int" xmlns="">0</RemoteStackIndex> <ExceptionMethod i:nil="true" xmlns="" /> <HResult xmlns:d6p1="http://www.w3.org/2001/XMLSchema" i:type="d6p1:int" xmlns="">3</HResult> <Source xmlns:d6p1="http://www.w3.org/2001/XMLSchema" i:type="d6p1:string" xmlns="">sample string 2</Source> <WatsonBuckets i:nil="true" xmlns="" /> </d4p1:Ex> <d4p1:Message>sample string 1</d4p1:Message> <d4p1:Success>true</d4p1:Success> </InsertResult> <SystemUserId>a51a1d9d-780f-4ada-86f9-a77402ff5600</SystemUserId> </EntityRetrieveData> </Entities> <ErrorCount>2</ErrorCount> <SuccessCount>1</SuccessCount> </EntityRetrieveDataContainer>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
APIResponseName | Description | Type | Additional information |
---|---|---|---|
requestid | string |
None. |
|
success | boolean |
None. |
|
message | string |
None. |
|
data | Object |
None. |
|
status | string |
None. |
|
errors | Collection of ResponseError |
None. |
|
warnings | Collection of ResponseWarning |
None. |
Response Formats
application/json, text/json
Sample:
{ "requestid": "sample string 1", "success": true, "message": "sample string 3", "data": {}, "status": "Retrieved", "errors": [ { "code": 1, "message": "sample string 2" }, { "code": 1, "message": "sample string 2" } ], "warnings": [ { "code": 1, "message": "sample string 2" }, { "code": 1, "message": "sample string 2" } ] }
application/xml, text/xml
Sample:
<APIResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tandem.IO.WebAPI.Models"> <data /> <errors> <ResponseError> <code>1</code> <message>sample string 2</message> </ResponseError> <ResponseError> <code>1</code> <message>sample string 2</message> </ResponseError> </errors> <message>sample string 3</message> <requestid>sample string 1</requestid> <status>Retrieved</status> <success>true</success> <warnings> <ResponseWarning> <code>1</code> <message>sample string 2</message> </ResponseWarning> <ResponseWarning> <code>1</code> <message>sample string 2</message> </ResponseWarning> </warnings> </APIResponse>