NOTE: User must be logged in as admin to access this API
URL : api/ticket-types-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 | problem | Optional | Keyword to be searched in Ticket Type list page |
| limit | Integer | 5 | Optional | Number of records to be displayed in each page |
| page | Integer | 2 | Optional | Page number |
Success Response:
{
"success": true,
"data": {
"current_page": 1,
"first_page_url": "http://development.faveo/v3/api/ticket-types-list?page=1",
"from": 1,
"last_page": 1,
"last_page_url": "http://development.faveo/v3/api/ticket-types-list?page=1",
"next_page_url": null,
"path": "http://development.faveo/v3/api/ticket-types-list",
"per_page": 10,
"prev_page_url": null,
"to": 7,
"total": 7,
"ticketTypes": [
{
"id": 1,
"name": "Question",
"type_desc": "Question",
"ispublic": 1,
"created_at": "2021-03-16 04:37:07",
"updated_at": "2021-03-16 04:37:07"
},
{
"id": 2,
"name": "Incident",
"type_desc": "Incident",
"ispublic": 0,
"created_at": "2021-03-16 04:37:07",
"updated_at": "2021-03-16 04:37:07"
}
]
}
}