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 242
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
    MarceloBorges 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
    YUN ZHU 78,032 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
    Valentin Castravet 26,349 Super User 2025 Season 1 on at
  • gdrenteria Profile Picture
    gdrenteria 14,573 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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February 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... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,409 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans