I am getting this error "'Page' does not contain a definition for "APIV2 - Purchase Invoices" when i am trying to use the below method in my custom API, any clue why this is happening?
error line : ActionContext.SetObjectId(Page::"APIV2 - Purchase Invoices");
Guys, thanks for the resource links.
But, I am not a developer, but a business analyst.
Could you explain in simple terms what needs to be done to make the objects with IDs 30011, 30009, 30012, and 20023 appear on the Web Services page in Business Central?
We have switched to API version V2, but I don't see these objects on the Web Services page interface when I select the object type PAGE.
This screen includes 30012.
But in my case, their absent.
Hope this helps.
[View:https://youtu.be/TSQiE42tDwU:320:240]
Sohail Ahmed
2,655
Mansi Soni
1,574
YUN ZHU
1,453
Super User 2025 Season 1