Queries
partInventories
Retrieves a list of items.
QUERY
partInventories(after: String, before: String, distinctOn: [PartInventorySortEnum], filters: PartInventoriesInputFilters, first: Int, last: Int, sort: [PartInventorySortEnum]): PartInventoriesConnectionArguments
after
String
before
String
distinctOn
filters
first
Int
last
Int
sort
Returns
aggregates
edges
Contains the nodes in this connection.
pageInfo
Pagination data for connection.
Query
query PartInventories {
partInventories {
aggregates {
count
sum {
quantity
quantityAvailable
}
}
edges {
cursor
node {
Attributes {
__typename
}
Cost
LastSessionId
_AbomInstallationsCount
_AttributedPartsCount
_AttributedUsersCount
}
}
pageInfo {
count
endCursor
hasNextPage
hasPreviousPage
startCursor
totalCount
}
}
}Response
{
"data": {
"partInventories": {
"aggregates": {
"count": 1,
"sum": {
"quantity": 1.5,
"quantityAvailable": 1.5
}
},
"edges": [
{
"cursor": "string",
"node": {
"Attributes": [
{
"__typename": "PartInventoryAttribute"
}
],
"Cost": 1.5,
"LastSessionId": "string",
"_AbomInstallationsCount": 1,
"_AttributedPartsCount": 1,
"_AttributedUsersCount": 1
}
}
],
"pageInfo": {
"count": 1,
"endCursor": "string",
"hasNextPage": true,
"hasPreviousPage": true,
"startCursor": "string",
"totalCount": 1
}
}
}
}Was this page helpful?
⌘I
Query
query PartInventories {
partInventories {
aggregates {
count
sum {
quantity
quantityAvailable
}
}
edges {
cursor
node {
Attributes {
__typename
}
Cost
LastSessionId
_AbomInstallationsCount
_AttributedPartsCount
_AttributedUsersCount
}
}
pageInfo {
count
endCursor
hasNextPage
hasPreviousPage
startCursor
totalCount
}
}
}Response
{
"data": {
"partInventories": {
"aggregates": {
"count": 1,
"sum": {
"quantity": 1.5,
"quantityAvailable": 1.5
}
},
"edges": [
{
"cursor": "string",
"node": {
"Attributes": [
{
"__typename": "PartInventoryAttribute"
}
],
"Cost": 1.5,
"LastSessionId": "string",
"_AbomInstallationsCount": 1,
"_AttributedPartsCount": 1,
"_AttributedUsersCount": 1
}
}
],
"pageInfo": {
"count": 1,
"endCursor": "string",
"hasNextPage": true,
"hasPreviousPage": true,
"startCursor": "string",
"totalCount": 1
}
}
}
}