Add Parts to a Service of an Estimate

Purpose

To add parts to a service of an existing estimate.

Request URL

https://fsm.zoho.com/fsm/v1/Estimates/<record_id>

record_id - The unique ID of the record.

Request Method

PUT

Scope

scope=ZohoFSM.modules.Estimates.UPDATE

Sample Request

Copiedcurl --request PUT \
'https://fsm.zoho.com/fsm/v1/Estimates/4476553000000110073' \
--header 'Authorization: Zoho-oauthtoken 1000.xxxxxxxx.xxxxxx4a' \
-d "@assciatingPartToServiceofWO.json"

Sample Input

Copied{
    "data": [
        {
            "Service_Line_Items": [
                {
                    "Service": "1011000000155001",
                    "Description": null,
                    "Quantity": 1,
                    "Unit": "Hours",
                    "List_Price": 50,
                    "Amount": 50,
                    "Discount": 0,
                    "Sequence": 3,
                    "Tax": {
                        "Tax_Name": "IllinoisTax",
                        "Tax_Exemption_Code": null,
                        "Tax_Id": "2908070000000091001",
                        "Tax_Percentage": 6.25,
                        "Tax_Exemption_Id": null
                    },
                    "Line_Item_Amount": 53.13,
                    "Discount_Type": "Currency",
                    "id": "1011000000222399",
                    "Skill_Line_Items": [],
                    "Part_Line_Items": [
                        {
                            "Part": "1011000000155009",
                            "Description": null,
                            "Service_Line_Item": "1011000000222399",
                            "Quantity": 1,
                            "Unit": "Pack",
                            "List_Price": 75.25,
                            "Amount": 75.25,
                            "Discount": 0,
                            "Sequence": 3,
                            "Tax": {
                                "Tax_Name": "IllinoisTax",
                                "Tax_Exemption_Code": null,
                                "Tax_Id": "2908070000000091001",
                                "Tax_Percentage": 6.25,
                                "Tax_Exemption_Id": null
                            },
                            "Line_Item_Amount": 79.95,
                            "Discount_Type": "Currency"
                        }
                    ]
                }
            ]
        }
    ]
}

Sample Response

Copied{
    "data": [
        {
            "code": "SUCCESS",
            "details": {
                "Modified_Time": "2022-03-07T23:21:25-08:00",
                "Modified_By": {
                    "name": "Daniel Warne",
                    "id": "1011000000139001"
                },
                "Created_Time": "2022-03-07T05:27:32-08:00",
                "id": "1011000000220961",
                "Created_By": {
                    "name": "Daniel Warne",
                    "id": "1011000000139001"
                }
            },
            "message": "record updated",
            "status": "success"
        }
    ]
}