_setArchived

Sets whether the Job Type is archived or not.

Parameters

id

The ID of the Job Type.

val

Decides if the Job Type is archived or not: 0 => No, 1 => Yes

Example

FM_api(
    'JobType_setArchived',[
        'id' => '122041',
        'val' => '0'
    ]
);

Result

On Success

On Failure

If there is no "id" value set or it is less than 1

If there is no "val" variable set

Last updated