_setContractId
Assigns a Contract to an Appointment.
Parameters
id
The ID of the Appointment to assign the Contract to.
contract_id
The ID of the Contract to assign to the Appointment.
Example
Result
On Success
If the Contract ID given is already assigned to the Appointment:
On Failure
If no Appointment ID is provided:
If no Contract ID is provided:
If the Appointment does not exist:
Last updated