Accounting Service
string · requiredstring · requiredboolean · requiredobject · requiredstring · date · requiredstringstring · uuid
accounting-engine
Operations addressed under /accounting-engine — 1 operation.
trigger-accounting-engine
POST
https://dg-sandbox.dgpays.com/accounting-service
/accounting-engine
Add Authorization: Bearer <token> yourself — generated samples and Try it do not attach a credential.
Response body, read from the service source
The route declares its response as AccountingEngineDto.
| Field | Declared type | Nullable |
|---|---|---|
AccountingEntryId | Guid? | yes |
SimulationEntry | SimulatorEntry | no |
Member names are the service's declaration names.
Error codes this operation is known to raise
| Code | Status | Meaning | Message |
|---|---|---|---|
ERR_ACCTNG_127 | 400 | ACCOUNTING_ENTRY_DEFINITION_NOT_FOUND | Accounting Entry Definition is not found with the given code '{0}'. |
ERR_ACCTNG_172 | 400 | PARAMETER_LEDGER_MUST_BE_NOT_NULL | Variable '{0}' is not sent in the request. |
ERR_ACCTNG_176 | 400 | EACH_CONDITION_MUST_HAVE_ACCOUNTING_ENTRY_DEFINITION_DETAIL | There is no accounting entry definition details matching with condition '{0}' which return true. |
ERR_ACCTNG_181 | 400 | THIS_API_CAN_ONLY_BE_RUN_BY_BPM | This api can only be run with BPM. |
trigger-accounting-engine › Request Body
accountingEntryDefinitionCodebpmFlowCodeisSimulationparameterstransactionDateuserCodetrigger-accounting-engine › Responses
Success. The catalog declares this returns a single record. Of 25 operations in this state with a probeable route, 8 answered and 6 returned a single record — the other two returned a collection and a bare boolean.
accountingEntryIdobject