GET api/Tickets/GetTicketUserTypes
Gets a list of available TicketUserTypes by which the user can create Tickets.
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
GetTicketUserTypesResultName | Description | Type | Additional information |
---|---|---|---|
TicketUserTypes | Collection of TicketUserType |
None. |
Response Formats
application/json, text/json
Sample:
{ "TicketUserTypes": [ { "Id": 1, "Name": "End-User Ticket", "Description": "", "Active": true, "IsSystemType": true, "IsDefault": false }, { "Id": 2, "Name": "Incident", "Description": "", "Active": true, "IsSystemType": true, "IsDefault": false }, { "Id": 3, "Name": "Service Request", "Description": "", "Active": true, "IsSystemType": true, "IsDefault": false }, { "Id": 4, "Name": "Problem", "Description": "", "Active": true, "IsSystemType": true, "IsDefault": false }, { "Id": 5, "Name": "Incident", "Description": "", "Active": true, "IsSystemType": true, "IsDefault": false } ] }
application/xml, text/xml
Sample:
<GetTicketUserTypesResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RequestorApiDataStructures.Results.Ticket"> <TicketUserTypes> <GetTicketUserTypesResult.TicketUserType> <Active>true</Active> <Description></Description> <Id>1</Id> <IsDefault>false</IsDefault> <IsSystemType>true</IsSystemType> <Name>End-User Ticket</Name> </GetTicketUserTypesResult.TicketUserType> <GetTicketUserTypesResult.TicketUserType> <Active>true</Active> <Description></Description> <Id>2</Id> <IsDefault>false</IsDefault> <IsSystemType>true</IsSystemType> <Name>Incident</Name> </GetTicketUserTypesResult.TicketUserType> <GetTicketUserTypesResult.TicketUserType> <Active>true</Active> <Description></Description> <Id>3</Id> <IsDefault>false</IsDefault> <IsSystemType>true</IsSystemType> <Name>Service Request</Name> </GetTicketUserTypesResult.TicketUserType> <GetTicketUserTypesResult.TicketUserType> <Active>true</Active> <Description></Description> <Id>4</Id> <IsDefault>false</IsDefault> <IsSystemType>true</IsSystemType> <Name>Problem</Name> </GetTicketUserTypesResult.TicketUserType> <GetTicketUserTypesResult.TicketUserType> <Active>true</Active> <Description></Description> <Id>5</Id> <IsDefault>false</IsDefault> <IsSystemType>true</IsSystemType> <Name>Incident</Name> </GetTicketUserTypesResult.TicketUserType> </TicketUserTypes> </GetTicketUserTypesResult>