getOnSiteJobsRequestById
Get a specific request by ID.
Arguments
The ID of the request to return.
Possible Errors
Allowed Viewers
Query Complexity
1Examples
The example data in the variables and responses below are autogenerated values designed to resemble real inputs. They do not represent actual customer data, and in some cases may require additional validation.
query GetOnSiteJobsRequestById($requestId: UUID) {
getOnSiteJobsRequestById(requestId: $requestId) {
account
agent
appointments {
...OnSiteJobsAppointmentConnectionTypeConnectionFragment
}
assets {
...OnSiteJobsAssetConnectionTypeConnectionFragment
}
comment
createdBy
externalReference
id
isEmergency
marketSupplyPoints {
...SupplyPointConnectionTypeConnectionFragment
}
overallActionsStatus
property {
...PropertyTypeFragment
}
reason
requestActions {
...OnSiteJobsRequestActionConnectionTypeConnectionFragment
}
status
subReason
}
}
Variables
{
"requestId": "bb798e9b-a03a-4915-9291-f006309d57ed"
}
Response
{
"data": {
"getOnSiteJobsRequestById": {
"account": "close-win-kitchen-tree-rock",
"agent": "paper-energy-money-catch-catch",
"appointments": OnSiteJobsAppointmentConnectionTypeConnection,
"assets": OnSiteJobsAssetConnectionTypeConnection,
"comment": "resource-guess-seem-drive-responsibility",
"createdBy": 92,
"externalReference": "race-attention-direction-focus-up",
"id": "0e2af641-0b83-4a50-afcf-9616f48fe7d3",
"isEmergency": true,
"marketSupplyPoints": SupplyPointConnectionTypeConnection,
"overallActionsStatus": "PENDING",
"property": PropertyType,
"reason": "special-age-sell-raise-manager",
"requestActions": OnSiteJobsRequestActionConnectionTypeConnection,
"status": "APPOINTMENT_FAILED",
"subReason": "more-rich-thought-kind-production"
}
}
}