Queries
purchaseOrderLines
Retrieves a list of items.
QUERY
purchaseOrderLines(after: String, before: String, distinctOn: [PurchaseOrderLineSortEnum], filters: PurchaseOrderLinesInputFilters, first: Int, last: Int, sort: [PurchaseOrderLineSortEnum]): PurchaseOrderLinesConnectionArguments
after
String
before
String
distinctOn
first
Int
last
Int
Returns
edges
Contains the nodes in this connection.
pageInfo
Pagination data for connection.
Query
query PurchaseOrderLines {
purchaseOrderLines {
edges {
cursor
node {
Attributes {
__typename
}
LastSessionId
_AttributedPartsCount
_AttributedUsersCount
_AttributesCount
_CommentsCount
}
}
pageInfo {
count
endCursor
hasNextPage
hasPreviousPage
startCursor
totalCount
}
}
}Response
{
"data": {
"purchaseOrderLines": {
"edges": [
{
"cursor": "string",
"node": {
"Attributes": [
{
"__typename": "PurchaseOrderLineAttribute"
}
],
"LastSessionId": "string",
"_AttributedPartsCount": 1,
"_AttributedUsersCount": 1,
"_AttributesCount": 1,
"_CommentsCount": 1
}
}
],
"pageInfo": {
"count": 1,
"endCursor": "string",
"hasNextPage": true,
"hasPreviousPage": true,
"startCursor": "string",
"totalCount": 1
}
}
}
}Was this page helpful?
⌘I
Query
query PurchaseOrderLines {
purchaseOrderLines {
edges {
cursor
node {
Attributes {
__typename
}
LastSessionId
_AttributedPartsCount
_AttributedUsersCount
_AttributesCount
_CommentsCount
}
}
pageInfo {
count
endCursor
hasNextPage
hasPreviousPage
startCursor
totalCount
}
}
}Response
{
"data": {
"purchaseOrderLines": {
"edges": [
{
"cursor": "string",
"node": {
"Attributes": [
{
"__typename": "PurchaseOrderLineAttribute"
}
],
"LastSessionId": "string",
"_AttributedPartsCount": 1,
"_AttributedUsersCount": 1,
"_AttributesCount": 1,
"_CommentsCount": 1
}
}
],
"pageInfo": {
"count": 1,
"endCursor": "string",
"hasNextPage": true,
"hasPreviousPage": true,
"startCursor": "string",
"totalCount": 1
}
}
}
}