Needio.Services

<back to all web services

GetTicketEnumsRequest

The following routes are available for this service:
All Verbs/HelpDesk/GetTicketTitles
BaseRequest Parameters:
NameParameterData TypeRequiredDescription
startformDateTimeNo
GetTicketEnumsResponse Parameters:
NameParameterData TypeRequiredDescription
TicketStatusesformList<EnumDefinitionDTO>No
TicketCategoriesformList<EnumDefinitionDTO>No
TicketTypesformList<EnumDefinitionDTO>No
TicketPrioritiesformList<EnumDefinitionDTO>No
BaseResponse Parameters:
NameParameterData TypeRequiredDescription
ResultformboolNo
ResMessageformstringNo
ErrorformErrorNo
Error Parameters:
NameParameterData TypeRequiredDescription
ErrorYnformboolNo
ErrorCodeformstringNo
ErrorDescriptionformstringNo
EnumDefinitionDTO Parameters:
NameParameterData TypeRequiredDescription
IdformintNo
NameformstringNo
DescriptionformstringNo
GetTicketEnumsResponse Parameters:
NameParameterData TypeRequiredDescription
TicketStatusesformList<EnumDefinitionDTO>No
TicketCategoriesformList<EnumDefinitionDTO>No
TicketTypesformList<EnumDefinitionDTO>No
TicketPrioritiesformList<EnumDefinitionDTO>No

To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv

HTTP + JSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /HelpDesk/GetTicketTitles HTTP/1.1 
Host: baseservices2.needion.com 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	start: 2020-07-07T21:02:32.6719066+03:00
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	TicketStatuses: 
	[
		{
			Id: 0,
			Name: String,
			Description: String
		}
	],
	TicketCategories: 
	[
		{
			Id: 0,
			Name: String,
			Description: String
		}
	],
	TicketTypes: 
	[
		{
			Id: 0,
			Name: String,
			Description: String
		}
	],
	TicketPriorities: 
	[
		{
			Id: 0,
			Name: String,
			Description: String
		}
	],
	Result: False,
	ResMessage: String,
	Error: 
	{
		ErrorYn: False,
		ErrorCode: String,
		ErrorDescription: String
	}
}