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.

I have the same question (0)
  • Suggested answer
    Nitin Verma Profile Picture
    21,794 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,794 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
    Inge M. Bruvik Profile Picture
    1,165 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,794 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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 1,926 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,158 Super User 2026 Season 1

#3
Khushbu Rajvi. Profile Picture

Khushbu Rajvi. 533 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans