GET v1/Shops/{shopId}/Tickets?fromDateChanged={fromDateChanged}&untilDateChanged={untilDateChanged}&mainStatusId={mainStatusId}&mainStatusBaseStatusId={mainStatusBaseStatusId}&pageSize={pageSize}&pageNumber={pageNumber}
Get a list with all Tickets, for given shop.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| shopId |
The id of the shop. |
integer |
Required. |
| fromDateChanged |
Optionally specify a from date for changed tickets. |
date |
Is Optional. Default value is (null). |
| untilDateChanged |
Optionally specify a until date for changed tickets. |
date |
Is Optional. Default value is (null). |
| mainStatusId |
Optionally specify a status Id to filter on. |
integer |
Is Optional. Default value is (null). |
| mainStatusBaseStatusId |
Optionally specify a base status Id to filter on. |
integer |
Is Optional. Default value is (null). |
| pageSize |
The max number of items returned. Default this value is 100. |
integer |
Is Optional. Default value is 100. |
| pageNumber |
The page to return. Default page 1 will be returned. |
integer |
Is Optional. Default value is 1. |
Body Parameters
None.
Response Information
Resource Description
A list of the TicketBasicInfo objects.
Collection of TicketBase| Name | Description | Type | Additional information |
|---|---|---|---|
| Id |
The Id of the Ticket. |
integer |
Required |
| TicketCode |
The Code of the Ticket. |
integer |
Required |
| Title |
The Title of the Ticket. |
string |
Max length: 100 |
| OpenDate |
The Open Date of the Ticket. |
date |
Required |
| CloseDate |
The Close Date of the Ticket. |
date |
None. |
| ChangedTimestamp |
The Last Changed Timestamp of the Ticket. |
date |
None. |
| MainStatusId |
The MainStatus Id of the Ticket. |
integer |
None. |
| MainStatusName |
The Mainstatus Name of the Ticket. |
string |
None. |
| PreviousMainStatusId |
The Previous MainStatus Id of the Ticket. |
integer |
None. |
| PreviousMainStatusName |
The Previous Mainstatus Name of the Ticket. |
string |
None. |
| ServiceContractId |
The ServiceContract that the Ticket is assigned to. |
integer |
None. |
Response Formats
application/json, text/json
[
{
"Id": 1,
"TicketCode": 2,
"Title": "sample string 3",
"OpenDate": "2026-01-11T16:16:27.6623216+01:00",
"CloseDate": "2026-01-11T16:16:27.6623216+01:00",
"ChangedTimestamp": "2026-01-11T16:16:27.6623216+01:00",
"MainStatusId": 1,
"MainStatusName": "sample string 5",
"PreviousMainStatusId": 1,
"PreviousMainStatusName": "sample string 6",
"ServiceContractId": 1
},
{
"Id": 1,
"TicketCode": 2,
"Title": "sample string 3",
"OpenDate": "2026-01-11T16:16:27.6623216+01:00",
"CloseDate": "2026-01-11T16:16:27.6623216+01:00",
"ChangedTimestamp": "2026-01-11T16:16:27.6623216+01:00",
"MainStatusId": 1,
"MainStatusName": "sample string 5",
"PreviousMainStatusId": 1,
"PreviousMainStatusName": "sample string 6",
"ServiceContractId": 1
}
]
application/xml, text/xml
<ArrayOfTicketBase xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<TicketBase>
<Id>1</Id>
<TicketCode>2</TicketCode>
<Title>sample string 3</Title>
<OpenDate>2026-01-11T16:16:27.6623216+01:00</OpenDate>
<CloseDate>2026-01-11T16:16:27.6623216+01:00</CloseDate>
<ChangedTimestamp>2026-01-11T16:16:27.6623216+01:00</ChangedTimestamp>
<MainStatusId>1</MainStatusId>
<MainStatusName>sample string 5</MainStatusName>
<PreviousMainStatusId>1</PreviousMainStatusId>
<PreviousMainStatusName>sample string 6</PreviousMainStatusName>
<ServiceContractId>1</ServiceContractId>
</TicketBase>
<TicketBase>
<Id>1</Id>
<TicketCode>2</TicketCode>
<Title>sample string 3</Title>
<OpenDate>2026-01-11T16:16:27.6623216+01:00</OpenDate>
<CloseDate>2026-01-11T16:16:27.6623216+01:00</CloseDate>
<ChangedTimestamp>2026-01-11T16:16:27.6623216+01:00</ChangedTimestamp>
<MainStatusId>1</MainStatusId>
<MainStatusName>sample string 5</MainStatusName>
<PreviousMainStatusId>1</PreviousMainStatusId>
<PreviousMainStatusName>sample string 6</PreviousMainStatusName>
<ServiceContractId>1</ServiceContractId>
</TicketBase>
</ArrayOfTicketBase>