Query Data for a Record in the Knowledge Model. This endpoint allows clients to easily include more complicated queries.
required | object (KmRecordDataRequestProjection) Defines the parameters related to the query to be executed against the Knowledge Model Record. |
List of Record data.
Bad Request.
Unauthorized access.
Forbidden.
The specified resource was not found.
Too Many Requests.
Internal Server Error.
Service Unavailable.
{- "projection": {
- "fields": "material_name,material_number,material_group",
- "filters": {
- "kmFilterNames": [
- "filter1",
- "filter2",
- "filter3"
], - "filterExpr": [
- "active eq true and name ne 'John Doe'"
]
}, - "pagination": {
- "pageNumber": 0,
- "pageSize": 50
}, - "sort": "+field1,-field2,+field3",
- "options": [
- "distinct"
], - "search": {
- "term": "tot_revenue",
- "field": "revenue",
- "precision": 10
}
}
}
{- "content": {
- "headers": [
- {
- "id": "material_name",
- "name": "Material name",
- "type": "string",
- "format": "",
- "unit": "",
- "aggregation": "false",
- "filterable": "true",
- "sortable": "true"
}, - {
- "id": "material_number",
- "name": "Material number",
- "type": "string",
- "format": "",
- "unit": "",
- "aggregation": "false",
- "filterable": "true",
- "sortable": "true"
}, - {
- "id": "material_group",
- "name": "Material group",
- "type": "string",
- "format": "",
- "unit": "",
- "aggregation": "false",
- "filterable": "true",
- "sortable": "true"
}
], - "data": [
- [
- {
- "material_name": "PC Installation / Configuration",
- "material_number": "I-1000",
- "material_group": "Services"
}
]
]
}, - "page": 0,
- "pageSize": 50,
- "total": 1,
- "sort": [
- "material_number"
]
}