Services/Parts APIs

Service tasks and their affiliated products need to be added to a work order.

List Services/Parts

Purpose

To fetch the list of all available services/parts.

Request URL

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

Request Method

GET

Scope

scope=ZohoFSM.modules.Service_And_Parts.READ

Sample Request

Copiedcurl --request GET 'https://fsm.zoho.com/fsm/v1/Service_And_Parts' \
--header 'Authorization: Zoho-oauthtoken 1000.xxxx.xxxxxe'

Sample Response

Copied{
    "data": [
        {
            "Owner": {
                "name": "Emily Raymond",
                "id": "1011000000139301",
                "email": "lucy.robins@zylker.com"
            },
            "Description": null,
            "$currency_symbol": "$",
            "$editable": true,
            "Tax": {
                "Tax_Exemption_Code": null,
                "Tax_Id": "2908070000000135005",
                "Tax_Name": "County tax",
                "Tax_Exemption_Id": null,
                "Taxable": true
            },
            "ZBilling_Id": null,
            "Work_Type": null,
            "Unit": "Each",
            "Name": "Sony Security camera",
            "Type": "Service",
            "Layout": {
                "name": "Services",
                "id": "1011000000114278"
            },
            "id": "1011000000195225",
            "Unit_Price": 2500
        },
        {
            "Owner": {
                "name": "Emily Raymond",
                "id": "1011000000139301",
                "email": "lucy.robins@zylker.com"
            },
            "Description": null,
            "$currency_symbol": "$",
            "$editable": true,
            "Tax": {
                "Tax_Exemption_Code": null,
                "Tax_Id": "2908070000000130005",
                "Tax_Name": "Sales tax",
                "Tax_Exemption_Id": null,
                "Taxable": true
            },
            "ZBilling_Id": null,
            "Work_Type": null,
            "Unit": "Hours",
            "Name": "Security System Installation Service",
            "Type": "Service",
            "Layout": {
                "name": "Services",
                "id": "1011000000114278"
            },
            "id": "1011000000195223",
            "Unit_Price": 450
        }
    ],
    "info": {
        "per_page": 200,
        "count": 2,
        "page": 1,
        "more_records": false
    }
}