Breaking news from around the world
Get the Bing + MSN extension
Now Available in Community - MBAS 2019 Presentation Videos
Catch the most popular sessions on demand and learn how Dynamics 365, Power BI, PowerApps, Microsoft Flow, and Excel are powering major transformations around the globe. | View Gallery
2019 release wave 2 Discover the latest updates to Dynamics 365Release overview guides and videos Release Plan | Early Access Availability
Ace your Dynamics 365 deployment with packaged services delivered by expert consultants. | Explore service offerings
Connect with the ISV success team on the latest roadmap, developer tool for AppSource certification, and ISV community engagements | ISV self-service portal
The FastTrack program is designed to help you accelerate your Dynamics 365 deployment with confidence.
FastTrack Program | Finance TechTalks | Customer Engagement TechTalks | Talent TechTalks | Upcoming TechTalks
I want to create "Project Creation" URL using Rest API in D365 Finance and Operation for a third-party vendor. Please Help me out this thing.
Create a entity / search for existing one which is going to create projects. More information on link below
Thanks for Reply.
In AX 2012 For SOAP Service,
We First Create Data Contract class and it's methods then next step we write a Service contract class and it's a method
then next step create a Service object and set Service contract class there then create new service group and drag and drop service object under it and deploy the service.
After that Administration section. Setup-->AIF-->Inbound Port copy the WSDL URL and Create a console application for testing URL in visual studio.
But in D365 Finance and Operation what are the Step Required for Create REST API service for JSON Format. Could you please explain that.
Custom service In D365 is available on SOAP and JSON endpoint . Steps remain same for AX 2012 and D365 for development of custom service. Data entities are also available on ODATA endpoint .
Refer standard documentation for more info.
You can create a Data entity on the related project tables according to docs.microsoft.com/.../build-consuming-data-entities
Set the isPublic property to Yes, so that the entity is visible by using the OData application programming interface (API).
OData REST endpoint exposes all the data entities that are marked as IsPublic in the Application Object Tree. It supports complete CRUD (create, retrieve, update, and delete) functionality that users can use to insert and retrieve data from the system. CRUD support is handled through HTTP verb support for POST, PATCH, PUT, and DELETE. Please refer: docs.microsoft.com/.../odata
Hi Ada Ding,
I have same requirement for OData service. I have created one data entity.This URL given to third party application,
But now when we create any project in D 365 FO using this Odata service. I want to send reply for "success" to third party application. How can I achieve this.
I guess you will get some kind of errors if the creation is not succesful. So you can determine if it was succesful or not. Did you already try how it works?
I want to send reply success or unsuccess. If I will get any error then I want to send reply as "Unsuccess".
Till I am not tried this, but now I want to create this.
Please test it. I'm sure you already get a response that tells if it was succesful or not.
Thanks...yes I got response from service.
But is it possible to send this response on Email.
Email from where ? which application ?
I have created OData service in D365 FO and this API given to my customer for integration. My customer consume this service in Java application and they want to send email for success or unsuccess message through EMIL from D365 FO.
Is it possible from D365 FO?
Sending email from D365 FO is possible . If they are consuming service they are getting response then why you want to send email through D365 FO ?
because they don't know the reason of unsuccess.
How would you know in D365 FO that the request is success or failure ? If you know somehow that request is failure then you can send email.
Your Java application gets all the relevant info and it should send the email. Remember that the Java application is the one which succeeds or fails (when trying to call D365FO endpoint with some request). Not D365FO.
By default the OData endpoint returns all the data in the underlying entity, unless you specify some filter criteria. So yes, it supports retrieving multiple records per request. Is this what you mean by "bulk operation"?
I see you marked your own message as "verified answer" so now this discussion shows up in the forum like your question has been answered. If it has not been answered, please remove the mark. And also, you are actually expected to mark the helpful answers as verified, not mark your own questions as "helpful answer".
Back to your issue: I don't think it's not possible with out of the box entities and OData endpoint (anyone, correct me if I'm wrong). You will have to develop your own logic. One option is to enhance your caller code so that it deletes all created projects if any creation fails.
Or, a better approach: create a custom service that can try to create all the projects in one transaction and if any of them fail, it will roll back everything.
Business Applications communities