You should specify a parent contact or account error in Dynamics CRM

旧巷老猫 提交于 2019-12-24 08:16:48

问题


I am trying to create a new incident through postman in Dynamics CRM but I am getting the following error:

You should specify a parent contact or account

Which I assumed that is asking for customerid to be sent so I added it on postman like:

{
    "description": "Test",
    "ed_egresssenttorentadmin": true, 
    "note['_customerid_value@odata.bind']":"f686f062-e542-e811-a955-000d3ab27a43",
    "note['_ownerid_value@odata.bind']":"a7b7fcb7-a64e-e811-a96f-000d3ab384bc"
}

but I still get the same error, any idea on how to set accountId when creating a new incident ?


回答1:


According to RESTBuilder it should look something like this.

entity["customerid_account@odata.bind"] = "/accounts(f686f062-e542-e811-a955-000d3ab27a43)"



回答2:


Actually this is the basic payload needed to create an incident:

{
  "title": "case test",
  "customerid_account@odata.bind": "/accounts(f686f062-e542-e811-a955-000d3ab27a43)"
}


来源:https://stackoverflow.com/questions/51722613/you-should-specify-a-parent-contact-or-account-error-in-dynamics-crm

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!