Queries
location
Retrieves an item by its ID.
QUERY
location(id: ID!): LocationArguments
id
ID!
required
Returns
Attributes
Arguments
LastSessionId
String
_AllChildrenCount
Int
_AllParentsCount
Int
_AttributedPartsCount
Int
Optimized count of attributedParts.
_AttributedUsersCount
Int
Optimized count of attributedUsers.
_AttributesCount
Int
Optimized count of attributes.
_ExpectedPartKitsCount
Int
Optimized count of expectedPartKits.
_LocationsCount
Int
Optimized count of locations.
_PartInventoriesCount
Int
Optimized count of partInventories.
_PartKitsCount
Int
Optimized count of partKits.
_RunStepsCount
Int
Optimized count of runSteps.
_StepsCount
Int
Optimized count of steps.
_UsersCount
Int
Optimized count of users.
_created
DateTime
_etag
String
_updated
DateTime
address
String
allChildren
[Location]
allParents
[Location]
archived
Boolean!
attributedParts
Arguments
attributedUsers
Arguments
attributes
available
Boolean!
canHoldInventory
Boolean!
contact
Arguments
filters
contactId
Int
createdBy
User associated with creating related attribute. Returns: relationship object
Arguments
filters
createdByApiClient
createdById
Int!
User id that created this object. Returns: int of user_id
description
String
entity
entityId
Int!
excludeFromMergePartInventory
Boolean
Exclude the location from inventory merge (V2 merge only).
expectedPartKits
[PartKit]
Arguments
filters
id
Int!
image
Arguments
filters
imageId
Int
lastUpdatedByApiClient
latitude
Float
locationSubtype
Arguments
filters
locationSubtypeId
Int
locations
[Location]
longitude
Float
name
String!
parent
parentId
Int
parentName
String
partInventories
Arguments
filters
partKits
[PartKit]
Arguments
filters
pickSequence
Int
pickable
Boolean!
prettyStr
String
runSteps
[RunStep]
Arguments
filters
steps
[Step]
Arguments
filters
supervisor
Arguments
filters
supervisorId
Int
type
updatedBy
User associated with updating related attribute. Returns: relationship object
Arguments
filters
updatedById
Int!
User id that updated this object. Returns: int of user_id
users
[User]
Arguments
filters
Query
query Location($id: ID!) {
location(id: $id) {
Attributes {
Created
Etag
LastSessionId
Updated
_IonValueCount
_ValueCount
}
LastSessionId
_AllChildrenCount
_AllParentsCount
_AttributedPartsCount
_AttributedUsersCount
}
}Variables
{
"id": "id"
}Response
{
"data": {
"location": {
"Attributes": [
{
"Created": "value",
"Etag": "string",
"LastSessionId": "string",
"Updated": "value",
"_IonValueCount": 1,
"_ValueCount": 1
}
],
"LastSessionId": "string",
"_AllChildrenCount": 1,
"_AllParentsCount": 1,
"_AttributedPartsCount": 1,
"_AttributedUsersCount": 1
}
}
}Was this page helpful?
⌘I
Query
query Location($id: ID!) {
location(id: $id) {
Attributes {
Created
Etag
LastSessionId
Updated
_IonValueCount
_ValueCount
}
LastSessionId
_AllChildrenCount
_AllParentsCount
_AttributedPartsCount
_AttributedUsersCount
}
}Variables
{
"id": "id"
}Response
{
"data": {
"location": {
"Attributes": [
{
"Created": "value",
"Etag": "string",
"LastSessionId": "string",
"Updated": "value",
"_IonValueCount": 1,
"_ValueCount": 1
}
],
"LastSessionId": "string",
"_AllChildrenCount": 1,
"_AllParentsCount": 1,
"_AttributedPartsCount": 1,
"_AttributedUsersCount": 1
}
}
}