Get a list of KM data from different records

Query Data for a Knowledge Model that is combining different Records

SecurityBearerAuth or ApiKeyAuth
Request
path Parameters
km_id
required
string
Example: open-purchase-requisition.purchase-requisition-km
query Parameters
filters
Array of strings
Example: filters=active_incidents,cel_and_kpi
fields
Array of strings
Example: fields=active,approval
page
integer >= 0
Default: 0

The page number of the result, starting by 0 (first page)

pageSize
integer >= 1
Default: 50

The number of items returned in a page.

sort
Array of strings

Defines the strategy to proceed for sorting. It must be a comma separated list of fields, and they should start with "+" to apply ASC order or "-" to apply DESC order. Fields with no prefix will be sorted as ASC. Non existing fields at the header will throw an error

Example: sort=+field1,-field2,field3
filterExpr
Array of strings
Example: filterExpr=active eq true and name not eq 'John Doe'
options
Array of strings

Set different options to customize the data results for a query. Supported options

  • Distinct: Enable the unique data results for a query
Example: options=distinct
kpis
Array of strings
Example: kpis=AVG_EVENTS_PER_CASE,FILTERED_COUNT
searchTerm
string

description

searchPrecision
integer [ 1 .. 100 ]

description

searchField
string

description

Responses
200

List of Record data

400

Bad Request.

401

Unauthorized access.

403

Forbidden.

404

The specified resource was not found

429

Too Many Requests.

500

Internal Server Error.

503

Service Unavailable.

get/api/knowledge-models/{km_id}/query
Request samples
Response samples
application/json
{
  • "content": [
    ],
  • "page": 0,
  • "pageSize": 50,
  • "total": 1,
  • "sort": [
    ]
}