Query
query ListCustomerRequests {
listCustomerRequests {
count
pageInfo {
hasPreviousPage
hasNextPage
startCursor
endCursor
}
edges {
cursor
node {
id
publicId
number
descriptionOfWork
summary
leadSourceResponse
}
}
}
}Response
{
"data": {
"listCustomerRequests": {
"count": 1,
"pageInfo": {
"hasPreviousPage": true,
"hasNextPage": true,
"startCursor": "string",
"endCursor": "string"
},
"edges": [
{
"cursor": "string",
"node": {
"id": "id",
"publicId": "string",
"number": 1,
"descriptionOfWork": "string",
"summary": "string",
"leadSourceResponse": "string"
}
}
]
}
}
}Queries
listCustomerRequests
QUERY
listCustomerRequests(first: Int, before: String, after: String, last: Int, contactId: ID, companyId: ID): RequestConnectionArguments
first
Int
The number of records to return from the beginning. Maximum 100
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 100
contactId
ID
companyId
ID
Returns
count
Int
Total count on all pages
pageInfo
Page information
edges
[RequestEdge!]
:request edges
Query
query ListCustomerRequests {
listCustomerRequests {
count
pageInfo {
hasPreviousPage
hasNextPage
startCursor
endCursor
}
edges {
cursor
node {
id
publicId
number
descriptionOfWork
summary
leadSourceResponse
}
}
}
}Response
{
"data": {
"listCustomerRequests": {
"count": 1,
"pageInfo": {
"hasPreviousPage": true,
"hasNextPage": true,
"startCursor": "string",
"endCursor": "string"
},
"edges": [
{
"cursor": "string",
"node": {
"id": "id",
"publicId": "string",
"number": 1,
"descriptionOfWork": "string",
"summary": "string",
"leadSourceResponse": "string"
}
}
]
}
}
}