Endpoint Setups
GETTable: EONE Endpoint Setup
Read and write the per-endpoint processing configuration for the journal-wrapper documents. One row per document type, holding its processing mode (Manual / Auto Draft / Auto Post), approval requirement, and target journal. Built primarily for automated testing.
One row per journal-wrapper endpoint
Rows are seeded by the extension (one per journal-wrapper document type); you cannot insert or delete, only PATCH. documentType is the key. For example, make customer payments post automatically to a dedicated batch:
PATCH /endpointSetups(<id>)
{ "processingMode": "AutoPost", "journalBatchName": "EONE" }allowManualDelete (on by default) decides whether a staged document of the type may be deleted before it is processed - in the Business Central client and over the API alike. A document that is pending approval or already approved can never be deleted, whatever it is set to.