Quantcast
Channel: Microsoft Dynamics CRM Forum - Recent Threads
Viewing all articles
Browse latest Browse all 82002

Deserialize JSON to entity?

$
0
0

Using a webhook, I am able to setup a post image call to do a POST of the entity when the entity in CRM gets updated.

I see the JSON but now on my API, I want to deserialize the JSON to a concrete object of that type - the Entity type.

On the Web API I have, when using Newtonsoft's JSON to deserialize, it does not successfully deserialize it (no errors).

But I can get the JObject, which is not what I want.

How can I do this?

Or if possible, how can I get the entity type (in this case, contact) from the CRM Service by getting it by id so I can get all the data for that contact?


Viewing all articles
Browse latest Browse all 82002

Latest Images

Trending Articles



Latest Images