Discussions

Ask a Question
Back to All

Adding Job to Queue via API not working

Set a job allocation in ServiceM8 and it appears in the queue, but then did a second job allocation via API with same parameter values (except job_uuid, of course) and that job does not appear in the queue. Suggestions?

edit_date: "2020-07-26 21:04:03",
active: 1,
job_uuid: "34a6e5c6-6679-4ed2-a787-1be64e561acb",
queue_uuid: "4eb82481-d10f-4b92-ae6a-323e4603846b",
staff_uuid: "",
allocation_window_uuid: "ff0bb824-3da9-4104-b171-b7e4f28c85eb",
allocated_by_staff_uuid: "7f748af3-a932-49e8-b8ac-8ed04ea5b54b",
allocated_timestamp: "2020-07-26 21:04:03",
expiry_timestamp: "2020-08-01 00:00:00",
read_timestamp: "0000-00-00 00:00:00",
completion_timestamp: "0000-00-00 00:00:00",
estimated_duration: "0",
revised_duration: "0",
sort_priority: "0",
requires_acceptance: "0",
acceptance_status: "0",
acceptance_timestamp: "0000-00-00 00:00:00",
allocation_date: "2020-07-24 00:00:00",
uuid: "acb5ce71-7f83-4917-bd05-1beb6dee164b"