Skip to main content
Skip table of contents

Sub-Category

This resource allows you to fetch the product sub- categories list details by GET method.

You can search for any existing sub-category using filters as defined here.

Pagination is supported for this resource. Click here to see the details of it.

You can retrieve the following information through this method.

  • Sub-Category ID

  • Sub-Category Description

  • Category ID

  • Category Description

GET

End Point: /subcategories

Sample response payload

CODE
[
  {
   "subcategoryid": "string",
   "subcategorydescription": "string",
   "categoryid": "string",
   "categorydescription": "string"
  }
]

GET By ID

End Point: /subcategories/{ID}

Sample response payload

CODE
{
 "recordid": "string",
 "subcategoryid": "string",
 "subcategorydescription": "string",
 "categoryid": "string",
 "availgroupid": "string",
 "exchangegroupid": "string",
 "commissiongroupid": "string",
 "metergroupid": "string",
 "reportgroupid": "string",
 "departmentgroupid": "string",
 "attributegroupid": "string",
 "taxgroupid": "string",
 "maintenancegroupid": "string",
 "pricinggroupid": "string",
 "depreciationgroupid": "string",
 "rentglaccountid": "string",
 "salesglaccountid": "string",
 "subrentglaccountid": "string",
 "discountglaccountid": "string",
 "expensesaccountglaccountid": "string",
 "cogsglaccountid": "string",
 "depreciationglaccountid": "string",
 "inventoryglaccountid": "string",
 "accumulateddepreciationglaccountid": "string",
 "writeoffglaccountid": "string",
 "canrent": true,
 "cansell": true,
 "cansubrent": true,
 "checkavail": true,
 "isdepreciable": true,
 "maintainstatistics": true,
 "allowconsumable": true,
 "allowdamagewaiver": true,
 "discountpercent": 0
}

POST

End Point: /subcategories

Sample request payload

CODE
{
 "recordid": "string",
 "subcategoryid": "string",
 "subcategorydescription": "string",
 "categoryid": "string",
 "availgroupid": "string",
 "exchangegroupid": "string",
 "commissiongroupid": "string",
 "metergroupid": "string",
 "reportgroupid": "string",
 "departmentgroupid": "string",
 "attributegroupid": "string",
 "taxgroupid": "string",
 "maintenancegroupid": "string",
 "pricinggroupid": "string",
 "depreciationgroupid": "string",
 "rentglaccountid": "string",
 "salesglaccountid": "string",
 "subrentglaccountid": "string",
 "discountglaccountid": "string",
 "expensesaccountglaccountid": "string",
 "cogsglaccountid": "string",
 "depreciationglaccountid": "string",
 "inventoryglaccountid": "string",
 "accumulateddepreciationglaccountid": "string",
 "writeoffglaccountid": "string",
 "canrent": true,
 "cansell": true,
 "cansubrent": true,
 "checkavail": true,
 "isdepreciable": true,
 "maintainstatistics": true,
 "allowconsumable": true,
 "allowdamagewaiver": true,
 "discountpercent": 0
}

Sample response payload

CODE
{
 "recordid":"string"
}

 

PUT

End Point: /subcategories/{ID}

Sample request payload

CODE
{
 "recordid": "string",
 "subcategoryid": "string",
 "subcategorydescription": "string",
 "categoryid": "string",
 "availgroupid": "string",
 "exchangegroupid": "string",
 "commissiongroupid": "string",
 "metergroupid": "string",
 "reportgroupid": "string",
 "departmentgroupid": "string",
 "attributegroupid": "string",
 "taxgroupid": "string",
 "maintenancegroupid": "string",
 "pricinggroupid": "string",
 "depreciationgroupid": "string",
 "rentglaccountid": "string",
 "salesglaccountid": "string",
 "subrentglaccountid": "string",
 "discountglaccountid": "string",
 "expensesaccountglaccountid": "string",
 "cogsglaccountid": "string",
 "depreciationglaccountid": "string",
 "inventoryglaccountid": "string",
 "accumulateddepreciationglaccountid": "string",
 "writeoffglaccountid": "string",
 "canrent": true,
 "cansell": true,
 "cansubrent": true,
 "checkavail": true,
 "isdepreciable": true,
 "maintainstatistics": true,
 "allowconsumable": true,
 "allowdamagewaiver": true,
 "discountpercent": 0
}

 

Sample response payload

CODE
{
 "recordid":"string"
}

 

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.