Skip to main content

Notifications

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

How to get web services to return the entire data struct rather than a minified version?

Posted on by 10
Hi, 
 
If I look at the Items table in D365 BC there is approximately 250+ columns. If I look at the excel connector for the Items table there is approx. 114 columns. If I look at the web service for the Item table there are 56 fields. Is there a way natively (without rebuilding the API) to get the Web Service to return all the columns or even additional ones? 
 
I've checked that the web service is pulling from the same table ID as the page is.
 
Thanks for the help!
Categories:
  • Suggested answer
    Valentin Castravet Profile Picture
    Valentin Castravet 24,785 Super User 2024 Season 2 on at
    How to get web services to return the entire data struct rather than a minified version?
    Please mark the answer as verified if it helped. 
  • Jacob Profile Picture
    Jacob 10 on at
    How to get web services to return the entire data struct rather than a minified version?
    Hi Yun and Valentine, 
     
    Thanks for the replies. No idea how to reply directly to each of you. No options for me to do that anyway!
     
    That makes sense now and appreciate the help
     
    Thanks,
    Jake
  • YUN ZHU Profile Picture
    YUN ZHU 73,472 Super User 2024 Season 2 on at
    How to get web services to return the entire data struct rather than a minified version?
    Whether it is a Web Service or APIs, you access pages, not tables.
    So if you need to add fields from a table to a page, this requires customization. And as of now, standard APIs are not extensible.
    PS:
    Dynamics 365 Business Central: How to add custom fields in Edit in Excel
    Dynamics 365 Business Central: Can we extend standard APIs? – Download Standard Source Code for APIs
     
     
    Thanks.
    ZHU
  • Suggested answer
    Valentin Castravet Profile Picture
    Valentin Castravet 24,785 Super User 2024 Season 2 on at
    How to get web services to return the entire data struct rather than a minified version?
    Web services will have all the fields on a page, so you will need to add the missing fields to the page.
     

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,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans