Through the API console or DQ+ API node, the queryCaseStoreData method can be used to list data from a case store. The query below will return the data within a specified Case Store stage ID.
Details on how to retrieve a list of Case Stores and their IDs can be found within How to list all Case Stores in an environment.
{ queryCaseStoreData(input: {stageId: 6749}) { totalCount nodes { fieldValues { name, value } } } }
Sample output:
{ "data": { "queryCaseStoreData": { "totalCount": 62930, "nodes": [ { "fieldValues": [ { "name": "caseid", "value": "63208" }, { "name": "caseuid", "value": "3aa075466d5d4975a22b94d99a499f0e" }, { "name": "status", "value": "sample-status" }, { "name": "owner", "value": "1020" }, { "name": "ownerNameInternal", "value": "sample owner" }, { "name": "sampledate", "value": "2008-06-08T00:00:00.000-0500" }, ... ] }, ...
Comments
0 comments
Please sign in to leave a comment.