Edit a Service/Part
Purpose
To update a service/part record.
Request URL
https://fsm.zoho.com/fsm/v1/Service_And_Parts/<record_id>
record_id - The unique ID of the record.
Request Method
PUT
Scope
scope=ZohoFSM.modules.Service_And_Parts.UPDATE
Sample Request
Copiedcurl --location --request PUT 'https://fsm.zoho.com/fsm/v1/Service_And_Parts/4476553000000110242' \
--header 'Authorization: Zoho-oauthtoken 1000.26xxxxxxxxxx.xxxxxxxxxx0' \
--header 'content-type: application/json' \
--data "@updateService.json"
Sample Input
Copied{
"data": [
{
"Unit_Price": 60,
"Service_Tasks": [
{
"Name": "Painting",
"Description": null,
"Duration": 180
}
]
}
]
}
Sample Response
Copied{
"data": [
{
"code": "SUCCESS",
"details": {
"Modified_Time": "2021-11-02T14:52:32-07:00",
"Modified_By": {
"name": "Tracy Pollan",
"id": "865000000070001"
},
"Created_Time": "2021-11-02T14:47:30-07:00",
"id": "865000000118181",
"Created_By": {
"name": "Tracy Pollan",
"id": "865000000070001"
}
},
"message": "record updated",
"status": "success"
}
]
}