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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested Answer

BC API with XML Response/Request

(0) ShareShare
ReportReport
Posted on by 12

Hi, anyone tried using BC API  with XML request and response?

We're more familiar with using JSON instead, however, got a request that might need to use XML type instead to trigger via API.

Anyone tried and have samples or is this possible to be done?

via API or XMLport in API etc?

Thank you.

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

    Hi Dixonsamuel ,

    Yes there is a way you can use API with XMLport in BC.

  • Suggested answer
    Nitin Verma Profile Picture
    21,812 Moderator on at
  • CU17121206-0 Profile Picture
    12 on at

    Hi Verma, thanks for the reply.

    However, my requirement is using XML data format to consume BC API instead.

    The article seems to depict creating XML data and consuming external web services instead.

    Was wondering if you have any sample of XML data to consume BC API?

    such as creating an XML data and consuming a BC API to create a sales order?

    Thank you.

  • Suggested answer
    IB-29041624-0 Profile Picture
    1,191 Moderator on at

    The  Standard API's are Json/Rest based so you can not use xml to consume them.

    You could customize API's that could take XML as a request but i don't think that is best practice these days.

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

    Hi,

    In that case you have to use and consume SOAP API.

  • CU17121206-0 Profile Picture
    12 on at

    Thanks, have told the vendor to proceed with JSON instead.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the August Top 10 Community Leaders

These are the community rock stars!

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 740 Super User 2026 Season 2

#2
YUN ZHU Profile Picture

YUN ZHU 570 Super User 2026 Season 2

#3
Grigorios Mavrogeorgis Profile Picture

Grigorios Mavrogeorgis 291 Super User 2026 Season 2

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans