Folder list
HTTP verb | URL | Request parameters |
---|---|---|
GET | /cmod-rest/v1/folders | None |
The folder list API returns an array of folders. Each folder contains the name and description of the folder.
Sample request
GET /cmod-rest/v1/folders HTTP/1.1
usi-date: 2023-11-13T18:32:21Z
Authorization: CMODSharedKey odvttstl01-68yXERhn79KNry/oV7IY:hV/w1bWdYaNAy24BBe74oYaOR84LBiuvNnjcUf8YGCo=
Host: localhost
Sample response
HTTP/1.1 200 OK
X-Powered-By: Servlet/4.0
X-Content-Type-Options: nosniff
Content-Type: application/json
Date: Mon, 13 Nov 2023 18:32:21 GMT
Correlation-Id: 2fc5e8f0-6a04-45a0-9968-453203f8d3ed
Content-Language: en-US
Content-Length: 436
{
"folders" : [ {
"description" : "Eats Shoots and Leaves",
"name" : "Bamboo Bank"
}, {
"description" : "Baxter Bay Bank",
"name" : "Baxter Bay CC Statements"
}, {
"description" : "",
"name" : "Ledger Reports"
}, {
"description" : "OnDemand System Load Facility",
"name" : "System Load"
}, {
"description" : "OnDemand System Log Facility",
"name" : "System Log"
} ]
}