Problem
In order to assign an agent to a Job through REST API we need the job ID, but this information does not seem to be available through RESTs
Solution
Add the Job ID to rest APIs returning Job details:
e.g. <URL>/rest/api/latest/search/jobs/
{PLAN-KEY}