RelationTypeQuery

Set of parameters used to filter relation types.

More info: see relation type, the getlist operation and the relation types endpoint.

Fields

FieldDescription
filter
string

Filter the returned items by specifying a query on the public datamodel that returns the ids.

Example value:"SELECT id FROM tm.contactrelationtype WHERE parentid=3"
includearchived
bool

If this parameter is true, archived items will be returned as well.

Example value:true
lastupdatesince
timestamp

All items that were updated since this timestamp will be returned. Timestamp should be passed in YYYY-MM-DD hh:mm:ss format.

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

Example

1{
2    "filter": "SELECT id FROM tm.contactrelationtype WHERE parentid=3",
3    "includearchived": true,
4    "lastupdatesince": "2014-09-26 15:24:36"
5}