Skip to main content

Notifications

Community site session details

Community site session details

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

API Connection

(1) ShareShare
ReportReport
Posted on by 346
Hello experts, 
 
Is there an API  from business central that takes single Sales Order number parameter and returns a singular data object (billing and shipping detail) specific to that Sales Order number?
  • Suggested answer
    MarceloBorges Profile Picture
    116 on at
    API Connection
    Have you tried using OData Web Services? You could create an OData Web Service for the Sales Order Page, pass a filter on the URL, and get specific Sales Order fields:
     
    Here's how you can create an OData Web Service in BC -- It doesn't require Development, it's a Setup page in BC:
     
    Here's how to pass filters on an OData URI:
     
    Here's how you can determine which fields you would like to get back on your call:
     
    I hope this helps!
  • YUN ZHU Profile Picture
    81,365 Super User 2025 Season 1 on at
    API Connection
    Hi, As far as I know, this is not possible in the standard SalesOrder API. There is no billing and shipping detail in the Navigation of the standard SalesOrder API.
     
    PS: Dynamics 365 Business Central: How to use filter expressions in API related resource ($expand)
     
    Thanks
    ZHU
  • Valentin Castravet Profile Picture
    27,640 Super User 2025 Season 1 on at
  • gdrenteria Profile Picture
    17,492 Most Valuable Professional on at
    API Connection
    Hi
    This is the standard API that allows you to obtain sales order data, if you want something additional or with more data, you must create your own API.
    BR
    GR

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 294,110 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 232,866 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans