NOTE: User must be logged in as admin to access this API
URL : api/source-list
Method : GET
Query Parameters :
Parameter | Type | Possible Values | Required/Optional | Description |
sort-field | String | name | Optional | Field name to sort |
sort-order | String | asc, desc | Optional | Sorting order either ascending or descending |
search-query | String | Optional | Keyword to be searched in Source 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, "first_page_url": "http://localhost/faveo_sd/faveo-helpdesk-advance/public/api/source-list?page=1", "from": 1, "last_page": 1, "last_page_url": "http://localhost/faveo_sd/faveo-helpdesk-advance/public/api/source-list?page=1", "next_page_url": null, "path": "http://localhost/faveo_sd/faveo-helpdesk-advance/public/api/source-list", "per_page": 10, "prev_page_url": null, "to": 6, "total": 6, "ticketSources": [ { "id": 2, "name": "Email", "value": "EMAIL", "css_class": "fa fa-envelope", "description": "EMAILTES", "location": "", "is_default": 1 }, { "id": 3, "name": "Agent", "value": "Agent Panel", "css_class": "fa fa-user", "description": null, "location": "", "is_default": 1 } ] } }