Discussions

Ask a Question
Back to All

jobAllocation getting error on posting via API...

both of the below failed - which required fields (not marked as such in API docs) am I missing?

{
"active" : 1,
"allocation_date" : "2019-06-07 00:00:00",
"job_uuid" : "d305341a-37a5-4b83-94de-f9da442c95db",
"staff_uuid" : "f1f6864c-c20b-420a-9059-3e738a41cfcb"
}

{
"active" : 1,
"allocation_date" : "2019-06-07 00:00:00",
"job_uuid" : "d305341a-37a5-4b83-94de-f9da442c95db",
"staff_uuid" : "f1f6864c-c20b-420a-9059-3e738a41cfcb",
"allocation_by_staff_uuid" : "f1f6864c-c20b-420a-9059-3e738a41cfcb"

}