Assigns a Contract to a Job.
The ID of the Job to assign the Contract to.
The ID of the Contract to assign to the Job.
FM_api('Job_setContractId', ['id' => '123', 'contract_id' => '234']);
{'ok':1}
If the Contract ID given is already assigned to the Job:
{'ok':1,'warning':'value already set'}
If no Job ID is provided:
If no Contract ID is provided:
If the Job does not exist:
Last updated 4 months ago
{'error':'no ID supplied'}
{'error':'no contract_id supplied'}
{'error':'appointment does not exist'}