DatasetServiceRest Resource
Datasets
GET /ecm/dataset/availableDatasets
Returns the avaibles datasets
| media type | data type | description |
|---|---|---|
| application/json | object (JSON) | |
GET /ecm/dataset/cardDatasetValues
| name | type | description |
|---|---|---|
| data | query |
| media type | data type | description |
|---|---|---|
| application/json | object (JSON) |
POST /ecm/dataset/cardDatasetValues
Returns a card dataset
| media type | data type | description |
|---|---|---|
| application/json | string (JSON) | Request JSON (example): |
| media type | data type | description |
|---|---|---|
| application/json | object (JSON) | |
GET /ecm/dataset/datasetJournaling
| name | type | description | constraints |
|---|---|---|---|
| datasetId | query | ||
| lastSync | query | required | |
| numberOfRows | query | required | |
| startRecord | query | required |
| media type | data type | description |
|---|---|---|
| text/json | object (JSON) | |
POST /ecm/dataset/datasets
Returns a dataset
| media type | data type | description |
|---|---|---|
| application/json | string (JSON) | Request JSON (example):{
"name" : "topic", //dataset's id
"fields" : ["field1", "field2"], //fields to return
"constraints" : [{ //constraints to filter the search, all fields specified inside are required
"_field" : "value1", //name of the field used in the constraint
"_initialValue": "value2", //value to be filtered
"_finalValue" : "value3", //final value to be filtered
"_type": 0, //type of the constraint (1 - MUST, 2 - SHOULD, 3 - MUST_NOT)
"_likeSearch": false //if it is a LIKE search
}],
"order" : ["field1"] // Array specifying the order by parameter
}
|
| media type | data type | description |
|---|---|---|
| application/json | object (JSON) | |
GET /ecm/dataset/editable
| name | type | description |
|---|---|---|
| datasetIds | query |
| media type | data type | description |
|---|---|---|
| application/json | object (JSON) |
GET /ecm/dataset/previewJournaling
| name | type | description | constraints |
|---|---|---|---|
| datasetId | query | ||
| lastSync | query | required | |
| numberOfRows | query | required | |
| startRecord | query | required |
| media type | data type | description |
|---|---|---|
| application/json | object (JSON) |
GET /ecm/dataset/search
| name | type | description | constraints |
|---|---|---|---|
| datasetId | query | Dataset Id for search | |
| filterFields | query | Prefilter fields for the dataset to load, divided by comma | |
| likeField | query | The like field, if it is a metadata field have to change the # for _ | |
| likeValue | query | The like value, for relative searchs | |
| limit | query | The limit of results returned by the dataset | required |
| orderBy | query | The ordering field and the direction | |
| resultFields | query | The result columns, divided by comma | |
| searchField | query | Field by that the dataset will be filtered on demand | |
| searchValue | query | The dynamic value for the searchField |
| media type | data type | description |
|---|---|---|
| application/json | object (JSON) |
POST /ecm/dataset/search
| media type | data type | description |
|---|---|---|
| application/json | string (JSON) | Request JSON (example): |
| media type | data type | description |
|---|---|---|
| application/json | object (JSON) |
GET /ecm/dataset/standardDatasetValues
| name | type | description |
|---|---|---|
| data | query |
| media type | data type | description |
|---|---|---|
| application/json | object (JSON) |
POST /ecm/dataset/standardDatasetValues
Returns a list of standard datasets
| media type | data type | description |
|---|---|---|
| application/json | string (JSON) | Request JSON (example): |
| media type | data type | description |
|---|---|---|
| application/json | object (JSON) | |
- Available Since
- 1.5.5
POST /ecm/dataset/synchronizeDataset
This method has been deprecated. Use /{datasetId}/synchronize
Synchronize Dataset.
- Available Since
- 1.5.5
| media type | data type | description |
|---|---|---|
| application/json | string (JSON) | REQUIRED dataset id |
| application/xml | string (XML) |
| media type | data type | description |
|---|---|---|
| application/json | object (JSON) | |
GET /ecm/dataset/datasetStructure/{datasetId}
| name | type | description |
|---|---|---|
| datasetId | path |
| media type | data type | description |
|---|---|---|
| application/json | object (JSON) | |
POST /ecm/dataset/{componentId}/update
| name | type | description | constraints |
|---|---|---|---|
| componentId | path | required |
| media type | data type | description |
|---|---|---|
| application/json | object (JSON) |
- Available Since
- 1.6.5