Start Work on Service Appointment
Purpose
To start work on a dispatched service appointment.
Request URL
https://fsm.zoho.com/fsm/v1/Service_Appointments/<record_id>
Request Method
PUT
Scope
scope=ZohoFSM.modules.serviceappointments.UPDATE
Mandatory Parameters
Name | Description | Type |
transition_id | The ID for the transition Start Work that can be obtained from the record using the List Transitions API. | String |
Optional Parameters
To start the timesheet for a specific service resource, and specific service line item, provide the following details in the $Time_Sheets JSON Object.
Name | Data Type | Description |
Service_Resource | String
| The ID of the service resource for whom you want to create the timesheet. The ID can be obtained from the $Service_Resources key in the response of Get a Service Appointment API. |
Service_Appointment (optional) | String | The ID of the appointment |
Start_Date_Time | String | The date and time at which you want to start the appointment |
Service_Line_Items | Array | Include the IDs of the service line items for which you want to create the timesheet. The ID can be obtained from the Service_Line_Item key in the response of Get a Service Appointment API. |
Service_Tasks_Line_Items(optional) | Array | Include the IDs of the service task line items for which you want to create the timesheet. The ID can be obtained from the Service_Task_Line_Item key in the response of Get a Service Appointment API. |
Sample Request
Copied
Sample Input
Copied
Sample Input (with Optional Data)
Copied
Show full
Show less
Sample Response
Copied
Show full
Show less
Sample Error Response
Copied
Show full
Show less