Question 470
A Business Central developer must validate a correction for this condition: A developer tries to extend a Microsoft standard API page using a pageextension object. Which acceptance result best demonstrates that the issue was resolved?
Explanation
Correct Answer
The acceptance result follows from the chosen remedy. Create a custom API page or suitable supported alternative instead of attempting an unsupported API-page extension. is justified because aPI page contracts are managed differently from ordinary extensible user-interface pages. Therefore verify: The custom endpoint exposes the new fields without modifying the original API page.
Incorrect Answers
This alternative addresses the separate case “A consumer needs to retrieve joined read-only inventory and supplier data without making multiple REST calls”. Therefore verify: A consumer retrieves the intended joined fields through the configured API version. The deciding requirement here is “The custom endpoint exposes the new fields without modifying the original API page”.
The option would apply to “An external app needs to trigger a Business Central action against a specific posted document but the integration exposes only generic write access”. Therefore verify: The authorized request executes the intended workflow and prohibited states are rejected. This question instead requires “The custom endpoint exposes the new fields without modifying the original API page”.
The proposed evidence belongs to a web service returns correct customer fields but the developer has no safeguards against one user retrieving another tenant's data. For the reported condition, the developer should first create a custom API page or suitable supported alternative instead of attempting an unsupported API-page extension.