POST api/Reports/GetWorkSheetFromTickets

Gets work sheet data related to tickets.

Request Information

URI Parameters

None.

Body Parameters

WorkSheetFromTicketsPost
NameDescriptionTypeAdditional information
Source

Which source will be used for getting track times

WorkSheetSourceEnum

None.

DateFromUtc

Track times from tickets are filtered by the creation datetime (created utc) or by its from-to interval, if set. Track times from tasks are filtered by the creation datetime of the owned task or by its start datetime.

date

None.

DateToUtc

Track times from tickets are filtered by the creation datetime (created utc) or by its from-to interval, if set. Track times from tasks are filtered by the creation datetime of the owned task or by its start datetime.

date

None.

UserProviderKeys

(Optional) Filter by users' keys.

Collection of string

None.

TicketTypes

(Optional) Filter by ticket types.

Collection of TicketTypeEnum

None.

ServiceIds

(Optional) Filter by services, if service id is set to null that means tickets without service.

Collection of integer

None.

CustomerIds

(Optional) Filter by customer, if customer id is set to null that means tickets without customer.

Collection of integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Source": 1,
  "DateFromUtc": null,
  "DateToUtc": null,
  "UserProviderKeys": null,
  "TicketTypes": null,
  "ServiceIds": [
    null,
    1
  ],
  "CustomerIds": [
    null,
    1
  ]
}

application/xml, text/xml

Sample:
<WorkSheetFromTicketsPost xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RequestorApiDataStructures.Posts">
  <CustomerIds xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <d2p1:int i:nil="true" />
    <d2p1:int>1</d2p1:int>
  </CustomerIds>
  <DateFromUtc i:nil="true" />
  <DateToUtc i:nil="true" />
  <ServiceIds xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <d2p1:int i:nil="true" />
    <d2p1:int>1</d2p1:int>
  </ServiceIds>
  <Source>Tickets</Source>
  <TicketTypes xmlns:d2p1="http://schemas.datacontract.org/2004/07/Requestor.Domain.Model.Enumerations" i:nil="true" />
  <UserProviderKeys xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" i:nil="true" />
</WorkSheetFromTicketsPost>

Response Information

Resource Description

GetWorkSheetFromTicketsResult
NameDescriptionTypeAdditional information
Tickets

Collection of Ticket

None.

Response Formats

application/json, text/json

Sample:
{
  "Tickets": null
}

application/xml, text/xml

Sample:
<GetWorkSheetFromTicketsResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RequestorApiDataStructures.Results">
  <Tickets i:nil="true" />
</GetWorkSheetFromTicketsResult>