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

Save request and repones from API

(1) ShareShare
ReportReport
Posted on by 80
Hi all,
I am looking for some examples or documentation.
When you are receiving a Rest API request and send a response is there a way to save both of them in a table, probably a blob field, and then do some action?
 
I'm not sure if I can create an API page and somehow save the request and response.
Or should I create a Codeunit as a web service? But then again if I use web services can I get a JSON as a parameter?
 
Not sure what is possible in Business Central's latest version, or what is the best approach.
I have the same question (0)
  • Verified answer
    Saurav.Dhyani Profile Picture
    14,419 User Group Leader on at
    Hi,
     
    Yes, if you want to store them in a blob or you can read the response using Json objects and then pick values of fields that you need and then store in a table records.
     
     
    Regards,
    Saurav Dhyani
  • HeinKruger Profile Picture
    on at
  • IĆ-15061320-0 Profile Picture
    80 on at
    Hi HeinKruger
    Just to clarify you saying that I can see the body of the request and response in temelerty?

     
  • Suggested answer
    Gerardo Rentería García Profile Picture
    26,834 Most Valuable Professional on at

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!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,140 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,362 Super User 2026 Season 1

#3
AndrewThomas81 Profile Picture

AndrewThomas81 1,216

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans