View

A single view.

More info: see the get operation and the views endpoint.

Fields

FieldDescription
id
int 
(required)

Unique ID

Example value:123
typeid
int 
(required)

Type ID

Example value:10001
name
mlstring 
(required)

Name of the view

Example value:"Base info"
columns
ViewColumn[] 
(required)

List of field definitions that are part of this view.

Example value:[ { "id": 100 }, { "id": 101 }, { "id": 112 } ]
orderby
int 
(required)

The field definitions to order the results on.

Example value:102
orderby_asc
bool 
(required)

Indicates whether the results should be ordered ascending or descending.

Example value:true
isarchived
bool 
(required)

Whether or not this item is archived

createdts
timestamp 
(required)

Created timestamp

Example value:"2014-09-26 15:24:36"
lastupdatets
timestamp 
(required)

Last updated timestamp

Example value:"2014-09-26 15:24:36"

Example

 1{
 2    "id": 123,
 3    "typeid": 10001,
 4    "name": "Base info",
 5    "columns": [
 6        {
 7            "id": 100
 8        },
 9        {
10            "id": 101
11        },
12        {
13            "id": 112
14        }
15    ],
16    "orderby": 102,
17    "orderby_asc": true,
18    "isarchived": false,
19    "createdts": "2014-09-26 15:24:36",
20    "lastupdatets": "2014-09-26 15:24:36"
21}