getOnSiteJobsVendorComplaintById
Get a specific vendor complaint by ID.
Arguments
The ID of the vendor complaint to return.
Returns
OnSiteJobsVendorComplaintTypeA vendor complaint. It may be linked to an on-site jobs request, an appointment, both, or neither.
Examples
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 GetOnSiteJobsVendorComplaintById($vendorComplaintId: UUID) {
getOnSiteJobsVendorComplaintById(vendorComplaintId: $vendorComplaintId) {
appointment {
...OnSiteJobsAppointmentTypeFragment
}
clientFormData
complaint {
...ComplaintTypeFragment
}
createdAt
id
request {
...OnSiteJobsRequestTypeFragment
}
status
updatedAt
}
}
Variables
{
"vendorComplaintId": "49fa22b3-3460-48af-8cdf-2b0ec8c1b82d"
}
Response
{
"data": {
"getOnSiteJobsVendorComplaintById": {
"appointment": OnSiteJobsAppointmentType,
"clientFormData": {"key": "value"},
"complaint": ComplaintType,
"createdAt": "2009-02-08T23:28:07.643378+00:00",
"id": "ddc3f717-519b-44b2-85d6-4883dcbcc2ba",
"request": OnSiteJobsRequestType,
"status": "OPEN",
"updatedAt": "1984-05-23T17:17:08.714920+00:00"
}
}
}