Queries
parts
Retrieves a list of items.
QUERY
parts(after: String, before: String, distinctOn: [PartSortEnum], filters: PartsInputFilters, first: Int, last: Int, sort: [PartSortEnum]): PartsConnectionArguments
after
String
before
String
distinctOn
filters
first
Int
last
Int
sort
Returns
edges
[PartsEdge]!
Contains the nodes in this connection.
pageInfo
Pagination data for connection.
Query
query Parts {
parts {
edges {
cursor
node {
Attributes {
__typename
}
LastSessionId
LatestRevisionScheme
MbomItemSubstitutes {
__typename
}
MbomItems {
__typename
}
SubstituteMbom
}
}
pageInfo {
count
endCursor
hasNextPage
hasPreviousPage
startCursor
totalCount
}
}
}Response
{
"data": {
"parts": {
"edges": [
{
"cursor": "string",
"node": {
"Attributes": [
{
"__typename": "PartAttribute"
}
],
"LastSessionId": "string",
"LatestRevisionScheme": "string",
"MbomItemSubstitutes": [
{
"__typename": "MBomSubstitute"
}
],
"MbomItems": [
{
"__typename": "MBomItem"
}
],
"SubstituteMbom": "string"
}
}
],
"pageInfo": {
"count": 1,
"endCursor": "string",
"hasNextPage": true,
"hasPreviousPage": true,
"startCursor": "string",
"totalCount": 1
}
}
}
}Was this page helpful?
⌘I
Query
query Parts {
parts {
edges {
cursor
node {
Attributes {
__typename
}
LastSessionId
LatestRevisionScheme
MbomItemSubstitutes {
__typename
}
MbomItems {
__typename
}
SubstituteMbom
}
}
pageInfo {
count
endCursor
hasNextPage
hasPreviousPage
startCursor
totalCount
}
}
}Response
{
"data": {
"parts": {
"edges": [
{
"cursor": "string",
"node": {
"Attributes": [
{
"__typename": "PartAttribute"
}
],
"LastSessionId": "string",
"LatestRevisionScheme": "string",
"MbomItemSubstitutes": [
{
"__typename": "MBomSubstitute"
}
],
"MbomItems": [
{
"__typename": "MBomItem"
}
],
"SubstituteMbom": "string"
}
}
],
"pageInfo": {
"count": 1,
"endCursor": "string",
"hasNextPage": true,
"hasPreviousPage": true,
"startCursor": "string",
"totalCount": 1
}
}
}
}