dynamics-crm - Microsoft Dynamics API - Incident returned fields
问题描述
I'm trying to make a get call to our Dynamics CRM via the API for the entity "Incident". It returns a lot of fields if I request a specific incident record but a particular custom boolean field which is present on all incident records is not. This is a pain as this is the specific field I need to filter on to get the records I want. I can see other custom fields are returned in the api call but I just can't figure out how it's decided which fields are exposed and which aren't. Any help would be much appreciated.
For context, I'm writing a small application which will pull all records for the current date where this particular boolean = true and then format details from each return record into an email template.
解决方案
要在结果集中包含有问题的字段,请尝试添加$select=title,apitil_customfield
web api 查询。
https://our_dynamics_uri.crm.dynamics.com/api/data/v9.0/incidents?$select=title,apitil_customfield,createdon,createdby&$filter=apitil_uniqueid eq 'ZZZ-12345'
推荐阅读
- python - 烧瓶不存储会话(缓存)
- ios - 快速将领域对象列表与另一个同类领域对象列表进行比较
- kotlin - detekt 不生成报告
- javascript - Puppeteer 在页面中查找数组元素,然后单击
- php - TinyButStrong 在表格行中设置字体颜色
- selenium - Robot Framework - 获取没有 ID 的 Div 文本
- angular - 如何提高 Angular 6.0 应用程序的速度
- excel - 从多列中删除重复项,以便输出在 excel 中是唯一的
- google-cloud-platform - 如何让 Google Cloud Functions 保持温暖?
- java - elasticsearch 6中的模糊建议