Query
query ListJobColors($jobId: ID!) {
listJobColors(jobId: $jobId) {
count
pageInfo {
hasPreviousPage
hasNextPage
startCursor
endCursor
}
edges {
cursor
node {
id
position
area
substrate
name
product
}
}
}
}Variables
{
"jobId": "id"
}Response
{
"data": {
"listJobColors": {
"count": 1,
"pageInfo": {
"hasPreviousPage": true,
"hasNextPage": true,
"startCursor": "string",
"endCursor": "string"
},
"edges": [
{
"cursor": "string",
"node": {
"id": "id",
"position": 1,
"area": "string",
"substrate": "string",
"name": "string",
"product": "string"
}
}
]
}
}
}Queries
listJobColors
QUERY
listJobColors(first: Int, before: String, after: String, last: Int, jobId: ID!, search: String, filters: JobColorFilters, orderBy: [String!]): JobColorConnectionArguments
first
Int
The number of records to return from the beginning. Maximum 500
before
String
Show records before the specified keyset.
after
String
Show records after the specified keyset.
last
Int
The number of records to return to the end. Maximum 500
jobId
ID!
required
search
String
filters
orderBy
[String!]
Returns
count
Int
Total count on all pages
pageInfo
Page information
edges
[JobColorEdge!]
:job_color edges
Query
query ListJobColors($jobId: ID!) {
listJobColors(jobId: $jobId) {
count
pageInfo {
hasPreviousPage
hasNextPage
startCursor
endCursor
}
edges {
cursor
node {
id
position
area
substrate
name
product
}
}
}
}Variables
{
"jobId": "id"
}Response
{
"data": {
"listJobColors": {
"count": 1,
"pageInfo": {
"hasPreviousPage": true,
"hasNextPage": true,
"startCursor": "string",
"endCursor": "string"
},
"edges": [
{
"cursor": "string",
"node": {
"id": "id",
"position": 1,
"area": "string",
"substrate": "string",
"name": "string",
"product": "string"
}
}
]
}
}
}