Folio Query Tool API
Get definition of an Entity Type.
entityTypeId required | string <uuid> (UUID) UUID of the entity type |
includeHidden | boolean Default: false Include the hidden column in the display |
{- "id": "0cb79a4c-f7eb-4941-a104-745224ae0292",
- "name": "item_details",
- "private": false,
- "columns": [ ]
}
Get the values of an entity type column.
entityTypeId required | string <uuid> (UUID) UUID of the entity type |
columnName required | string Name of an entity type column |
search | string A search text that can be used to filter column values. If provided, only the values that begins with the given text will be returned in API response. |
{- "content": [
- {
- "value": "item_status",
- "name": "Item Status"
}
]
}
Create a custom entity type
Custom entity type definition
id required | string A UUID identifying entity type | ||||||||||||||||||||||||||||||||||||||||||
name required | string The unique name of entity type like User, Loan, Item, etc. | ||||||||||||||||||||||||||||||||||||||||||
description | string A description of the entity type | ||||||||||||||||||||||||||||||||||||||||||
labelAlias | string The identifier used for a localized label/name for this entity. | ||||||||||||||||||||||||||||||||||||||||||
private required | boolean This flag denotes whether the entity type is private or not. Private entity types cannot be accessed by users for querying. | ||||||||||||||||||||||||||||||||||||||||||
customFieldEntityTypeId | string The IDs of the custom field entity type | ||||||||||||||||||||||||||||||||||||||||||
Array of objects (Entity Type Column Schema) Default: [] | |||||||||||||||||||||||||||||||||||||||||||
Array
| |||||||||||||||||||||||||||||||||||||||||||
crossTenantQueriesEnabled | boolean Default: false Indicates if this entity type supports cross-tenant queries | ||||||||||||||||||||||||||||||||||||||||||
Array of objects (Default sort criteria for an entity type) | |||||||||||||||||||||||||||||||||||||||||||
Array
| |||||||||||||||||||||||||||||||||||||||||||
fromClause | string Deprecated FROM clause containing all src views that need to be joined to query this entity type | ||||||||||||||||||||||||||||||||||||||||||
idView | string View from which the content IDs for this entity type are extracted | ||||||||||||||||||||||||||||||||||||||||||
groupByFields | Array of strings Ordered list of fields used in the GROUP BY clause for this entity type | ||||||||||||||||||||||||||||||||||||||||||
sourceView | string View from which the dynamic columns for this entity type are extracted | ||||||||||||||||||||||||||||||||||||||||||
sourceViewExtractor | string Getting the base source of the custom field | ||||||||||||||||||||||||||||||||||||||||||
Array of objects (Entity Type Source) Default: [] | |||||||||||||||||||||||||||||||||||||||||||
Array
| |||||||||||||||||||||||||||||||||||||||||||
requiredPermissions | Array of strings Default: [] List of permissions required to query this entity type | ||||||||||||||||||||||||||||||||||||||||||
filterConditions | Array of strings Default: [] Filter conditions to be included in the WHERE clause of this entity type | ||||||||||||||||||||||||||||||||||||||||||
additionalEcsConditions | Array of strings Default: [] Additional conditions to be included in the WHERE clause of this entity type in ECS environments | ||||||||||||||||||||||||||||||||||||||||||
owner | string <uuid> A UUID identifying entity type owner | ||||||||||||||||||||||||||||||||||||||||||
shared | boolean Default: false Denotes if the entity type is shared (true) or private (false) | ||||||||||||||||||||||||||||||||||||||||||
createdAt | string <date-time> The creation timestamp of the entity type | ||||||||||||||||||||||||||||||||||||||||||
updatedAt | string <date-time> The update timestamp of the entity type | ||||||||||||||||||||||||||||||||||||||||||
isCustom | boolean Default: true Discriminator field to distinguish custom entity types from system entity types Value: true | ||||||||||||||||||||||||||||||||||||||||||
property name* additional property | any |
{- "id": "string",
- "name": "string",
- "description": "string",
- "labelAlias": "string",
- "private": true,
- "customFieldEntityTypeId": "string",
- "columns": [ ],
- "crossTenantQueriesEnabled": false,
- "defaultSort": [
- {
- "columnName": "string",
- "direction": "ASC"
}
], - "fromClause": "string",
- "idView": "string",
- "groupByFields": [
- "string"
], - "sourceView": "string",
- "sourceViewExtractor": "string",
- "sources": [ ],
- "requiredPermissions": [ ],
- "filterConditions": [ ],
- "additionalEcsConditions": [ ],
- "owner": "534359f7-5407-4b19-ba92-c71c370022a5",
- "shared": false,
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "isCustom": true
}
{- "id": "string",
- "name": "string",
- "description": "string",
- "labelAlias": "string",
- "private": true,
- "customFieldEntityTypeId": "string",
- "columns": [ ],
- "crossTenantQueriesEnabled": false,
- "defaultSort": [
- {
- "columnName": "string",
- "direction": "ASC"
}
], - "fromClause": "string",
- "idView": "string",
- "groupByFields": [
- "string"
], - "sourceView": "string",
- "sourceViewExtractor": "string",
- "sources": [ ],
- "requiredPermissions": [ ],
- "filterConditions": [ ],
- "additionalEcsConditions": [ ],
- "owner": "534359f7-5407-4b19-ba92-c71c370022a5",
- "shared": false,
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "isCustom": true
}
entityTypeId required | string <uuid> (UUID) UUID of the entity type |
{- "id": "string",
- "name": "string",
- "description": "string",
- "labelAlias": "string",
- "private": true,
- "customFieldEntityTypeId": "string",
- "columns": [ ],
- "crossTenantQueriesEnabled": false,
- "defaultSort": [
- {
- "columnName": "string",
- "direction": "ASC"
}
], - "fromClause": "string",
- "idView": "string",
- "groupByFields": [
- "string"
], - "sourceView": "string",
- "sourceViewExtractor": "string",
- "sources": [ ],
- "requiredPermissions": [ ],
- "filterConditions": [ ],
- "additionalEcsConditions": [ ],
- "owner": "534359f7-5407-4b19-ba92-c71c370022a5",
- "shared": false,
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "isCustom": true
}
entityTypeId required | string <uuid> (UUID) UUID of the entity type |
Custom entity type definition
id required | string A UUID identifying entity type | ||||||||||||||||||||||||||||||||||||||||||
name required | string The unique name of entity type like User, Loan, Item, etc. | ||||||||||||||||||||||||||||||||||||||||||
description | string A description of the entity type | ||||||||||||||||||||||||||||||||||||||||||
labelAlias | string The identifier used for a localized label/name for this entity. | ||||||||||||||||||||||||||||||||||||||||||
private required | boolean This flag denotes whether the entity type is private or not. Private entity types cannot be accessed by users for querying. | ||||||||||||||||||||||||||||||||||||||||||
customFieldEntityTypeId | string The IDs of the custom field entity type | ||||||||||||||||||||||||||||||||||||||||||
Array of objects (Entity Type Column Schema) Default: [] | |||||||||||||||||||||||||||||||||||||||||||
Array
| |||||||||||||||||||||||||||||||||||||||||||
crossTenantQueriesEnabled | boolean Default: false Indicates if this entity type supports cross-tenant queries | ||||||||||||||||||||||||||||||||||||||||||
Array of objects (Default sort criteria for an entity type) | |||||||||||||||||||||||||||||||||||||||||||
Array
| |||||||||||||||||||||||||||||||||||||||||||
fromClause | string Deprecated FROM clause containing all src views that need to be joined to query this entity type | ||||||||||||||||||||||||||||||||||||||||||
idView | string View from which the content IDs for this entity type are extracted | ||||||||||||||||||||||||||||||||||||||||||
groupByFields | Array of strings Ordered list of fields used in the GROUP BY clause for this entity type | ||||||||||||||||||||||||||||||||||||||||||
sourceView | string View from which the dynamic columns for this entity type are extracted | ||||||||||||||||||||||||||||||||||||||||||
sourceViewExtractor | string Getting the base source of the custom field | ||||||||||||||||||||||||||||||||||||||||||
Array of objects (Entity Type Source) Default: [] | |||||||||||||||||||||||||||||||||||||||||||
Array
| |||||||||||||||||||||||||||||||||||||||||||
requiredPermissions | Array of strings Default: [] List of permissions required to query this entity type | ||||||||||||||||||||||||||||||||||||||||||
filterConditions | Array of strings Default: [] Filter conditions to be included in the WHERE clause of this entity type | ||||||||||||||||||||||||||||||||||||||||||
additionalEcsConditions | Array of strings Default: [] Additional conditions to be included in the WHERE clause of this entity type in ECS environments | ||||||||||||||||||||||||||||||||||||||||||
owner | string <uuid> A UUID identifying entity type owner | ||||||||||||||||||||||||||||||||||||||||||
shared | boolean Default: false Denotes if the entity type is shared (true) or private (false) | ||||||||||||||||||||||||||||||||||||||||||
createdAt | string <date-time> The creation timestamp of the entity type | ||||||||||||||||||||||||||||||||||||||||||
updatedAt | string <date-time> The update timestamp of the entity type | ||||||||||||||||||||||||||||||||||||||||||
isCustom | boolean Default: true Discriminator field to distinguish custom entity types from system entity types Value: true | ||||||||||||||||||||||||||||||||||||||||||
property name* additional property | any |
{- "id": "string",
- "name": "string",
- "description": "string",
- "labelAlias": "string",
- "private": true,
- "customFieldEntityTypeId": "string",
- "columns": [ ],
- "crossTenantQueriesEnabled": false,
- "defaultSort": [
- {
- "columnName": "string",
- "direction": "ASC"
}
], - "fromClause": "string",
- "idView": "string",
- "groupByFields": [
- "string"
], - "sourceView": "string",
- "sourceViewExtractor": "string",
- "sources": [ ],
- "requiredPermissions": [ ],
- "filterConditions": [ ],
- "additionalEcsConditions": [ ],
- "owner": "534359f7-5407-4b19-ba92-c71c370022a5",
- "shared": false,
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "isCustom": true
}
{- "id": "string",
- "name": "string",
- "description": "string",
- "labelAlias": "string",
- "private": true,
- "customFieldEntityTypeId": "string",
- "columns": [ ],
- "crossTenantQueriesEnabled": false,
- "defaultSort": [
- {
- "columnName": "string",
- "direction": "ASC"
}
], - "fromClause": "string",
- "idView": "string",
- "groupByFields": [
- "string"
], - "sourceView": "string",
- "sourceViewExtractor": "string",
- "sources": [ ],
- "requiredPermissions": [ ],
- "filterConditions": [ ],
- "additionalEcsConditions": [ ],
- "owner": "534359f7-5407-4b19-ba92-c71c370022a5",
- "shared": false,
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "isCustom": true
}
Get available entity types and fields for joining with a custom entity type
Custom entity type definition
object (Custom Entity Type Schema) A definition of a custom entity types that can be used in the Query Tool | |||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||
sourceField | string Name of the field from the custom entity type | ||||||||||||||||||||||||||||||||||||||||||||||||
targetId | string <uuid> (UUID) The content row represented as a map. | ||||||||||||||||||||||||||||||||||||||||||||||||
targetField | string Name of the field from the target entity type |
{- "customEntityType": {
- "id": "string",
- "name": "string",
- "description": "string",
- "labelAlias": "string",
- "private": true,
- "customFieldEntityTypeId": "string",
- "columns": [ ],
- "crossTenantQueriesEnabled": false,
- "defaultSort": [
- {
- "columnName": "string",
- "direction": "ASC"
}
], - "fromClause": "string",
- "idView": "string",
- "groupByFields": [
- "string"
], - "sourceView": "string",
- "sourceViewExtractor": "string",
- "sources": [ ],
- "requiredPermissions": [ ],
- "filterConditions": [ ],
- "additionalEcsConditions": [ ],
- "owner": "534359f7-5407-4b19-ba92-c71c370022a5",
- "shared": false,
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "isCustom": true
}, - "sourceField": "string",
- "targetId": "cbca1126-180e-4334-9df8-cf82289d378b",
- "targetField": "string"
}
{- "availableSourceFields": [
- {
- "label": "string",
- "value": "string"
}
], - "availableTargetIds": [
- {
- "label": "string",
- "value": "string"
}
], - "availableTargetFields": [
- {
- "label": "string",
- "value": "string"
}
]
}
Create a custom entity type
Custom entity type definition
id required | string A UUID identifying entity type | ||||||||||||||||||||||||||||||||||||||||||
name required | string The unique name of entity type like User, Loan, Item, etc. | ||||||||||||||||||||||||||||||||||||||||||
description | string A description of the entity type | ||||||||||||||||||||||||||||||||||||||||||
labelAlias | string The identifier used for a localized label/name for this entity. | ||||||||||||||||||||||||||||||||||||||||||
private required | boolean This flag denotes whether the entity type is private or not. Private entity types cannot be accessed by users for querying. | ||||||||||||||||||||||||||||||||||||||||||
customFieldEntityTypeId | string The IDs of the custom field entity type | ||||||||||||||||||||||||||||||||||||||||||
Array of objects (Entity Type Column Schema) Default: [] | |||||||||||||||||||||||||||||||||||||||||||
Array
| |||||||||||||||||||||||||||||||||||||||||||
crossTenantQueriesEnabled | boolean Default: false Indicates if this entity type supports cross-tenant queries | ||||||||||||||||||||||||||||||||||||||||||
Array of objects (Default sort criteria for an entity type) | |||||||||||||||||||||||||||||||||||||||||||
Array
| |||||||||||||||||||||||||||||||||||||||||||
fromClause | string Deprecated FROM clause containing all src views that need to be joined to query this entity type | ||||||||||||||||||||||||||||||||||||||||||
idView | string View from which the content IDs for this entity type are extracted | ||||||||||||||||||||||||||||||||||||||||||
groupByFields | Array of strings Ordered list of fields used in the GROUP BY clause for this entity type | ||||||||||||||||||||||||||||||||||||||||||
sourceView | string View from which the dynamic columns for this entity type are extracted | ||||||||||||||||||||||||||||||||||||||||||
sourceViewExtractor | string Getting the base source of the custom field | ||||||||||||||||||||||||||||||||||||||||||
Array of objects (Entity Type Source) Default: [] | |||||||||||||||||||||||||||||||||||||||||||
Array
| |||||||||||||||||||||||||||||||||||||||||||
requiredPermissions | Array of strings Default: [] List of permissions required to query this entity type | ||||||||||||||||||||||||||||||||||||||||||
filterConditions | Array of strings Default: [] Filter conditions to be included in the WHERE clause of this entity type | ||||||||||||||||||||||||||||||||||||||||||
additionalEcsConditions | Array of strings Default: [] Additional conditions to be included in the WHERE clause of this entity type in ECS environments | ||||||||||||||||||||||||||||||||||||||||||
owner | string <uuid> A UUID identifying entity type owner | ||||||||||||||||||||||||||||||||||||||||||
shared | boolean Default: false Denotes if the entity type is shared (true) or private (false) | ||||||||||||||||||||||||||||||||||||||||||
createdAt | string <date-time> The creation timestamp of the entity type | ||||||||||||||||||||||||||||||||||||||||||
updatedAt | string <date-time> The update timestamp of the entity type | ||||||||||||||||||||||||||||||||||||||||||
isCustom | boolean Default: true Discriminator field to distinguish custom entity types from system entity types Value: true | ||||||||||||||||||||||||||||||||||||||||||
property name* additional property | any |
{- "id": "string",
- "name": "string",
- "description": "string",
- "labelAlias": "string",
- "private": true,
- "customFieldEntityTypeId": "string",
- "columns": [ ],
- "crossTenantQueriesEnabled": false,
- "defaultSort": [
- {
- "columnName": "string",
- "direction": "ASC"
}
], - "fromClause": "string",
- "idView": "string",
- "groupByFields": [
- "string"
], - "sourceView": "string",
- "sourceViewExtractor": "string",
- "sources": [ ],
- "requiredPermissions": [ ],
- "filterConditions": [ ],
- "additionalEcsConditions": [ ],
- "owner": "534359f7-5407-4b19-ba92-c71c370022a5",
- "shared": false,
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "isCustom": true
}
{- "id": "string",
- "name": "string",
- "description": "string",
- "labelAlias": "string",
- "private": true,
- "customFieldEntityTypeId": "string",
- "columns": [ ],
- "crossTenantQueriesEnabled": false,
- "defaultSort": [
- {
- "columnName": "string",
- "direction": "ASC"
}
], - "fromClause": "string",
- "idView": "string",
- "groupByFields": [
- "string"
], - "sourceView": "string",
- "sourceViewExtractor": "string",
- "sources": [ ],
- "requiredPermissions": [ ],
- "filterConditions": [ ],
- "additionalEcsConditions": [ ],
- "owner": "534359f7-5407-4b19-ba92-c71c370022a5",
- "shared": false,
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "isCustom": true
}
entityTypeId required | string <uuid> (UUID) UUID of the entity type |
{- "id": "string",
- "name": "string",
- "description": "string",
- "labelAlias": "string",
- "private": true,
- "customFieldEntityTypeId": "string",
- "columns": [ ],
- "crossTenantQueriesEnabled": false,
- "defaultSort": [
- {
- "columnName": "string",
- "direction": "ASC"
}
], - "fromClause": "string",
- "idView": "string",
- "groupByFields": [
- "string"
], - "sourceView": "string",
- "sourceViewExtractor": "string",
- "sources": [ ],
- "requiredPermissions": [ ],
- "filterConditions": [ ],
- "additionalEcsConditions": [ ],
- "owner": "534359f7-5407-4b19-ba92-c71c370022a5",
- "shared": false,
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "isCustom": true
}
entityTypeId required | string <uuid> (UUID) UUID of the entity type |
Custom entity type definition
id required | string A UUID identifying entity type | ||||||||||||||||||||||||||||||||||||||||||
name required | string The unique name of entity type like User, Loan, Item, etc. | ||||||||||||||||||||||||||||||||||||||||||
description | string A description of the entity type | ||||||||||||||||||||||||||||||||||||||||||
labelAlias | string The identifier used for a localized label/name for this entity. | ||||||||||||||||||||||||||||||||||||||||||
private required | boolean This flag denotes whether the entity type is private or not. Private entity types cannot be accessed by users for querying. | ||||||||||||||||||||||||||||||||||||||||||
customFieldEntityTypeId | string The IDs of the custom field entity type | ||||||||||||||||||||||||||||||||||||||||||
Array of objects (Entity Type Column Schema) Default: [] | |||||||||||||||||||||||||||||||||||||||||||
Array
| |||||||||||||||||||||||||||||||||||||||||||
crossTenantQueriesEnabled | boolean Default: false Indicates if this entity type supports cross-tenant queries | ||||||||||||||||||||||||||||||||||||||||||
Array of objects (Default sort criteria for an entity type) | |||||||||||||||||||||||||||||||||||||||||||
Array
| |||||||||||||||||||||||||||||||||||||||||||
fromClause | string Deprecated FROM clause containing all src views that need to be joined to query this entity type | ||||||||||||||||||||||||||||||||||||||||||
idView | string View from which the content IDs for this entity type are extracted | ||||||||||||||||||||||||||||||||||||||||||
groupByFields | Array of strings Ordered list of fields used in the GROUP BY clause for this entity type | ||||||||||||||||||||||||||||||||||||||||||
sourceView | string View from which the dynamic columns for this entity type are extracted | ||||||||||||||||||||||||||||||||||||||||||
sourceViewExtractor | string Getting the base source of the custom field | ||||||||||||||||||||||||||||||||||||||||||
Array of objects (Entity Type Source) Default: [] | |||||||||||||||||||||||||||||||||||||||||||
Array
| |||||||||||||||||||||||||||||||||||||||||||
requiredPermissions | Array of strings Default: [] List of permissions required to query this entity type | ||||||||||||||||||||||||||||||||||||||||||
filterConditions | Array of strings Default: [] Filter conditions to be included in the WHERE clause of this entity type | ||||||||||||||||||||||||||||||||||||||||||
additionalEcsConditions | Array of strings Default: [] Additional conditions to be included in the WHERE clause of this entity type in ECS environments | ||||||||||||||||||||||||||||||||||||||||||
owner | string <uuid> A UUID identifying entity type owner | ||||||||||||||||||||||||||||||||||||||||||
shared | boolean Default: false Denotes if the entity type is shared (true) or private (false) | ||||||||||||||||||||||||||||||||||||||||||
createdAt | string <date-time> The creation timestamp of the entity type | ||||||||||||||||||||||||||||||||||||||||||
updatedAt | string <date-time> The update timestamp of the entity type | ||||||||||||||||||||||||||||||||||||||||||
isCustom | boolean Default: true Discriminator field to distinguish custom entity types from system entity types Value: true | ||||||||||||||||||||||||||||||||||||||||||
property name* additional property | any |
{- "id": "string",
- "name": "string",
- "description": "string",
- "labelAlias": "string",
- "private": true,
- "customFieldEntityTypeId": "string",
- "columns": [ ],
- "crossTenantQueriesEnabled": false,
- "defaultSort": [
- {
- "columnName": "string",
- "direction": "ASC"
}
], - "fromClause": "string",
- "idView": "string",
- "groupByFields": [
- "string"
], - "sourceView": "string",
- "sourceViewExtractor": "string",
- "sources": [ ],
- "requiredPermissions": [ ],
- "filterConditions": [ ],
- "additionalEcsConditions": [ ],
- "owner": "534359f7-5407-4b19-ba92-c71c370022a5",
- "shared": false,
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "isCustom": true
}
{- "id": "string",
- "name": "string",
- "description": "string",
- "labelAlias": "string",
- "private": true,
- "customFieldEntityTypeId": "string",
- "columns": [ ],
- "crossTenantQueriesEnabled": false,
- "defaultSort": [
- {
- "columnName": "string",
- "direction": "ASC"
}
], - "fromClause": "string",
- "idView": "string",
- "groupByFields": [
- "string"
], - "sourceView": "string",
- "sourceViewExtractor": "string",
- "sources": [ ],
- "requiredPermissions": [ ],
- "filterConditions": [ ],
- "additionalEcsConditions": [ ],
- "owner": "534359f7-5407-4b19-ba92-c71c370022a5",
- "shared": false,
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "isCustom": true
}
Get available entity types and fields for joining with a custom entity type
Custom entity type definition
object (Custom Entity Type Schema) A definition of a custom entity types that can be used in the Query Tool | |||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||
sourceField | string Name of the field from the custom entity type | ||||||||||||||||||||||||||||||||||||||||||||||||
targetId | string <uuid> (UUID) The content row represented as a map. | ||||||||||||||||||||||||||||||||||||||||||||||||
targetField | string Name of the field from the target entity type |
{- "customEntityType": {
- "id": "string",
- "name": "string",
- "description": "string",
- "labelAlias": "string",
- "private": true,
- "customFieldEntityTypeId": "string",
- "columns": [ ],
- "crossTenantQueriesEnabled": false,
- "defaultSort": [
- {
- "columnName": "string",
- "direction": "ASC"
}
], - "fromClause": "string",
- "idView": "string",
- "groupByFields": [
- "string"
], - "sourceView": "string",
- "sourceViewExtractor": "string",
- "sources": [ ],
- "requiredPermissions": [ ],
- "filterConditions": [ ],
- "additionalEcsConditions": [ ],
- "owner": "534359f7-5407-4b19-ba92-c71c370022a5",
- "shared": false,
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "isCustom": true
}, - "sourceField": "string",
- "targetId": "cbca1126-180e-4334-9df8-cf82289d378b",
- "targetField": "string"
}
{- "availableSourceFields": [
- {
- "label": "string",
- "value": "string"
}
], - "availableTargetIds": [
- {
- "label": "string",
- "value": "string"
}
], - "availableTargetFields": [
- {
- "label": "string",
- "value": "string"
}
]
}
Runs an FQL query
query required | string A complete query expressed as a FQL string. It should contain the from part that defines the entity type and the where/criteria part. |
entityTypeId required | string <uuid> (UUID) UUID of the entity type |
fields | Array of strings fields to include in the query results |
afterId | Array of strings Deprecated ID of the last element from the previous query |
limit | integer [ 1 .. 2147483647 ] Default: 100 Limit the number of elements returned in the response |
{- "content": [
- {
- "id": {
- "type": "object"
}, - "item_status": {
- "type": "object"
}
}
], - "totalRecords": 1
}
Runs an FQL query asynchronously
Query request
fqlQuery required | string |
entityTypeId required | string <uuid> (UUID) The content row represented as a map. |
fields | Array of strings Fields to be included in query results |
sortResults | boolean Whether to sort results based on entity type's sort criteria |
maxSize | integer Maximum number of results to retrieve for the query |
{- "fqlQuery": "string",
- "entityTypeId": "29842682-4fc1-4a12-b775-fa06e71c91e2",
- "fields": [
- "string"
], - "sortResults": true,
- "maxSize": 0
}
{- "queryId": "37140576-be84-1a0e-7546-0912d8320019"
}
Get details of a submitted query, optionally including the results
queryId required | string <uuid> (UUID) UUID of the query |
includeResults | boolean Indicates if query results should be included in the query details response |
offset | integer [ 0 .. 2147483647 ] Default: 0 Skip over a number of elements by specifying an offset value for the query |
limit | integer [ 1 .. 2147483647 ] Default: 100 Limit the number of elements returned in the response |
{- "entityTypeId": "0cb79a4c-f7eb-4941-a104-745224ae0292",
- "fqlQuery": "user_active == true",
- "queryId": "37140576-be84-1a0e-7546-0912d8320019",
- "startDate": "2023-04-04T21:56:08.673+00:00",
- "status": "IN_PROGRESS"
}
Get ids of query results in sorted order
queryId required | string <uuid> (UUID) UUID of the query |
offset | integer [ 0 .. 2147483647 ] Default: 0 Skip over a number of elements by specifying an offset value for the query |
limit | integer [ 1 .. 2147483647 ] Default: 100 Limit the number of elements returned in the response |
[- [
- "string"
]
]
get contents for list of ids
Contents request
entityTypeId required | string <uuid> (UUID) The content row represented as a map. |
fields required | Array of strings Fields to be included in results |
ids required | Array of strings[ items ] Ids to retrieve results for |
localize | boolean Default: false Whether to localize dates in content response |
userId | string <uuid> (UUID) The content row represented as a map. |
{- "entityTypeId": "29842682-4fc1-4a12-b775-fa06e71c91e2",
- "fields": [
- "string"
], - "ids": [
- [
- "string"
]
], - "localize": false,
- "userId": "2c4a230c-5085-4924-a3e1-25fb4fc5965b"
}
[- {
- "property1": { },
- "property2": { }
}
]
get contents for list of ids using a specified user proxy
Contents request
entityTypeId required | string <uuid> (UUID) The content row represented as a map. |
fields required | Array of strings Fields to be included in results |
ids required | Array of strings[ items ] Ids to retrieve results for |
localize | boolean Default: false Whether to localize dates in content response |
userId | string <uuid> (UUID) The content row represented as a map. |
{- "entityTypeId": "29842682-4fc1-4a12-b775-fa06e71c91e2",
- "fields": [
- "string"
], - "ids": [
- [
- "string"
]
], - "localize": false,
- "userId": "2c4a230c-5085-4924-a3e1-25fb4fc5965b"
}
[- {
- "property1": { },
- "property2": { }
}
]