_statusSet

Sets the status of Jobs from Complete to Processed

Parameters

ids

The IDs of the Jobs.

status

The status of the Jobs, this is required to be 2 for complete.

status_ind

Optional parameter with more detail on the Job status, can be: "completed-processed" or "incomplete-completed"

Example

FM_api('Jobs_statusSet', [
    'ids'=>[
        '1',
        '2',
        '3'
    ],
    'status' => '2'
]);

Results

On Failure

If the "status" parameter is not set:

If the "ids" parameter is not set:

If any of the IDs do not match existing Jobs:

If "status_ind" is set to 'completed_processed' and "status" higher than 1, but a Job does not have it's meeting completed:

If "status_ind" is set to 'incomplete-completed' and there are Jobs which already have completed meetings.

On Success

Last updated