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...
Answered

Get request body for custom webservice API

(0) ShareShare
ReportReport
Posted on by 629

Hi, 
I have created a webservice API and exposed it on Business Central. 
How do I get the Request body to use on Postman?

Thank you in Advance

I have the same question (0)
  • Verified answer
    DAnny3211 Profile Picture
    11,397 on at

    hi

    look my blog

    danieleincalza.blogspot.com/.../business-central-bye-bye-basic.html

    danieleincalza.blogspot.com/.../oauth20-business-central-app.html

    check my answer if it helped you, thanks

    DAniele

  • Hein Kruger Profile Picture
    629 on at

    Hi Daniele,

    In you example you used this structure in your body to get item information or to create a new item:

    {

    "number": "PostmanItem",

    "displayName":"TryOauth20"

    }

    How did you get this structure? How did you know how to use the structure as the body?

    I'm trying to retrieve my SOAP request body. I can see I have a connection and that the API responds, but I can't get information or Post Information.

  • Verified answer
    YUN ZHU Profile Picture
    95,595 Super User 2025 Season 2 on at

    Hi, you can use the Get method to get these body in Postman in the first time.

    More details: https://yzhums.com/6117/#toc5

    pastedimage1670391602696v1.png

    pastedimage1670391633664v2.png

    Hope this helps.

    Thanks.

    ZHU

  • Hein Kruger Profile Picture
    629 on at

    I took the long road.

    I downloaded BC20 Onprem.

    in Users there is a webservice key. I made use of this key and a browser extension called "Wizdler" to retrieve the API bodies. This work for now until Microsoft completely removes OData URL and the User webservice keys.

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,010

#2
Jainam M. Kothari Profile Picture

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

#3
YUN ZHU Profile Picture

YUN ZHU 1,085 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans