I want to change properties of the genaralledger setup (really just the posting from and to dates) via an API).
I have successfully done many things with the API, such as writing Journal data and GETting all manner of data.
Using Postman, I have tried all combinations of: generalLedgerSetup API, ODATA and Page 118 exposed as Allow Write, setting if-match (tried various etag formats), setup ID in the URL, etag ID in if-match, asterisk in if-match, no if-match at all etc etc. I believe the simple body JSON is fine - and is: { "allowPostingFrom": "2026-01-01", "allowPostingTo": "2026-01-02" }
But, the best responses I ever get are only:
"Entity does not support modifying data"
"'PATCH' requests for 'generalLedgerSetup' of EdmType 'Collection' are not allowed within Dynamics 365 Business Central OData web services"
Can anyone say, definitively, if it is possible to do this with out-of-the-box config without creating AL code, extending the API etc. - and, please, if so, how?