In Business Central -> Web Services I have created the API method to sync Posted Sales Invoices.
Example of the request:
I use ODATA
https:/api.businesscentral.dynamics.com/v2.0/80d4f637-b679...................6bb9/SAN........../ODataV4/Company('....')/ypBcInvoiceBillToContact
But Business Central returns the error message:
I have all permissions:
Please, help me with this.