Mutations
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.
geoObjectCreate
Creates a new geo object.
geoObjectCreate(
input: GeoObjectCreateInput!
): GeoObjectPayloadArguments
input
GeoObjectCreateInput!
The input fields for creating the geo object.
Input types:
GeoObjectCreateInput
Input for creating a new geo object.
organizationId
ID!
The organization that will own the geo object.
typeId
ID!
The geo object type ID.
title
String!
The geo object display name.
geojsonData
GeoJSON!
The GeoJSON geometry.
CustomFieldsPatchInput
Input for updating custom field values using a patch model.
set
JSON
Fields to set or update as a key-value map.
unset
[Code!]
Field codes to remove.
Output types:
GeoObject (entity)
A geographic object such as a geofence, point of interest, or route.
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.
geojsonData
GeoJSON!
The geographic shape of this object as GeoJSON geometry. This is an alias for the geojson_data custom field.
customFields
JSON!
Custom field values as a key-value map. Keys are CustomFieldDefinition codes.
containsPoints
Checks if the given points are contained within this geo object's geometry. Returns the containment status for each point. Only applicable to Polygon and MultiPolygon geometries.
geoObjectUpdate
Updates an existing geo object.
Arguments
input
GeoObjectUpdateInput!
The input fields for updating the geo object.
Input types:
GeoObjectUpdateInput
Input for updating an existing geo object.
id
ID!
The geo object ID to update.
version
Int!
The current version for optimistic locking.
title
String
The new display name.
geojsonData
GeoJSON
The new geometry.
CustomFieldsPatchInput
Input for updating custom field values using a patch model.
set
JSON
Fields to set or update as a key-value map.
unset
[Code!]
Field codes to remove.
Output types:
GeoObject (entity)
A geographic object such as a geofence, point of interest, or route.
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.
geojsonData
GeoJSON!
The geographic shape of this object as GeoJSON geometry. This is an alias for the geojson_data custom field.
customFields
JSON!
Custom field values as a key-value map. Keys are CustomFieldDefinition codes.
containsPoints
Checks if the given points are contained within this geo object's geometry. Returns the containment status for each point. Only applicable to Polygon and MultiPolygon geometries.
geoObjectDelete
Deletes a geo object.
Arguments
input
GeoObjectDeleteInput!
The input fields for deleting the geo object.
Input types:
GeoObjectDeleteInput
Input for deleting a geo object.
id
ID!
The geo object ID to delete.
version
Int!
The current version for optimistic locking.
Output types:
DeletePayload
The result of a delete mutation.
deletedId
ID!
The ID of the deleted entity.
geoObjectTypeCreate
Creates a new geo object type.
Arguments
input
GeoObjectTypeCreateInput!
The input fields for creating the geo object type.
Input types:
GeoObjectTypeCreateInput
Input for creating a geo object type.
organizationId
ID!
The organization that will own the item.
code
Code!
The machine-readable code.
title
String!
The display name.
order
Int
The display order.
CatalogItemMetaInput
Display properties for catalog items.
description
String
The description.
hidden
Boolean
Whether the item is hidden from regular UI lists.
textColor
HexColorCode
The text color for UI display.
backgroundColor
HexColorCode
The background color for UI display.
icon
String
A relative URL to the icon.
Output types:
GeoObjectType (entity)
A classification type for geographic objects.
Implements: CatalogItem, Node, Versioned, Titled
id
ID!
A globally unique identifier.
version
Int!
The version number for optimistic locking.
title
String!
The human-readable display name. Can be localized.
code
Code!
A machine-readable code, unique within the catalog scope.
order
Int!
The display order within the same level or category.
customFieldDefinitions
Custom field definitions specific to this geo object type, ordered by display order.
geoObjectTypeUpdate
Updates a geo object type.
Arguments
input
GeoObjectTypeUpdateInput!
The input fields for updating the geo object type.
Input types:
GeoObjectTypeUpdateInput
Input for updating a geo object type.
id
ID!
The item ID to update.
version
Int!
The current version for optimistic locking.
title
String
The new display name.
order
Int
The new display order.
CatalogItemMetaInput
Display properties for catalog items.
description
String
The description.
hidden
Boolean
Whether the item is hidden from regular UI lists.
textColor
HexColorCode
The text color for UI display.
backgroundColor
HexColorCode
The background color for UI display.
icon
String
A relative URL to the icon.
Output types:
GeoObjectType (entity)
A classification type for geographic objects.
Implements: CatalogItem, Node, Versioned, Titled
id
ID!
A globally unique identifier.
version
Int!
The version number for optimistic locking.
title
String!
The human-readable display name. Can be localized.
code
Code!
A machine-readable code, unique within the catalog scope.
order
Int!
The display order within the same level or category.
customFieldDefinitions
Custom field definitions specific to this geo object type, ordered by display order.
geoObjectTypeDelete
Deletes a geo object type.
Arguments
input
CatalogItemDeleteInput!
The input fields for deleting the geo object type.
Input types:
CatalogItemDeleteInput
Input for deleting a catalog item.
id
ID!
The catalog item ID to delete.
version
Int!
The current version for optimistic locking.
Output types:
DeletePayload
The result of a delete mutation.
deletedId
ID!
The ID of the deleted entity.
Last updated
Was this helpful?