Skip to main content



No record found.

Business Central forum
Suggested answer

Save request and repones from API

Posted on by 7
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.
  • Suggested answer
    gdrenteria Profile Picture
    gdrenteria 5,168 Super User on at
    Save request and repones from API
  • IĆ-15061320-0 Profile Picture
    IĆ-15061320-0 7 on at
    Save request and repones from API
    Hi HeinKruger
    Just to clarify you saying that I can see the body of the request and response in temelerty?

  • HeinKruger Profile Picture
    HeinKruger 40 on at
  • Suggested answer
    Saurav.Dhyani Profile Picture
    Saurav.Dhyani 14,611 User Group Leader on at
    Save request and repones from API
    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.
    Saurav Dhyani

Helpful resources

Quick Links

Replay now available! Dynamics 365 Community Call (CRM Edition)

Catch up on the first D365 Community Call held on 7/10

Community Spotlight of the Month

Kudos to Saurav Dhyani!

Congratulations to the June Top 10 community leaders!

These stars go above and beyond . . .


André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 288,459 Super User

Martin Dráb Profile Picture

Martin Dráb 225,783 Super User

nmaenpaa Profile Picture

nmaenpaa 101,148


Featured topics

Product updates

Dynamics 365 release plans