Skip to main content

Notifications

Small and medium business | Business Central, N...
Suggested answer

How to make 'GET request' to retrieve sales Orders

Posted on by 130
Hi, previously my request worked fine, I do not know what happened, but it stopped to work
I am using oauth 2.0 authorization. token successfully generates, however request does not work with it
 
Here is my request
I doublechecked parameters . I thought problem was with company name. It Contains coma and spaces 
company value is 'CRNS Canada, Inc.' ,so I tries to encode it in such way 'CRNS%20Canada%2C%20Inc.' ,but it did not help
Please help me to solve this issue 
  • Suggested answer
    YUN ZHU Profile Picture
    YUN ZHU 73,411 Super User 2024 Season 2 on at
    How to make 'GET request' to retrieve sales Orders
    Hi, this requires a Company ID.
    https://api.businesscentral.dynamics.com/v2.0/d8f36038-1f93-4543-affc-5dc92b6ee871/Sandbox223/api/v2.0/companies(828b5edb-4219-ee11-9cc3-6045bde9ba40)/salesOrders
     
     
    Hope the following helps.
    Thanks.
    ZHU

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,240 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,104 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans