POST | /Support |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
EmailAddress | form | string | No | |
SuppliedUsername | form | string | No | |
Subject | form | string | No | |
Enquiry | form | string | No | |
CategoryID | form | int | No | |
SiteCountryID | form | int | No | |
UserAgent | form | string | No | |
IPAddress | form | string | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
SupportTicketID | form | int | No | |
EmailAddress | form | string | No | |
Title | form | string | No | |
Status | form | short | No | |
CategoryID | form | int | No | |
Message | form | string | No | |
LastResponseID | form | int | No | |
MemberID | form | long | No | |
AdditionalInfo | form | string | No | |
Priority | form | short | No | |
DateCreated | form | DateTime | No | |
Reference | form | string | No | |
CountryID | form | int | No | |
IsRequiredResponse | form | bool | No | |
IsPrivate | form | bool | No | |
SuppliedHandle | form | string | No | |
AdministratorID | form | int | No | |
DateLastChecked | form | DateTime | No | |
UseStoredEmail | form | bool | No | |
ParentType | form | TicketParentType | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=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 }