GET api/Tickets/GetTicketUserSources

Gets a list of available TicketUserSources by which the user can create Tickets.

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

GetTicketUserSourcesResult
NameDescriptionTypeAdditional information
TicketUserSources

Collection of TicketUserSource

None.

Response Formats

application/json, text/json

Sample:
{
  "TicketUserSources": [
    {
      "Id": 1,
      "Name": "Web",
      "Active": true,
      "IsSystemSource": true,
      "IsDefault": true
    },
    {
      "Id": 2,
      "Name": "Email",
      "Active": true,
      "IsSystemSource": true,
      "IsDefault": false
    }
  ]
}

application/xml, text/xml

Sample:
<GetTicketUserSourcesResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RequestorApiDataStructures.Results.Ticket">
  <TicketUserSources>
    <GetTicketUserSourcesResult.TicketUserSource>
      <Active>true</Active>
      <Id>1</Id>
      <IsDefault>true</IsDefault>
      <IsSystemSource>true</IsSystemSource>
      <Name>Web</Name>
    </GetTicketUserSourcesResult.TicketUserSource>
    <GetTicketUserSourcesResult.TicketUserSource>
      <Active>true</Active>
      <Id>2</Id>
      <IsDefault>false</IsDefault>
      <IsSystemSource>true</IsSystemSource>
      <Name>Email</Name>
    </GetTicketUserSourcesResult.TicketUserSource>
  </TicketUserSources>
</GetTicketUserSourcesResult>