Let the platform do the work

job_queue_next

Overview

Retrieves the next job from the job queue and marks it as 'In Progress'.

Available APIs

  • REST

Definition

job_queue_next(session, clientid)

Parameters

Name Type Description
session String Session ID returned by a previous login call.
clientid String The client id calling the application. This parameter is of your choosing for the calling application.

Result

Name Type Description
result Array The call result.
result.results String The next job ID.

Change Log

Version Change
v4 Added job_queue_next method.

Examples

PHP

$job_queue_next_parameters = array(
    //Session id
    'session' => $session_id,

    //The ID of the calling application.
    'clientid' => 'MyAppID',
);

Topics