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

Mandatory Parameters

id - The unique ID of the record.

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": "8283000000271091"
                }
            ],
            "id": "8283000000271124"
        }
    ]
}

Sample Success Response

Copied{
    "data": [
        {
            "code": "SUCCESS",
            "details": {
                "Modified_Time": "2024-02-11T22:40:11-08:00",
                "Modified_By": {
                    "name": "Robin Ellacott",
                    "id": "8283000000237001"
                },
                "Created_Time": "2024-02-11T22:28:28-08:00",
                "id": "8283000000271124",
                "Created_By": {
                    "name": "Robin Ellacott",
                    "id": "8283000000237001"
                }
            },
            "message": "record updated",
            "status": "success"
        }
    ]
}