Get the jobs IDS from api