GET api/Statistics/GetFirstResponseTime?ticketId={ticketId}&serviceId={serviceId}&ticketType={ticketType}&fromUtc={fromUtc}&untilUtc={untilUtc}

Gets the first response times in Tickets.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
ticketId

(Optional) To filter the only one Ticket.

integer

None.

serviceId

(Optional) To filter Tickets with Service.

integer

None.

ticketType

(Optional) To filter Tickets of the type.

TicketTypeEnum

None.

fromUtc

(Optional) To filter occurrence time.

date

None.

untilUtc

(Optional) To filter occurrence time.

date

None.

Body Parameters

None.

Response Information

Resource Description

StatisticsTicketTimeResult
NameDescriptionTypeAdditional information
TicketTimes

Collection of TicketTimeRow

None.

Response Formats

application/json, text/json

Sample:
{
  "TicketTimes": [
    {
      "TicketId": 1,
      "ServiceId": 1,
      "ServiceName": "sample string 2",
      "TicketType": 1,
      "DateTimeUtc": "2024-12-22T23:08:25.3428772+01:00",
      "TimeSpan": "00:00:00.1234567",
      "TimeSpanTicks": 5
    },
    {
      "TicketId": 1,
      "ServiceId": 1,
      "ServiceName": "sample string 2",
      "TicketType": 1,
      "DateTimeUtc": "2024-12-22T23:08:25.3428772+01:00",
      "TimeSpan": "00:00:00.1234567",
      "TimeSpanTicks": 5
    }
  ]
}

application/xml, text/xml

Sample:
<StatisticsTicketTimeResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RequestorApiDataStructures.Results">
  <TicketTimes>
    <StatisticsTicketTimeResult.TicketTimeRow>
      <DateTimeUtc>2024-12-22T23:08:25.3428772+01:00</DateTimeUtc>
      <ServiceId>1</ServiceId>
      <ServiceName>sample string 2</ServiceName>
      <TicketId>1</TicketId>
      <TicketType>EndUserTicket</TicketType>
      <TimeSpan>PT0.1234567S</TimeSpan>
      <TimeSpanTicks>5</TimeSpanTicks>
    </StatisticsTicketTimeResult.TicketTimeRow>
    <StatisticsTicketTimeResult.TicketTimeRow>
      <DateTimeUtc>2024-12-22T23:08:25.3428772+01:00</DateTimeUtc>
      <ServiceId>1</ServiceId>
      <ServiceName>sample string 2</ServiceName>
      <TicketId>1</TicketId>
      <TicketType>EndUserTicket</TicketType>
      <TimeSpan>PT0.1234567S</TimeSpan>
      <TimeSpanTicks>5</TimeSpanTicks>
    </StatisticsTicketTimeResult.TicketTimeRow>
  </TicketTimes>
</StatisticsTicketTimeResult>