Appearance
DTMS API 目录(DtmsClient)
源码:apps/api/src/integrations/dtms/dtms.client.ts。
全量表
| 方法 | HTTP | Path | Bearer | 业务挂接 |
|---|---|---|---|---|
createCorporate | POST | /corporates | 否 | Signup |
login | POST | /auth/users/_login | 否 | Auth / Signup |
createEntity | POST | /entites | 是 | Sync |
updateEntity | PATCH | /entites/{id} | 是 | Sync |
deleteEntity | DELETE | /entites/{id} | 是 | Sync 补偿 |
deleteCorporate | DELETE | /corporates/{id} | 是 | Sync 补偿 |
createCounterparty | POST | /counterparties | 是 | CP / BANK / Document |
searchCounterparties | POST | /counterparties/search | 是 | CP / Document |
updateCounterparty | PATCH | /counterparties/{id} | 是 | CP |
deleteCounterparty | DELETE | /counterparties/{id} | 是 | CP |
createBankAccount | POST | /bank-accounts | 是 | Banking |
getBankAccount | GET | /bank-accounts/{id} | 是 | Backfill |
updateBankAccount | PATCH | /bank-accounts/{id} | 是 | Banking |
searchBankAccounts | POST | /bank-accounts/search | 是 | 未挂接 |
uploadFiles | POST | /files?type=&description= | 是 | Statement / Document |
convertStatement | POST | /statements/convert | 是 | Banking |
getStatementJob | GET | /statements/jobs/{jobId} | 是 | Banking / Poller |
ignoreStatementJob | POST | /statements/jobs/{jobId}/ignore | 是 | Banking / Revert |
listStatementJobs | GET | /statements/jobs?pageable.*&applied&ignored&status | 是 | Ignore conflicts |
applyStatement | POST | /statements/apply | 是 | Banking |
convertDocumentProcessingJob | POST | /document-processing-jobs/convert | 是 | Documents |
getDocumentProcessingJob | GET | /document-processing-jobs/{id}?includeExtractedData= | 是 | Poller |
updateDocumentProcessingJob | PATCH | /document-processing-jobs/{id} | 是 | Document apply |
validateDocumentProcessingJob | POST | /document-processing-jobs/{id}/validate | 是 | Document apply |
applyDocumentProcessingJob | POST | /document-processing-jobs/{id}/apply | 是 | Document apply |
declineDocumentProcessingJob | POST | /document-processing-jobs/{id}/decline | 是 | Document revert |
bulkCreateBankFlows | POST | /bank-flows-v2/bulk | 是 | Statement apply fallback |
searchBankFlows | POST | /bank-flows-v2/search?pageable.* | 是 | Statement apply |
bulkCreateCashFlows | POST | /cash-flows/bulk | 是 | FlowSyncRunner |
searchCashFlows | POST | /cash-flows/search?pageable.* | 是 | 未挂接 |
searchCashFlowInstruments | POST | /cash-flow-instruments/search | 是 | 未挂接 |
getLiquidityProjection | POST | /cash-liquidity/projection | 是 | CashLiquidity |
getDm2Buckets | GET | /dm2-buckets 或 ?currency= | 是 | FX |
getDm2BucketDeals | GET | /dm2-buckets/{bucket}/deals?currency= | 是 | FX |
未挂接说明
阅读提示
未挂接 = DtmsClient 已实现,但当前仓库无业务编排调用;勿写入生产主路径文档。
| 方法 | 说明 |
|---|---|
searchBankAccounts | 仅 Client 定义 |
searchCashFlows | 仅 Client 定义 |
searchCashFlowInstruments | 仅 Client 定义 |
部分挂接:bulkCreateCashFlows 由 FlowSyncRunnerService 消费,但 createCashFlowSyncTask 在仓库内无入队调用方;详见 flows/08。