> For the complete documentation index, see [llms.txt](https://docs.fieldmotion.com/fieldmotion-api-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.fieldmotion.com/fieldmotion-api-docs/jobs/_statusset.md).

# \_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:

```
{"error":"missing or invalid parameter: status"}
```

If the "ids" parameter is not set:

```
{"error":"missing or invalid parameter: ids"}
```

If any of the IDs do not match existing Jobs:

```
{"errors":["Job does not exist: 2","Job does not exist: 3"]}
```

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

```
{"errors":["Job 2 is not yet complete."]}
```

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

```
{"errors":["Job 2 is already complete."]}
```

#### On Success

```
{"errors":[]}
```
