Use the view service to execute a system view or user view and get the data that matches the view's filter and sort options at the time of execution.
Any parameters that you provide in the request body override the same parameters defined in the view. For example, if a view is defined to return 10 records but you set size
to 20 in the request body, the response will include 20 records.
Requests current data that matches the filter and sort options defined in a system view or user view, modified by any parameters in the request body.
key required | string Key to identify the view. For system views the key is in the form of Example: "12" | ||||||||
viewType required | string The type of view to execute, either system or user. Example: "user" | ||||||||
object Any filter parameters supported by the query service to narrow the search | |||||||||
| |||||||||
start | integer First record of the result set to include in the response. Use with Example: 1 | ||||||||
size | integer Number of records per page, 4000 maximum. Example: 100 |
OK
Bad Request
{- "key": "540",
- "viewType": "user",
- "size": 3,
- "start": 7,
- "filterParameters": {
- "asOfDate": "2025-04-01",
- "caseSensitiveComparison": false
}
}
{- "ia::result": [
- {
- "key": "61",
- "id": "Vend-00010",
- "name": "Design Works",
- "status": "active",
- "href": "/objects/accounts-payable/vendor/61"
}, - {
- "key": "63",
- "id": "V1234555",
- "name": "North Fork Power",
- "status": "active",
- "href": "/objects/accounts-payable/vendor/63"
}, - {
- "key": "38",
- "id": "V80863",
- "name": "Woodland Construction",
- "status": "active",
- "href": "/objects/accounts-payable/vendor/38"
}
], - "ia::meta": {
- "totalCount": 49,
- "start": 7,
- "pageSize": 3,
- "next": 10,
- "previous": 4
}
}