# Try running these queries # Simple query to fetch regions query fetchRegions { regions { edges { node { UID Name } } } } # Query to fetch all "Queued Jobs" query fetchQueuedJobs($filter: EQLQueryFilterJobs!) { jobs(filter: $filter) { edges { node { Name covid_self_isolate major_fault boiler_approx_age boiler_age Description additional_hours_rationale visit_type last_service hometree_office booking_tool_source labour_adjustment_description labour_adjustment_net_amount } } } } # Sample Create Query. # Ensure the "createInput" variable is appropriately # set for this query to run mutation createJob($createInput: NewJobs!) { schema { insertJobs(input: $createInput) } } # Sample Update Query. # Ensure the "updateInput" variable is appropriately # set for this query to run mutation updateJob($updateInput: UpdateJobs!) { schema { updateJobs(input: $updateInput) } } # Sample Delete Query. # Ensure the "deleteInput" variable is appropriately # set for this query to run mutation deleteJob($deleteInput: ID!) { schema { deleteJobs(UID: $deleteInput) } } { "filter": "Name == \"JOB-0459\"", "createInput": { "Duration": 50, "Description": "Inserted via GraphQL!", "RegionId": "<enter-region-id>" }, "updateInput": { "UID": "<enter-job-id>", "Description": "Updated via GraphQL!" }, "deleteInput": "<enter-job-id>" }
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter