Cache - POST
Overview
This is a service call that may be used to seed documents and packages into the DocViewer cache to help decrease the time needed to run auto selection for a transaction. This can be called as soon as you know what packages or documents you will be using with DocViewer.
Method
| Method | URL | Description |
|---|---|---|
| POST | /api/Sessions/cache | The POST method submits the accountid, documents, and packages as part of the call to provide seed documents and packages into DocViewer. |
Parameters
| Name | Type | Constraints | Description |
|---|---|---|---|
| id | integer | required | The account used to associate to the request. |
| docs | array | This is a list of documents that you want to seed into the DocViewer cache. The Id specified of each document can be in the following format: expere://ORG.CustomOrg/PKGD.SampleDocument. | |
| packages | array | Either this argument or docs must be passed in. This is the list of packages that will be seeded into the DocViewer cache. The package Ids, like document Ids, should be in the following format: expere:// ORG.CustomOrg/PKG.SamplePackage. |
Sample Request
{
"account": {
"id": 1
},
"packages": [
{
"id": "expere://1.DepositShort.1.ORG.WoltersKluwerFinancialServices.Root/PKG.DepositAccountOpening"
}
]
}
Sample Response
Note: The response back to the user only consists of one of the
response codes available here.