NOTE: User must me logged in as admin to access this API
URL : service-desk/api/cab
Method : GET
Query Parameters :
Parameter | Type | Possible Values | Required/Optional | Description |
sort | String | name | Optional | Field name to sort |
order | String | asc, desc | Optional | Sorting order either ascending or descending |
search | String | Optional | Keyword to be searched in CAB list page | |
limit | Integer | Optional | Number of records to be displayed in each page | |
page | Integer | Optional | Page number |
Success Response:
{ "success":true, "data":{ "current_page":1, "data":[ { "id":2, "name":"Admin Approval", "user_id":1, "created_at":"2019-07-08 12:39:01", "updated_at":"2019-07-10 13:02:30", "action_on_approve":1, "action_on_deny":3, "type":"Cab" }, { "id":1, "name":"Agent Approval", "user_id":1, "created_at":"2019-07-08 12:29:42", "updated_at":"2019-07-10 13:03:22", "action_on_approve":1, "action_on_deny":3, "type":"Cab" } ], "first_page_url":"https://faveo.service.desk/service-desk/api/cab?page=1", "from":1, "last_page":1, "last_page_url":"https://faveo.service.desk/service-desk/api/cab?page=1", "next_page_url":null, "path":"https://faveo.service.desk/service-desk/api/cab", "per_page":"10", "prev_page_url":null, "to":2, "total":2 } }