RHP_API

<back to all web services

CreateSupportTicket

The following routes are available for this service:
POST/Support
CreateNewSupportTicket Parameters:
NameParameterData TypeRequiredDescription
EmailAddressformstringNo
SuppliedUsernameformstringNo
SubjectformstringNo
EnquiryformstringNo
CategoryIDformintNo
SiteCountryIDformintNo
UserAgentformstringNo
IPAddressformstringNo
SupportTicket Parameters:
NameParameterData TypeRequiredDescription
SupportTicketIDformintNo
EmailAddressformstringNo
TitleformstringNo
StatusformshortNo
CategoryIDformintNo
MessageformstringNo
LastResponseIDformintNo
MemberIDformlongNo
AdditionalInfoformstringNo
PriorityformshortNo
DateCreatedformDateTimeNo
ReferenceformstringNo
CountryIDformintNo
IsRequiredResponseformboolNo
IsPrivateformboolNo
SuppliedHandleformstringNo
AdministratorIDformintNo
DateLastCheckedformDateTimeNo
UseStoredEmailformboolNo
ParentTypeformTicketParentTypeNo

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

{
	EmailAddress: String,
	SuppliedUsername: String,
	Subject: String,
	Enquiry: String,
	CategoryID: 0,
	SiteCountryID: 0,
	UserAgent: String,
	IPAddress: String
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	SupportTicketID: 0,
	EmailAddress: String,
	Title: String,
	Status: 0,
	CategoryID: 0,
	Message: String,
	LastResponseID: 0,
	MemberID: 0,
	AdditionalInfo: String,
	Priority: 0,
	DateCreated: 0001-01-01,
	Reference: String,
	CountryID: 0,
	IsRequiredResponse: False,
	IsPrivate: False,
	SuppliedHandle: String,
	AdministratorID: 0,
	DateLastChecked: 0001-01-01,
	UseStoredEmail: False,
	ParentType: Member
}