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
DeviceUUIDformstringNo
APIKeyformstringNo
GetTicketEnumsResponse Parameters:
NameParameterData TypeRequiredDescription
TicketStatusesformList<EnumDefinitionDTO>No
TicketCategoriesformList<EnumDefinitionDTO>No
TicketTypesformList<EnumDefinitionDTO>No
TicketPrioritiesformList<EnumDefinitionDTO>No
BaseResponse Parameters:
NameParameterData TypeRequiredDescription
ResultformboolNo
ResMessageformstringNo
ErrorformErrorNo
PageInfoformBasePageInfoNo
Error Parameters:
NameParameterData TypeRequiredDescription
ErrorYnformboolNo
ErrorCodeformstringNo
ErrorDescriptionformstringNo
BasePageInfo Parameters:
NameParameterData TypeRequiredDescription
TotalRecordCountformintNo
TotalPageCountformintNo
CurrentPageformintNo
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: baseservices.needion.com 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	start: 2021-12-03T21:55:20.3485575+03:00,
	DeviceUUID: String,
	APIKey: String
}
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
	},
	PageInfo: 
	{
		TotalRecordCount: 0,
		TotalPageCount: 0,
		CurrentPage: 0
	}
}