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 .json suffix or ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

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: application/json
Content-Type: application/json
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: application/json
Content-Length: length

{"SupportTicketID":0,"EmailAddress":"String","Title":"String","Status":0,"CategoryID":0,"Message":"String","LastResponseID":0,"MemberID":0,"AdditionalInfo":"String","Priority":0,"DateCreated":"\/Date(-62135596800000-0000)\/","Reference":"String","CountryID":0,"IsRequiredResponse":false,"IsPrivate":false,"SuppliedHandle":"String","AdministratorID":0,"DateLastChecked":"\/Date(-62135596800000-0000)\/","UseStoredEmail":false,"ParentType":"Member"}