Skip to main content

Notifications

Announcements

No record found.

Small and medium business | Business Central, N...
Unanswered

Web Service API for Page whose source Table is Temporary

Posted on by 182
Hi Techis,

I have published a page in Web Service whose ‘source table of this page is temporary’.

Am I able to retrieve data using GET method and insert data using POST method?

I tried retrieving data using GET method API however the data is not retrieved May be because the data is not stored in Database, and it is stored in Memory?

Can anyone please share some knowledge on this?

Thanks in advance
Raj
  • Rajaneesh H Profile Picture
    Rajaneesh H 182 on at
    Web Service API for Page whose source Table is Temporary
    Thanks Yun Zhu. I will check on the hints you have given.
  • YUN ZHU Profile Picture
    YUN ZHU 73,647 Super User 2024 Season 2 on at
    Web Service API for Page whose source Table is Temporary
    For the processing of temporary tables, you need to do the same processing in the Trigger, such as OnOpenPage trigger, otherwise the data obtained from the Web Service will be empty.
    For example, the following example inserts Query data into a temporary table when the page is opened.
     
    Hope this can give you some hints.
    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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans