Skip to content
Contact us

NCApp_ClaimJob()

Function reference

None.

Boolean 4 system Variables are updated

NameValue
RestHeader“ClaimJob”
RestStatusCode200=Ok , 404=NotFound (No data), 401 Unauthorized (cannot login) , 400 Bad Request (Internal error
RestStatusTextThe Error Message
RestBodyThe JSON returned with all job properties: {“success”:true,“error_message”:“Job claimed successfully”,“jobId”:15,“runHistoryId”:14,scheduledDate“2026-08-25 12.05.01”,title“abc”…
  • True if a job was claimed
  • False if no job was available.
  • If no job is queued, success is false and no other fields are set.
  • On a successful claim, the job’s status is updated, a corresponding Run History row is created, and that row is linked to the claimed job — so the run’s progress and results can later be tracked back to the originating job.