RHP_API

<back to all web services

GetTicketDetail

The following routes are available for this service:
GET/Support/{TicketRef}
SupportTicketDetail Parameters:
NameParameterData TypeRequiredDescription
TicketStarterformSupportTicketListItemNo
ResponsesformList<SupportTicketResponseListItem>No
AttachmentsformList<string>No
SupportTicketListItem Parameters:
NameParameterData TypeRequiredDescription
TicketRefformstringNo
StatusformstringNo
CategoryformstringNo
MessageformstringNo
DateformDateTimeNo
NewCountformintNo
IsAdminformboolNo
TitleformstringNo
SupportTicketResponseListItem Parameters:
NameParameterData TypeRequiredDescription
ResponseByformstringNo
MessageformstringNo
DateCreatedformDateTimeNo
AdminIDformintNo
AttachmentsformList<string>No
IsNewformboolNo

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/{TicketRef} HTTP/1.1 
Host: tstsrvs.redhotpie.com.au 
Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	TicketStarter: 
	{
		TicketRef: String,
		Status: String,
		Category: String,
		Message: String,
		Date: 0001-01-01,
		NewCount: 0,
		IsAdmin: False,
		Title: String
	},
	Responses: 
	[
		{
			ResponseBy: String,
			Message: String,
			DateCreated: 0001-01-01,
			AdminID: 0,
			Attachments: 
			[
				String
			],
			IsNew: False
		}
	],
	Attachments: 
	[
		String
	]
}