GET | /Support/{TicketRef} |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
TicketStarter | form | SupportTicketListItem | No | |
Responses | form | List<SupportTicketResponseListItem> | No | |
Attachments | form | List<string> | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
TicketRef | form | string | No | |
Status | form | string | No | |
Category | form | string | No | |
Message | form | string | No | |
Date | form | DateTime | No | |
NewCount | form | int | No | |
IsAdmin | form | bool | No | |
Title | form | string | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
ResponseBy | form | string | No | |
Message | form | string | No | |
DateCreated | form | DateTime | No | |
AdminID | form | int | No | |
Attachments | form | List<string> | No | |
IsNew | form | bool | 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.
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 ] }