Add Skills to a Service of a Work Order

Purpose

To add skills to a service of a work order.

Request URL

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

record_id - The unique ID of the record.

Request Method

PUT

Scope

scope=ZohoFSM.modules.WorkOrders.UPDATE

Sample Request

Copiedcurl --request PUT \
'https://fsm.zoho.com/fsm/v1/Work_Orders/4476553000000109157' \
--header 'Authorization: Zoho-oauthtoken 1000.xxxxxxxxxx.xxxxxxxxx51' \
-d "@associateSkill.json"

Sample Input

Copied{
    "data": [
        {
            "Service_Line_Items": [
                {
                    "id": "1011000000222128",
                    "Skill_Line_Items": [
                        {
                            "Skill": "1011000000165266",
                            "Service_Line_Item": "1011000000222128",
                            "Sequence": 1
                        }
                    ]
                }
            ]
        }
    ]
}

Sample Response

Copied{
    "data": [
        {
            "code": "SUCCESS",
            "details": {
                "Modified_Time": "2022-03-08T01:22:00-08:00",
                "Modified_By": {
                    "name": "Daniel Warne",
                    "id": "1011000000139001"
                },
                "Created_Time": "2022-03-07T05:48:55-08:00",
                "id": "1011000000222119",
                "Created_By": {
                    "name": "Daniel Warne",
                    "id": "1011000000139001"
                }
            },
            "message": "record updated",
            "status": "success"
        }
    ]
}