User views are stored queries on objects that can be used to get a filtered list of objects based on current data at any given time. User views can be created and modified through the UI or the API, and can be restricted to the user who creates one or made available to all users.
Use the view service to execute a view and get the data that matches the view's filter and sort options.
Note that user views are not the same as custom views, although they are similar. This API object and operations only apply to user views.
Returns a collection with a key, ID, and link for each user view. This operation is mostly for use in testing; use the query service to find user views that meet specific criteria and to specify the properties that you want in the response.
OK
Bad Request
{- "ia::result": [
- {
- "key": "9",
- "id": "9",
- "href": "/objects/core/user-view/9"
}, - {
- "key": "6",
- "id": "6",
- "href": "/objects/core/user-view/6"
}, - {
- "key": "5",
- "id": "5",
- "href": "/objects/core/user-view/5"
}
], - "ia::meta": {
- "totalCount": 3,
- "start": 1,
- "pageSize": 100,
- "next": null,
- "previous": null
}
}
Creates a new user view.
User view to create
name required | string Unique name for the user view. Example: "Vendors with overdue balances" | ||||||||||||||||||||||||||||||||||||
required | object Query parameters that define the object being queried, the filters that select the records to return based on field values, the fields (columns) returned in the view, and the ordering of the returned records. Example: {"object":"accounts-receivable/customer","fields":["name","contacts.default.mailingAddress.city","customerType.id","totalDue"],"filters":[{"$gte":{"totalDue":"200"}}],"orderBy":[{"totalDue":"asc"}],"filterExpression":"and","filterParameters":{"includePrivate":true}} | ||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||
status | string Default: "active" Object status. Active objects are fully functional. Inactive objects are essentially hidden and cannot be used or referenced. Example: "active" | ||||||||||||||||||||||||||||||||||||
description | string A brief description of the user view. | ||||||||||||||||||||||||||||||||||||
object | string Object that is queried to create the user view. Must match the Example: "accounts-payable/bill" | ||||||||||||||||||||||||||||||||||||
category | string or null View category. Can be used to group user view. Example: "Vendor views" | ||||||||||||||||||||||||||||||||||||
viewVersion | string The API version at which the user-view object was created or last updated. The system will try to adjust the output as needed if a view created in an older version of the API is executed in a newer version. Example: "1" | ||||||||||||||||||||||||||||||||||||
isPublic | boolean Default: false Indicates whether this user view is only usable by the user who created it ( Example: true | ||||||||||||||||||||||||||||||||||||
context | string UI context where the user view is available. A value of Example: "__default" | ||||||||||||||||||||||||||||||||||||
object Settings for displaying the view in the UI. | |||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||
object The user who created and owns the user view. | |||||||||||||||||||||||||||||||||||||
|
Created
Bad Request
{- "name": "Inactive vendors",
- "query": {
- "object": "accounts-payable/vendor",
- "fields": [
- "id",
- "name",
- "status",
- "href"
], - "filters": [
- {
- "$eq": {
- "status": "inactive"
}
}, - {
- "$eq": {
- "billingType": "balanceForward"
}
}
], - "filterExpression": "1 and 2",
- "orderBy": [
- {
- "id": "desc"
}
]
}
}
{- "ia::result": {
- "key": "9",
- "id": "9",
- "href": "/objects/core/user-view/9"
}, - "ia::meta": {
- "totalCount": 1,
- "totalSuccess": 1,
- "totalError": 0
}
}
Returns detailed information for a specified user view.
key required | string System-assigned key for a user view. Example: 262 |
OK
Bad Request
{- "ia::result": {
- "key": "262",
- "id": "262",
- "name": "Active vendors",
- "description": "Active vendors with open billing items",
- "category": null,
- "owner": {
- "key": "1",
- "id": "Admin",
- "href": "/objects/company-config/user/1"
}, - "object": "accounts-payable/vendor",
- "query": {
- "object": "accounts-payable/vendor",
- "fields": [
- "id",
- "name",
- "status",
- "href"
], - "filters": [
- {
- "$eq": {
- "status": "active"
}
}, - {
- "$eq": {
- "billingType": "openItem"
}
}
], - "filterExpression": "1 and 2",
- "orderBy": [
- {
- "id": "asc"
}
]
}, - "status": "active",
- "viewVersion": "0",
- "audit": {
- "createdDateTime": "2025-05-16T17:41:55Z",
- "modifiedDateTime": "2025-05-17T17:41:55Z",
- "createdBy": "1",
- "modifiedBy": "1"
}, - "href": "/objects/core/user-view/262"
}, - "ia::meta": {
- "totalCount": 1,
- "totalSuccess": 1,
- "totalError": 0
}
}
Updates an existing user view by setting field values.
To change one or more metadata
values and preserve the rest, you must provide the entire metadata
object, not just the fields you want to change. Any metadata
fields that you do not include in the request will be reset to their default values.
key required | string System-assigned key for a user view. Example: 262 |
name | string Unique name for the user view. Example: "Vendors with overdue balances" | ||||||||||||||||||||||||||||||||||||
status | string Default: "active" Object status. Active objects are fully functional. Inactive objects are essentially hidden and cannot be used or referenced. Example: "active" | ||||||||||||||||||||||||||||||||||||
description | string A brief description of the user view. | ||||||||||||||||||||||||||||||||||||
object | string Object that is queried to create the user view. Must match the Example: "accounts-payable/bill" | ||||||||||||||||||||||||||||||||||||
category | string or null View category. Can be used to group user view. Example: "Vendor views" | ||||||||||||||||||||||||||||||||||||
viewVersion | string The API version at which the user-view object was created or last updated. The system will try to adjust the output as needed if a view created in an older version of the API is executed in a newer version. Example: "1" | ||||||||||||||||||||||||||||||||||||
isPublic | boolean Default: false Indicates whether this user view is only usable by the user who created it ( Example: true | ||||||||||||||||||||||||||||||||||||
context | string UI context where the user view is available. A value of Example: "__default" | ||||||||||||||||||||||||||||||||||||
object Query parameters that define the object being queried, the filters that select the records to return based on field values, the fields (columns) returned in the view, and the ordering of the returned records. Example: {"object":"accounts-receivable/customer","fields":["name","contacts.default.mailingAddress.city","customerType.id","totalDue"],"filters":[{"$gte":{"totalDue":"200"}}],"orderBy":[{"totalDue":"asc"}],"filterExpression":"and","filterParameters":{"includePrivate":true}} | |||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||
object Settings for displaying the view in the UI. | |||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||
object The user who created and owns the user view. | |||||||||||||||||||||||||||||||||||||
|
OK
Bad Request
{- "query": {
- "object": "company-config/employee",
- "fields": [
- "key",
- "primaryContact.lastName",
- "primaryContact.prefix",
- "primaryContact.firstName",
- "primaryContact.id",
- "startDate"
], - "filters": [
- {
- "$eq": {
- "status": "active"
}
}, - {
- "$eq": {
- "startDate": "currentYear"
}
}
], - "filterExpression": "and",
- "orderBy": [
- {
- "primaryContact.lastName": "asc"
}
], - "filterParameters": {
- "includeHierarchyFields": false
}
}, - "metadata": {
- "columns": [
- {
- "id": "primaryContact.lastName",
- "textFormat": "clip"
}, - {
- "id": "primaryContact.prefix",
- "textFormat": "wrap"
}, - {
- "id": "primaryContact.firstName",
- "textFormat": "clip"
}, - {
- "id": "primaryContact.id",
- "textFormat": "wrap"
}, - {
- "id": "status",
- "textFormat": "clip"
}
], - "frozenColumnCount": 1
}
}
{- "ia::result": {
- "key": "8",
- "id": "8",
- "href": "/objects/core/user-view/8"
}, - "ia::meta": {
- "totalCount": 1,
- "totalSuccess": 1,
- "totalError": 0
}
}
Deletes a user view.
key required | string System-assigned key for a user view. Example: 262 |
No Content
Bad Request
{- "ia::result": {
- "ia::error": {
- "code": "invalidRequest",
- "message": "A POST request requires a payload",
- "errorId": "REST-1028",
- "additionalInfo": {
- "messageId": "IA.REQUEST_REQUIRES_A_PAYLOAD",
- "placeholders": {
- "OPERATION": "POST"
}, - "propertySet": { }
}, - "supportId": "Kxi78%7EZuyXBDEGVHD2UmO1phYXDQAAAAo"
}
}, - "ia::meta": {
- "totalCount": 1,
- "totalSuccess": 0,
- "totalError": 1
}
}