GET v1/Shops/{shopId}/Tickets

Get a list with all Tickets, for given shop.

Request Information

Requires Authorization!

URI Parameters

NameDescriptionTypeAdditional 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
NameDescriptionTypeAdditional information
Id

integer

Required

TicketCode

integer

Required

Title

string

Max length: 100

OpenDate

date

Required

CloseDate

date

None.

ChangedTimestamp

date

None.

MainStatusId

integer

None.

MainStatusName

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "TicketCode": 2,
    "Title": "sample string 3",
    "OpenDate": "2021-12-02T20:19:39.6541128+01:00",
    "CloseDate": "2021-12-02T20:19:39.6541128+01:00",
    "ChangedTimestamp": "2021-12-02T20:19:39.6541128+01:00",
    "MainStatusId": 1,
    "MainStatusName": "sample string 5"
  },
  {
    "Id": 1,
    "TicketCode": 2,
    "Title": "sample string 3",
    "OpenDate": "2021-12-02T20:19:39.6541128+01:00",
    "CloseDate": "2021-12-02T20:19:39.6541128+01:00",
    "ChangedTimestamp": "2021-12-02T20:19:39.6541128+01:00",
    "MainStatusId": 1,
    "MainStatusName": "sample string 5"
  }
]

application/xml, text/xml

Sample:
<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>2021-12-02T20:19:39.6541128+01:00</OpenDate>
    <CloseDate>2021-12-02T20:19:39.6541128+01:00</CloseDate>
    <ChangedTimestamp>2021-12-02T20:19:39.6541128+01:00</ChangedTimestamp>
    <MainStatusId>1</MainStatusId>
    <MainStatusName>sample string 5</MainStatusName>
  </TicketBase>
  <TicketBase>
    <Id>1</Id>
    <TicketCode>2</TicketCode>
    <Title>sample string 3</Title>
    <OpenDate>2021-12-02T20:19:39.6541128+01:00</OpenDate>
    <CloseDate>2021-12-02T20:19:39.6541128+01:00</CloseDate>
    <ChangedTimestamp>2021-12-02T20:19:39.6541128+01:00</ChangedTimestamp>
    <MainStatusId>1</MainStatusId>
    <MainStatusName>sample string 5</MainStatusName>
  </TicketBase>
</ArrayOfTicketBase>