web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

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 526
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?
I have the same question (0)
  • Gerardo Rentería García Profile Picture
    25,367 Most Valuable Professional on at
    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
  • Valentin Castravet Profile Picture
    31,485 Super User 2025 Season 2 on at
  • YUN ZHU Profile Picture
    95,739 Super User 2025 Season 2 on at
    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
  • Suggested answer
    MarceloBorges Profile Picture
    122 on at
    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!

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,066

#2
YUN ZHU Profile Picture

YUN ZHU 658 Super User 2025 Season 2

#3
Sumit Singh Profile Picture

Sumit Singh 595

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans