Category 🎨

Get Category

📌 POST:/get/getcategory

Request (body)

  • cattype* :

Response

// Success
{
  "success":true,
  "params" : {..} ,
  "msg": "Category Loaded"
}
// Error
{
  "error": [],
  "success":false,
  "msg":"Check Parameters"
}

Category List

📌 POST:/task/categorylist

Response

// Success
{
  "success":true,
  "params" : {..} ,
  "msg": "Category Loaded"
}
// Error
{
  "error": [],
  "success":false,
  "msg":"Check Parameters"
}

Category Add

📌 POST:/get/categoryadd

Request (body)

  • cattype* :
  • catname* : Category name can only contain alphabets, numbers and '-' and '_'
  • catdescp : Maximum 200 Characters.

Note :

  1. For updating a category the user must have hasadmin Permission.

Response

// Success
{
  "success":true,
  "params" : {..} ,
  "msg": "Category Added"
}
// Error
{
  "error": [],
  "success":false,
  "msg":"Check Parameters"
}

Category Update

📌 POST:/get/categoryupdate

Request (body)

  • categoryid* : Only Numeric
  • catdescp : Maximum 200 Characters.

Note :

  1. For updating a category the user must have hasadmin Permission.

Response

// Success
{
  "success":true,
  "params" : {..} ,
  "msg": "Category Updated"
}
// Error
{
  "error": [],
  "success":false,
  "msg":"Check Parameters"
}

Category Delete

📌 POST:/get/categorydelete

Request (body)

  • categoryid* : Only Numeric

Note :

  1. For Deleting a category the user must have hasadmin Permission.

Response

// Success
{
  "success":true,
  "params" : {..} ,
  "msg": "Category Deleted"
}
// Error
{
  "error": [],
  "success":false,
  "msg":"Check Parameters"
}
Last Updated: