Questions tagged [dynamics-crm-webapi]

The Microsoft Dynamics 365 Web API (online & on-premises), provides a development experience that can be used across a wide variety of programming languages, platforms, and devices. The Web API implements the OData (Open Data Protocol), version 4.0, an OASIS standard for building and consuming RESTful APIs over rich data sources.

229 questions
19
votes
2 answers

how to impersonate a user via odata

We have been succesful in using the odata v8.1 endpoint in 2016 to impersonate a user. Please note that the intended request flow is: Postman-->LocalHost Microservice-->CRM Example of a working request from Postman-->CRM (directly, without going…
19
votes
7 answers

Create annotation to a contact entity in Microsoft Dynamics CRM by API

This question is related to Microsoft Dynamics CRM 2015, that I'm calling through API. I create contact entity: POST [organization URI]/api/data/contacts Content-Type: application/json; charset=utf-8 Accept: application/json { "emailaddress1":…
11
votes
2 answers

CRM do not support direct update of Entity Reference properties, Use Navigation properties instead

I am using Ms Dynamic Web Api with Simple OData. I need to add new record for link entities. I am using the below code snip and refer the documentation on https://github.com/object/Simple.OData.Client/wiki/Adding-entries-with-links var…
10
votes
3 answers

CRM16 - Trigger custom action from WebApi

I've built a custom action in CRM that I need to fire through its WebAPI. The custom action is activated and I got no errors in CRM while creating it. I try to call this action from a VB.NET application like: Dim httpch As New HttpClientHandler Dim…
9
votes
4 answers

Using Xrm.WebApi method in Web Resource opened in a new window

I have opened an HTML web resource in a new window using: Xrm.Navigation.openWebResource(webResource, windowOptions, data); This is an HTML web resource and it is loading the ClientObject in the head