Queries
partInventoryHistory
QUERY
partInventoryHistory(after: String, before: String, filters: PartInventoryHistoryInputFilters, first: Int, last: Int, subjectId: Int!): PartInventoryHistoryConnectionArguments
after
String
before
String
first
Int
last
Int
subjectId
Int!
required
edges
Contains the nodes in this connection.
pageInfo
Pagination data for connection.
Query
query PartInventoryHistory($subjectId: Int!) {
partInventoryHistory(subjectId: $subjectId) {
edges {
cursor
node {
actions {
__typename
}
id
subjectId
transactionId
tstamp
user {
__typename
}
}
}
pageInfo {
count
endCursor
hasNextPage
hasPreviousPage
startCursor
totalCount
}
}
}Variables
{
"subjectId": 1
}Response
{
"data": {
"partInventoryHistory": {
"edges": [
{
"cursor": "string",
"node": {
"actions": [
{
"__typename": "PartInventoryHistoryAction"
}
],
"id": "id",
"subjectId": 1,
"transactionId": 1,
"tstamp": "value",
"user": {
"__typename": "User"
}
}
}
],
"pageInfo": {
"count": 1,
"endCursor": "string",
"hasNextPage": true,
"hasPreviousPage": true,
"startCursor": "string",
"totalCount": 1
}
}
}
}Was this page helpful?
⌘I
Query
query PartInventoryHistory($subjectId: Int!) {
partInventoryHistory(subjectId: $subjectId) {
edges {
cursor
node {
actions {
__typename
}
id
subjectId
transactionId
tstamp
user {
__typename
}
}
}
pageInfo {
count
endCursor
hasNextPage
hasPreviousPage
startCursor
totalCount
}
}
}Variables
{
"subjectId": 1
}Response
{
"data": {
"partInventoryHistory": {
"edges": [
{
"cursor": "string",
"node": {
"actions": [
{
"__typename": "PartInventoryHistoryAction"
}
],
"id": "id",
"subjectId": 1,
"transactionId": 1,
"tstamp": "value",
"user": {
"__typename": "User"
}
}
}
],
"pageInfo": {
"count": 1,
"endCursor": "string",
"hasNextPage": true,
"hasPreviousPage": true,
"startCursor": "string",
"totalCount": 1
}
}
}
}