Queries
Navixy Repository API is a work in progress. This documentation is published for preview purposes only and doesn't reflect a stable release. Structure, field names, and behaviors are subject to change.
assetTypes
Lists asset types for an organization.
assetTypes(
organizationId: ID!
filter: CatalogItemFilter
first: Int
after: String
last: Int
before: String
orderBy: CatalogItemOrder = { field: ORDER, direction: ASC }
): AssetTypeConnection!Arguments
organizationId
ID!
The organization to retrieve asset types for.
filter
CatalogItemFilter
Filtering options for the returned asset types.
orderBy
CatalogItemOrder
The ordering options for the returned asset types.
Input types:
CatalogItemFilter
Filtering options for catalog items.
titleContains
String
Partial match on title (case-insensitive contains).
codes
[Code!]
Match any of these codes.
Output types:
AssetTypeConnection
PageInfo (entity)
Information about the current page in a paginated connection.
hasNextPage
Boolean!
Whether more items exist after the current page.
hasPreviousPage
Boolean!
Whether more items exist before the current page.
startCursor
String
The cursor pointing to the first item in the current page.
endCursor
String
The cursor pointing to the last item in the current page.
asset
Retrieves an asset by its ID.
Arguments
id
ID!
The ID of the asset to retrieve.
Output types:
Asset
A physical or logical asset being tracked.
Implements: Node, Titled, Customizable, Versioned
id
ID!
A globally unique identifier. This ID is opaque and should not be parsed by clients.
version
Int!
The version number for optimistic locking. Incremented on each update. Must be provided in update/delete mutations to prevent lost updates.
title
String!
The human-readable display name.
customFields
JSON!
Custom field values as a key-value map. Keys are CustomFieldDefinition codes.
device
The primary tracking device linked to this asset. This is an alias for the device custom field.
Organization (entity)
An organization in the hierarchy that owns entities and users.
Implements: Node, Versioned, Titled
id
ID!
A globally unique identifier. This ID is opaque and should not be parsed by clients.
version
Int!
The version number for optimistic locking. Incremented on each update. Must be provided in update/delete mutations to prevent lost updates.
title
String!
The human-readable display name.
externalId
String
An external system identifier for integration purposes.
isActive
Boolean!
Whether this organization is active.
assets
Lists assets for an organization.
Arguments
organizationId
ID!
The organization to retrieve assets for.
filter
AssetFilter
Filtering options for the returned assets.
orderBy
AssetOrder
The ordering options for the returned assets.
Input types:
AssetFilter
Filtering options for assets.
typeIds
[ID!]
Filter by asset types (OR within field).
deviceIds
[ID!]
Filter by linked devices (OR within field).
titleContains
String
Partial match on title (case-insensitive contains).
CustomFieldFilter
A filter condition for a custom field value.
code
Code!
The custom field code to filter by.
value
JSON
The value to compare against. Null for IS_NULL and IS_NOT_NULL operators.
AssetOrder
Ordering options for assets.
customFieldCode
Code
The custom field code to order by. Mutually exclusive with field.
Output types:
AssetConnection
A paginated list of Asset items.
Implements: Connection
PageInfo (entity)
Information about the current page in a paginated connection.
hasNextPage
Boolean!
Whether more items exist after the current page.
hasPreviousPage
Boolean!
Whether more items exist before the current page.
startCursor
String
The cursor pointing to the first item in the current page.
endCursor
String
The cursor pointing to the last item in the current page.
Last updated
Was this helpful?