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

Need an Web Services that export product information from BC to CSV format.

(0) ShareShare
ReportReport
Posted on by 2,100

Hi All,

We are running the newest Microsoft Business Central (BC - Cloud)

We know web service in BC but We need an Web Services that export product information from BC to CSV format. Is there any way to create a web service for export CSV Format?

Thank You.

I have the same question (0)
  • Suggested answer
    Govinda Kumar Profile Picture
    2,304 Moderator on at

    Hi, Inkey Solutions,

    Hope this helps

    community.dynamics.com/.../how-to-export-data-to-csv-files

    Thanks and Regards

  • Suggested answer
    Inge M. Bruvik Profile Picture
    1,105 Moderator on at

    I guess there is no webservice that really reply with a CSV string.

    But you can create a custom API and have that provide you with CSV data encapsulated in a Json object.

    Personally i think it would be better to create a function that place a CSV file on a Azure blob storage.

  • Suggested answer
    DAnny3211 Profile Picture
    11,397 on at

    Hi

    you cannot use a Page API in this case, but you can implement a custom API that returns e.g. a base 64 of the csv you create in Business central

    DANiele

  • Suggested answer
    YUN ZHU Profile Picture
    95,329 Super User 2025 Season 2 on at

    Hi, hope the following helps.

    How to Export and Import Data (Using XMLports)

    https://yzhums.com/4809/

    Using TextBuilder Data Type to export data to a text file

    https://yzhums.com/21942/

    Thanks.

    ZHU

  • Suggested answer
    Nitin Verma Profile Picture
    21,698 Moderator on at

    Hi,

    This can not be achieve through normal webservice, but yes if you want to do with the webservice, I will suggest please a Codeunit and write some code using the xmlport inside that codeunit and then publish that codeunit as a webservice, try that once if it helps you.

    Other way create a XMLport and call them.

    Thanks.

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 3,229

#2
Jainam M. Kothari Profile Picture

Jainam M. Kothari 1,867 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 1,153 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans