Query a KM record

Data for a Record in the Knowledge Model

SecurityBearerAuth or ApiKeyAuth
Request
path Parameters
km_id
required
string
Example: open-purchase-requisition.purchase-requisition-km
record_id
required
string
Example: MATERIALS
query Parameters
filters
Array of strings

Predefined Knowledge Model filters to apply

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',approval not eq ''
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
searchTerm
string

Expect an string to search by

searchPrecision
integer [ 1 .. 100 ]
Default: 10

Number value used to approximate the result of search

searchField
string

Parameter composed of field id

Example: searchField=ACTIVITY
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}/records/{record_id}/query
Request samples
Response samples
application/json
{
  • "content": [
    ],
  • "page": 0,
  • "pageSize": 50,
  • "total": 1,
  • "sort": [
    ]
}