Dear all,
I have a customize create new button on POS and i need to call an API to print X report so are there any API that can be used to print X report ?.
Thanks you
Dinh Cao Phuoc
Dear all,
I have a customize create new button on POS and i need to call an API to print X report so are there any API that can be used to print X report ?.
Thanks you
Dinh Cao Phuoc
Hi Song,
Thanks for your response, this would need more troubleshooting looking the logs, hence we would request you to open a service request.
Also this question is open for community to respond.
Thank you!
Kind Regards
Surya
Support Engineer
Dynamics 365 Commerce
Hi Surya,
When I use ajax to call API, server side return exception: "A server side error occurred that prevent user from logging on. This may be due to one or more reasons; the user name or password may be incorrect. Please check the server log for detailed information or contact your system administrator"
This is my ajax function:
$.ajax({
url: "">usnconeboxax1ret.cloud.onebox.dynamics.com/.../GetXReport(transactionId=@p1,hardwareProfileId=@p2)
type: "get",
success: function(response) {
alert("okay") },
error: function(xhr) {
console.log(xhr)
}
});
HI Song,
Yes, API version is visible in the URL itself.
Also "commerce-runtime analyzer" will also help you in this regard, this tool does much more than just showing the API calls, please request the tool as stated in the below article.
community.dynamics.com/.../looking-inside-retailserver-crt-sql-with-commerce-runtime-analyzer
Thanks and Regards
Surya
Support Engineer
Dynamics 365 Commerce
Hey Surya,
How about API-Version?, If API - version of retail grown up, how can we know it in tier-2 VM? Or it auto update api version in url?
Thanks for help me and Dinh.
Hi Dinh
You can use Fiddler tool to trace the API calls.
Thanks and Regards
Surya
Support Engineer
Dynamics 365 for Retail
Yes, thank you for your supporting
Hi,
It could be customization related, so I leave this question for community to respond. If I have any information, I will respond to you next week.
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,269 Super User 2024 Season 2
Martin Dráb 230,198 Most Valuable Professional
nmaenpaa 101,156