Query
query ListRequests {
listRequests {
count
pageInfo {
hasPreviousPage
hasNextPage
startCursor
endCursor
}
edges {
cursor
node {
id
number
source
acknowledgedAt
status
contact {
__typename
}
}
}
}
}Response
{
"data": {
"listRequests": {
"count": 1,
"pageInfo": {
"hasPreviousPage": true,
"hasNextPage": true,
"startCursor": "string",
"endCursor": "string"
},
"edges": [
{
"cursor": "string",
"node": {
"id": "id",
"number": 1,
"source": "string",
"acknowledgedAt": "value",
"status": "string",
"contact": {
"__typename": "Contact"
}
}
}
]
}
}
}Queries
listRequests
Requests staff work on, filtered, searched and ordered for the request lists.
QUERY
listRequests(first: Int, before: String, after: String, last: Int, filters: RequestListFilters, search: String, orderBy: [RequestListOrder!]): RequestConnectionArguments
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 names and email, custom field answers, and request numbers.
orderBy
Up to two orderings; defaults to the most recently received first.
Returns
count
Int
Total count on all pages
pageInfo
Page information
edges
[RequestEdge!]
:request edges
Query
query ListRequests {
listRequests {
count
pageInfo {
hasPreviousPage
hasNextPage
startCursor
endCursor
}
edges {
cursor
node {
id
number
source
acknowledgedAt
status
contact {
__typename
}
}
}
}
}Response
{
"data": {
"listRequests": {
"count": 1,
"pageInfo": {
"hasPreviousPage": true,
"hasNextPage": true,
"startCursor": "string",
"endCursor": "string"
},
"edges": [
{
"cursor": "string",
"node": {
"id": "id",
"number": 1,
"source": "string",
"acknowledgedAt": "value",
"status": "string",
"contact": {
"__typename": "Contact"
}
}
}
]
}
}
}