Skip to main content

Edit a Service Appointment

Purpose

To update a service appointment record.

Request URL

https://fsm.zoho.com/fsm/v1/Service_Appointments

Request Method

PUT

Scope

scope=ZohoFSM.modules.ServiceAppointments.UPDATE

Input JSON Parameters

NameDescriptionType
id
(mandatory)
The unique ID of the recordString
Service_Line_ItemsInclude the IDs of the services you want to add to the appointmentArray

Sample Request

Copiedcurl --request PUT 'https://fsm.zoho.com/fsm/v1/Service_Appointments' \
--header 'Authorization: Zoho-oauthtoken 1000.26xxxxxxxxxx.xxxxxxxxxx0' \
--header 'content-type: application/json' \
--data "{"field1":"value1","field2":"value2"}"

Sample Input

Copied{
    "data": [
        {
            "Summary": "AC Installation in Bedroom",
            "Service_Line_Items": [
                {
                    "Service": "1439000000987583"
                },
                {
                    "Service": "1439000000695145"
                }
            ],
            "id": "1439000001168470"
        }
    ]
}

Sample Success Response

Copied{
    "data": [
        {
            "code": "SUCCESS",
            "details": {
                "Modified_Time": "2024-09-04T15:57:50+05:30",
                "Modified_By": {
                    "name": "Mary Cooper",
                    "id": "1439000000161001"
                },
                "Created_Time": "2024-08-26T12:59:58+05:30",
                "id": "1439000001168470",
                "Created_By": {
                    "name": "Mary Cooper",
                    "id": "1439000000161001"
                }
            },
            "message": "record updated",
            "status": "success"
        }
    ]
}

Show full

Show less