Services/Parts APIs

Services and their affiliated parts are used in estimates, work orders, etc.

List Services/Parts

Purpose

To fetch the list of all available services/parts. The records fetched will be sorted by Created Time in descending order (recent ones first).

Request URL

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

Request Method

GET

Scope

scope=ZohoFSM.modules.Service_And_Parts.READ

Query Parameters

Parameter NameData TypeDescriptionPossible Values
page (optional)IntegerThe page from which you want to fetch the records. The default value is 1.Positive Integer values only
per_page (optional)IntegerThe number of records you want to fetch in a page. The default value is 200.Positive Integer values only

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": "Lilly Rush",
        "id": "2373000000205001",
        "email": "lucy.robins@zylker.com"
      },
      "Modified_Time": "2023-11-20T02:36:58-08:00",
      "Description": null,
      "$currency_symbol": "$",
      "Created_Time": "2023-11-20T02:36:58-08:00",
      "$editable": true,
      "Tax": {
        "Tax_Exemption_Code": null,
        "Tax_Id": null,
        "Tax_Name": null,
        "Tax_Exemption_Id": null,
        "Taxable": true
      },
      "Work_Type": null,
      "ZBilling_Id": null,
      "Unit": null,
      "$permissions": {
        "read": true,
        "edit": true,
        "delete": true
      },
      "Name": "2 Ton 5 Star Split AC",
      "Type": "Goods",
      "Modified_By": {
        "name": "Lilly Rush",
        "id": "2373000000205001",
        "email": "lucy.robins@zylker.com"
      },
      "Layout": {
        "name": "Parts_Fsm_Standard",
        "id": "2373000000149098"
      },
      "$inactive": false,
      "id": "2373000000471022",
      "Created_By": {
        "name": "Lilly Rush",
        "id": "2373000000205001",
        "email": "lucy.robins@zylker.com"
      },
      "SKU": null,
      "Unit_Price": 500
    },
    {
      "Owner": {
        "name": "Lilly Rush",
        "id": "2373000000205001",
        "email": "lucy.robins@zylker.com"
      },
      "Modified_Time": "2023-05-26T01:23:14-07:00",
      "Description": null,
      "$currency_symbol": "$",
      "Created_Time": "2023-05-25T23:26:26-07:00",
      "$editable": true,
      "Tax": {
        "Tax_Exemption_Code": "MEDICINES",
        "Tax_Id": null,
        "Tax_Name": null,
        "Tax_Exemption_Id": "3892563000000095018",
        "Taxable": false
      },
      "Work_Type": null,
      "ZBilling_Id": "3892563000000094015",
      "Unit": "Hours",
      "$permissions": {
        "read": true,
        "edit": true,
        "delete": true
      },
      "Name": "Plumbing",
      "Type": "Service",
      "Modified_By": {
        "name": "Lilly Rush",
        "id": "2373000000205001",
        "email": "lucy.robins@zylker.com"
      },
      "Layout": {
        "name": "Services_Fsm_Standard",
        "id": "2373000000149106"
      },
      "$inactive": false,
      "id": "2373000000254199",
      "Created_By": {
        "name": "Lilly Rush",
        "id": "2373000000205001",
        "email": "lucy.robins@zylker.com"
      },
      "SKU": null,
      "Unit_Price": 30
    }
  ],
  "info": {
    "per_page": 100,
    "count": 2,
    "page": 1,
    "more_records": false
  }
}