POST api/v1/log/crm/entity/retrieveMultiple

Request Information

URI Parameters

None.

Body Parameters

EntityRetrieveDataContainer
NameDescriptionTypeAdditional information
Entities

Collection of EntityRetrieveData

Required

SuccessCount

integer

None.

ErrorCount

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Entities": [
    {
      "EntityId": "65b5b5ee-52fd-416e-ac17-7d7bf1b9177a",
      "EntityLogicalName": "sample string 2",
      "InitiatingSystemUserId": "ce8f18b2-dd7c-4877-b3de-ef15bf76f5b4",
      "SystemUserId": "0a269bc9-2a33-451a-8537-65763fb29e5b",
      "AccessType": 0,
      "CRMServer": "sample string 5",
      "AccessTimeUTC": "2024-11-17T09:41:17.4488682+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": "65b5b5ee-52fd-416e-ac17-7d7bf1b9177a",
      "EntityLogicalName": "sample string 2",
      "InitiatingSystemUserId": "ce8f18b2-dd7c-4877-b3de-ef15bf76f5b4",
      "SystemUserId": "0a269bc9-2a33-451a-8537-65763fb29e5b",
      "AccessType": 0,
      "CRMServer": "sample string 5",
      "AccessTimeUTC": "2024-11-17T09:41:17.4488682+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:41:17.4488682+00:00</AccessTimeUTC>
      <AccessType>DEFAULT</AccessType>
      <CRMServer>sample string 5</CRMServer>
      <EntityId>65b5b5ee-52fd-416e-ac17-7d7bf1b9177a</EntityId>
      <EntityLogicalName>sample string 2</EntityLogicalName>
      <InitiatingSystemUserId>ce8f18b2-dd7c-4877-b3de-ef15bf76f5b4</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>0a269bc9-2a33-451a-8537-65763fb29e5b</SystemUserId>
    </EntityRetrieveData>
    <EntityRetrieveData>
      <AccessTimeUTC>2024-11-17T09:41:17.4488682+00:00</AccessTimeUTC>
      <AccessType>DEFAULT</AccessType>
      <CRMServer>sample string 5</CRMServer>
      <EntityId>65b5b5ee-52fd-416e-ac17-7d7bf1b9177a</EntityId>
      <EntityLogicalName>sample string 2</EntityLogicalName>
      <InitiatingSystemUserId>ce8f18b2-dd7c-4877-b3de-ef15bf76f5b4</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>0a269bc9-2a33-451a-8537-65763fb29e5b</SystemUserId>
    </EntityRetrieveData>
  </Entities>
  <ErrorCount>2</ErrorCount>
  <SuccessCount>1</SuccessCount>
</EntityRetrieveDataContainer>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'EntityRetrieveDataContainer'.

Response Information

Resource Description

APIResponse
NameDescriptionTypeAdditional 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>