# Shortcut
# Shortcut Search
📌 POST
:/common/shortcutsearch
# Request (body)
isforceget
* : Only 0,1 allowed.tasknos
: Only Array, Max 1000.clientnos
: Only Array, Max 1000.tasknos.*
* : Max 10 Characters,only Alpha Numeric.clientnos.*
* : Max 10 Characters, Alpha Numeric.dtfrom dtto
: Date (ISO Format Required).
# Response
// Success
{
"success":true,
"data" : [...],
"msg": "Shortcuts Loaded"
}
// Error
{
"error": [],
"success":false,
"msg":"Check Parameters"
}
# Shortcut Add
📌 POST
:/common/shortcutadd
# Request (body)
linkid
* : Minimum 2 characters & Maximum 10 Characters.linkto
* : Only C,T allowed.link
* : Min 3 and max 255 Characters.linkname
: Max 50 Characters.category pcenter ccenter
: Category name can only contain alphabets, numbers and '-' and '_'.
# Response
// Success
{
"success":true,
"no" : "nextshortcutno" ,
"params" : {....},
"msg": "Shortcut Added"
}
// Error
{
"error": [],
"success":false,
"msg":"Check Parameters"
}
# Shortcut Info
📌 POST
:/common/shortcutinfo
# Request (body)
shortcutinfo
* : Only Numbers.
# Response
// Success
{
"success":true,
"data" : {...},
"msg": "Shortcut Added"
}
// Error
{
"error": [],
"success":false,
"msg":"Check Parameters"
}
# Shortcut Update
📌 POST
:/common/shortcutupdate
# Request (body)
shortcutinfo
* : Only Numbers.link
* : Min 3 and max 255 Characters.linkname
: Max 50 Characters.category pcenter ccenter
:Category name can only contain alphabets, numbers and '-' and '_'.
# Response
// Success
{
"success":true,
"data" : {...} ,
"params" : {...} ,
"msg": "Shortcut Updated"
}
// Error
{
"error": [],
"success":false,
"msg":"Check Parameters"
}
# Shortcut Delete
📌 POST
:/task/shortcutdelete
# Request (body)
shortcutid
* : Only Integers.
Note:
- For deleting a shortcut the user must have
hasadmin
Permission .
# Response
// Success
{
"success":true,
"params" : {...} ,
"msg": "Profile Deleted"
}
// Error
{
"error": [],
"success":false,
"msg":"Check Parameters"
}