Skip to main content

Notifications

Announcements

No record found.

Business Central forum
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!
  • Suggested answer
    Valentin Castravet Profile Picture
    Valentin Castravet 6,854 Super User 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 63,857 Super User 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 6,854 Super User 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.
     

Helpful resources

Quick Links

Replay now available! Dynamics 365 Community Call (CRM Edition)

Catch up on the first D365 Community Call held on 7/10

Community Spotlight of the Month

Kudos to Saurav Dhyani!

Congratulations to the June Top 10 community leaders!

These stars go above and beyond . . .

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 287,696 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 225,490 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans
Liquid error: parsing "/forums/thread/details/?threadid=%27nvOpzp;%20AND%201=1%20OR%20(%3C%27%22%3EiKO))," - Too many )'s.