GET api/Tickets/GetServicesForTicketsFilter

Gets a list of available Services by which the user can filter Tickets.

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

GetServicesListResult
NameDescriptionTypeAdditional information
Services

Collection of ServiceItem

None.

Response Formats

application/json, text/json

Sample:
{
  "Services": [
    {
      "Id": 2,
      "Name": "IT Support",
      "Description": "Everything else",
      "Department": {
        "Id": 1,
        "Name": "Company ltd.",
        "Description": null
      }
    },
    {
      "Id": 3,
      "Name": "Supply material",
      "Description": "Toners, cartridges, papers, pencils, ....",
      "Department": {
        "Id": 1,
        "Name": "Company ltd.",
        "Description": null
      }
    }
  ]
}

application/xml, text/xml

Sample:
<GetServicesListResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RequestorApiDataStructures.Results">
  <Services>
    <GetServicesListResult.ServiceItem>
      <Department>
        <Description i:nil="true" />
        <Id>1</Id>
        <Name>Company ltd.</Name>
      </Department>
      <Description>Everything else</Description>
      <Id>2</Id>
      <Name>IT Support</Name>
    </GetServicesListResult.ServiceItem>
    <GetServicesListResult.ServiceItem>
      <Department>
        <Description i:nil="true" />
        <Id>1</Id>
        <Name>Company ltd.</Name>
      </Department>
      <Description>Toners, cartridges, papers, pencils, ....</Description>
      <Id>3</Id>
      <Name>Supply material</Name>
    </GetServicesListResult.ServiceItem>
  </Services>
</GetServicesListResult>