Query
query ListJobs {
listJobs {
count
pageInfo {
hasPreviousPage
hasNextPage
startCursor
endCursor
}
edges {
cursor
node {
id
number
jobTypes
valueCents
currency
laborHours
}
}
}
}Response
{
"data": {
"listJobs": {
"count": 1,
"pageInfo": {
"hasPreviousPage": true,
"hasNextPage": true,
"startCursor": "string",
"endCursor": "string"
},
"edges": [
{
"cursor": "string",
"node": {
"id": "id",
"number": 1,
"jobTypes": [
"string"
],
"valueCents": 1,
"currency": "string",
"laborHours": "value"
}
}
]
}
}
}Queries
listJobs
Jobs for the jobs board, filtered, searched and ordered.
QUERY
listJobs(first: Int, before: String, after: String, last: Int, filters: JobListFilters, search: String, orderBy: [JobListOrder!]): JobConnectionArguments
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
filters
Typed filters; every field is optional.
search
String
Matches contact and company names, the project address, job types, the request's project areas, and job numbers ("42" or "JOB-00042").
orderBy
[JobListOrder!]
Up to two orderings; defaults to the status order.
Returns
count
Int
Total count on all pages
pageInfo
Page information
edges
[JobEdge!]
:job edges
Query
query ListJobs {
listJobs {
count
pageInfo {
hasPreviousPage
hasNextPage
startCursor
endCursor
}
edges {
cursor
node {
id
number
jobTypes
valueCents
currency
laborHours
}
}
}
}Response
{
"data": {
"listJobs": {
"count": 1,
"pageInfo": {
"hasPreviousPage": true,
"hasNextPage": true,
"startCursor": "string",
"endCursor": "string"
},
"edges": [
{
"cursor": "string",
"node": {
"id": "id",
"number": 1,
"jobTypes": [
"string"
],
"valueCents": 1,
"currency": "string",
"laborHours": "value"
}
}
]
}
}
}