Personalized Community is here!
Quickly customize your community to find the content you seek.
Now Available in Community - New TechTalk Videos for 2022
2022 Release Wave 2Check out the latest updates and new features of Dynamics 365 released from October 2022 through March 2023
The FastTrack program is designed to help you accelerate your Dynamics 365 deployment with confidence.
FastTrack Community | FastTrack Program | Finance and Operations TechTalks | Customer Engagement TechTalks | Upcoming TechTalks | All TechTalks
I am trying to consume these API Methods, but I have no idea, how to use each of the method. The link doesn't even mention methods are get or post type.
Is there a repository where I can find some sample, on how to use these methods?
Example - I want to use Product/Search, not sure what to send in the request.
But you can check further details and see the response and request if you see the network view, example below from CPOS SearchByText API example:
You can also use Postman to consume API and check the results and get more details.
Regarding the Search API, I guess that you have an example in ..\RetailSDK\Code\SampleExtensions\OnlineStore
A good place to start is the RetailSDK/Documents folder.
You can also find examples in here: RetailSDK\SampleExtensions
You can find how the customer search example here: RetailSDK\SampleExtensions\CommerceRuntime\Extensions.CustomerSearchSample
This shows how you can implement those controllers.
Hi Diogo, thank you so much for replying. I have already made getProductbyid method working in postman.
Yes, I was looking for specification of API like this, you have shown in your screenshot,
1. What is that above portal in screenshot? (totally noob in D365 worked in O365 only)
2. And does the SDK refers to the SDK inside VM server?
variation trying (channelId=xxxx,productIds="xxxx,xxxx")
Trying with this only getting 404
while so far only had success with
My image is from CPOS (Cloud Point of Sale), from VM DEV box, when you run it, you can press F12 Developer Tools in the browser, in network tab you will see all the content, like my image.
The SDK is available in VM dev box as well. (will be available soon in gitHub)
You can download the VM Dev box (VHD) in LCS asset library page.
I got my requirement fixed by installing "DataModel" nuget package from SDK as suggested to look in those SDK content.
and combing with E-COMMERCE site methods F12>Network
Though it would be nice MS make the documentation a bit better and similar to Graph API or SharePoint API documentations on each endpoints.
Business Applications communities