RHP_API

<back to all web services

GetSupportTickets

Requires Authentication
The following routes are available for this service:
GET/Support
GetSupportTickets Parameters:
NameParameterData TypeRequiredDescription
CategoryIDqueryintNo
Pagination Parameters:
NameParameterData TypeRequiredDescription
SizeformintNo
PageformintNo
SupportTicketList Parameters:
NameParameterData TypeRequiredDescription
NotCheckedCountformintNo
GenericListResponse<T> Parameters:
NameParameterData TypeRequiredDescription
DataformList<T>No
TotalformintNo
SupportTicketListItem Parameters:
NameParameterData TypeRequiredDescription
TicketRefformstringNo
StatusformstringNo
CategoryformstringNo
MessageformstringNo
DateformDateTimeNo
NewCountformintNo
IsAdminformboolNo
TitleformstringNo

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.

GET /Support HTTP/1.1 
Host: tstsrvs.redhotpie.com.au 
Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	NotCheckedCount: 0,
	Data: 
	[
		{
			TicketRef: String,
			Status: String,
			Category: String,
			Message: String,
			Date: 0001-01-01,
			NewCount: 0,
			IsAdmin: False,
			Title: String
		}
	],
	Total: 0
}