FieldEx Developer
developer notes

Get All Ticket

The TicketGetAll API allows you to retrieve all existing Tickets.

Method Endpoint
GET {{endpoint}}/api/ext/tickets

Headers

Key Value
Content-Type application/json
Authorization Bearer{{token}}

Filter Fields

Parameter Type Example Length Required Description
page Number 1 Yes Page number for pagination
perPage Number 10 Yes Number of items per page
startFrom Number 1 Yes Start index for pagination
columnName String id Yes Name of the column for sorting
sortOrder String desc Yes Sort order (asc/desc)
search String test Yes Specifies the search query
customerId Number 1 No Customer ID for filtering
ticketStatusIds Number 9 No Ticket Status IDs for filtering
startDateTime Date/Time 2023-10-14 No Start Date for Filtering
endDateTime Date/Time 2023-10-14 No End Date for Filtering

API Query Example

Method API Call
GET api/ext/tickets?
page=0&perPage=25&startFrom=1&search=000075&
columnName=ticketStatus&sortOrder=asc&customerId=
1&ticketStatusIds=1&startDateTime=2023-10-
14&endDateTime=2023-10-14

Example Response

// 500 Response Code
{
    "type": "http://www.jhipster.tech/problem/problem-with-message",
    "title": "Internal Server Error",
    "status": 500,
    "path": "/custella-0.0.1-SNAPSHOT/api/ext/tickets",
    "message": "error.http.500"
}