Quantcast
Viewing all articles
Browse latest Browse all 79901

Error creating Incidents "CRM do not support direct update of Entity Reference properties, Use Navigation properties instead"

We are trying to use CRM api to create incident. we have data source but we are not able to process the request due to below errors. 

When we submit create a new incident using postman we get a response with the error "You should specify a parent contact or account"

Image may be NSFW.
Clik here to view.

If we add the parameter CustomerId (name as "_customerid_value" in the list of incidents if you request this same method with a get protocol) , we get the error "CRM do not support direct update of Entity Reference properties, Use Navigation properties instead."

Image may be NSFW.
Clik here to view.

After some research an article with a similar mistake shows an idea of how to solve the problem

Image may be NSFW.
Clik here to view.

we try to set the CustomerId using the odata.bind but there is no "Customer" method to pass the id to get an object, we are not sure either if "_customerid_value" is the correct property to set the customer 


Viewing all articles
Browse latest Browse all 79901

Trending Articles