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

Posting purchase order data to third party using HttpClient

(0) ShareShare
ReportReport
Posted on by 436

Hello community, 

I want to a functionality that whenever I post a purchase order, the data present in that order should be posted to a third party platform using HttpClient.POST method. How can I do that? Can you suggest me code. 

  • Suggested answer
    Mohana Yadav Profile Picture
    61,248 Super User 2026 Season 2 on at
  • Muhammad Anas Naeemi Profile Picture
    436 on at

    hey mohana its just a syntax I don't know how to use it for getting purchase order data into a third party platform using httpclient

  • Suggested answer
    YUN ZHU Profile Picture
    103,282 Super User 2026 Season 2 on at

    Hi, First of all, this needs to be customized and cannot be set in the BC client.

    Then there is no problem with the code shared by Mohana. You need to find a suitable trigger (Event) to run it, such as after the posting is completed, or after the Posted Purchase Invoice is created, etc.

    Hope this helps as well.

    Thanks.

    ZHU

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 715 Super User 2026 Season 2

#2
YUN ZHU Profile Picture

YUN ZHU 452 Super User 2026 Season 2

#3
AndrewThomas81 Profile Picture

AndrewThomas81 371 Super User 2026 Season 2

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans