Questions tagged [microsoft-dynamics-webapi]

A tag for questions related to the Microsoft Dynamics Web API. This tag should be used for questions about using the Web API in your code. Do not use this tag for questions related to using Microsoft Dynamics software (use the tag microsoft-dynamics instead).

29 questions
2
votes
1 answer

Retrieve Navigation Property Dynamics WebAPI

I am trying to retrieve the properties of a child entity via the parent entity. General Ledger Account is the parent entity and I want the details for all General Ledger Action entities that are related to the General Ledger Account. General…
2
votes
1 answer

Microsoft Dynamics - Web API

I'm trying to create a new "incident" (case) in by Dynamics 365 instance via the Web API. In my http request, I don't know which field are mandatory. I tried to only add the title, subject, and customer, but I have a Http 400 error back... I'm using…
2
votes
1 answer

Microsoft Dynamics 2016 Web API | POST invoicedetail

I am able to POST and invoice EntityType to the Web API. After creating the invoice I get the guid and I want to create invoice line items, which I believe are of invoicedetail EntityType. I cannot POST a new invoicedetail. Every attempt I make with…
1
vote
0 answers

Azure Active Directory and Microsoft Dynamic 365 finance & operation authentication token issue

I want to use web API for the MicroSoft Dynamic 365 Finance and Operation, as per the their guide line I have created/registered app in the Azure Active Directory and try to generate Access Toke as per below using the Postman, but getting issue of…
Divya Bhaloidiya
  • 5,018
  • 2
  • 25
  • 45
1
vote
0 answers

Authenticate to Dynamics 365 for Mobile App without Registering App in AD

I was doing some research on authenticating to Dynamics 365 through the Web API and everything I come across says that you have to register your app in AD to get a client id. If I wanted to publish an app to the app store or google play store for…
jmsims2
  • 43
  • 1
  • 5
1
vote
1 answer

Dynamics CRM Web API setting up the parentactivityid issue

I need to set the parentactivityid for the email entity the same way CRM does it automatically when replying to an email. I am using the same pattern that works for any other lookup property like this: url -> "/api/data/v8.2/emails(emailID)" value…
1
vote
1 answer

How to get 'ownerid' column from CRM database of type `owner` using Web API approach?

I'm using Microsoft dynamics 365 - on premises of my client. Here, I am facing an issue in accessing one of the fields - ownerid of type owner. I am using Web API approach to access the CRM data. When I hit the query in URL, it brings all the data…
1
vote
2 answers

Save & Close Exiting Web Resource before Asynchronous Web API Call

I am building a fairly complex web resource that uses the Dynamics Web API to read/write data to Dynamics.  I have a situation where I need to create an entity that requires the ID from two other entities that I need to create.  To do this, I use…
1
vote
1 answer

Relative Path for Typescript module import pointing to wrong Directory

I have an application layer written in visual-studio-2017 using typescript. I also have Web Resources that are built using javascript and html. The html for the Web Resources use requirejs to include the compiled Typescript code wherever…
1
vote
1 answer

Get child data Microsoft Dynamics WebAPI

I am using the Microsoft Dynamics CRM WebAPI to access an on Premise version of Microsoft Dynamics CRM 2016. I have two custom entities ccseq_ProductEvaluation and ccseq_ProductEvaluationArea. ccseq_ProductEvaluation is the parent of…
1
vote
1 answer

Authenticate to Dynamics 365 On premise

I am trying connect to Dynamics 365 On-premise with the OData client for .net I tried to authenticate through basic authentication, however this is not working. var c = new Microsoft.Dynamics.CRM.System(new…
1
vote
0 answers

Dynamics CRM API Filter Precedence groups

I have the following API Request: ...api/data/v8.0/rts_xrmsettings?$select=rts_name,rts_value,statecode&$filter=statecode eq 0 and (contains(rts_name, 'Sample') or contains(rts_name, 'Test')) However the data set return is the following:…
0
votes
1 answer

Microsoft Dynamics CRM 2015 - Creating Entity using OData API

Unsure why the following request is erroring as follows: Error processing request stream. The request should be a valid top-level resource object. The request (certain details have been obfuscated for obvious reasons): POST…
0
votes
1 answer

Set lookup property on Navigation Property failing

I am trying to POST the below json using the Microsoft Dynamics WebAPI. The post returns a success, but in my data the ccseq_employeeid and ccseq_clientid are not set. What do I need to change to get the fields to post correctly? Entity…
1
2