【问题标题】:How to get the audit log of an entity in CRM 2016 using a web API如何使用 Web API 在 CRM 2016 中获取实体的审核日志
【发布时间】:2016-09-04 09:18:55
【问题描述】:

我已经进行了大量研究,以获取使用 Microsoft Dynamics CRM 2016 Web API 的特定实体的更改日志,但这没用,我找不到这样做的方法。

我刚刚找到了返回分区集合的RetrieveAuditPartitionLis,响应:

 "AuditPartitionDetailCollection": [
    {
      "PartitionNumber": 1,
      "StartDate": "2014-07-01T00:00:00Z",
      "EndDate": "2014-09-30T19:59:59.997-04:00",
      "Size": 9
    },
    {
      "PartitionNumber": 2,
      "StartDate": "2014-10-01T00:00:00Z",
      "EndDate": "2014-12-31T18:59:59.997-05:00",
      "Size": 8
    },

.....

我需要一种方法来获取特定实体的日志,例如 /accounts/audit 端点。如何实现?

【问题讨论】:

    标签: dynamics-crm dynamics-crm-2016 dynamics-crm-webapi


    【解决方案1】:

    通过使用audits 实体。

    终点organization_domain/api/data/v8.0/audits

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2016-07-28
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2012-08-31
      • 1970-01-01
      • 2013-05-25
      相关资源
      最近更新 更多