Hello all Readers,
Step 1: We need to create page as Type API, below is the image of mandatory fields which we need to add in page object.
Step 2: Information of some of the property of page API.
Step 3: Layout part, in which we need to add repeater group and fields which we want to expose in web service.
Step 4: Now once we publish our extension in business central, we need to publish our Web Service for that we need to open in Web Service page, after that we need to click on new, in our case we need to add Object Type page, Object ID, and also, we need to add Service Name.
Step 5: Now we need to click on the Web Service URL from OData V4 URL, as we can see in image of Step 4.
Step 6: Once you copy the Web Service URL open Postman software to consume/Test our web service.
Hope this will grow your knowledge.
Thanks to all.