[英]What is the EntityLogicalName for activities in Microsoft Dynamics CRM
I've been able to successfully fetch items like leads, opportunities, and contacts from the dynamics API, but I've been unable to figure out how to fetch any kind of activity objects. 我已经能够从Dynamics API成功获取线索,商机和联系人之类的项目,但是我一直无法弄清楚如何获取任何类型的活动对象。 I'm making a request that looks like this:
我正在发出如下请求:
POST http://myAddress/myDomain/RetrieveMultiple
**headers**
Content-Type: application/json
User-Agent: our user agent
**json**
{
"Credential": {
"Domain": "thedomain",
"UserId": "theuserid",
"Password": "thepass",
"Version": "2016",
"ConnectionType": "1"
},
"EntityLogicalName": "contact",
"DateCriteria": "2000-01-01T00:00:00Z",
"DateFilterName": "modifiedon",
"Operator": ">=",
"Order": "asc",
"MaxItems": 100,
"pageNumber": 1
}
When I change the EntityLogicalName to "activitypointer", "task", "appointment", and anything else I can think of I get back an error that says "Invalid Entity name" 当我将EntityLogicalName更改为“ activitypointer”,“ task”,“ appointment”等时,我回想起一个错误,提示“ Invalid Entity name”
Activities is an abstract entity, therefore you'll need to query the concrete ones like: 活动是一个抽象实体,因此您需要查询具体的实体,例如:
"email", "phonecall", "task", etc... “电子邮件”,“电话”,“任务”等。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.