@Path(value="/companies/{companyId}/support-tickets")
@Consumes(value="application/json")
@Produces(value="application/vnd.ilandcloud.api.v1.0+json")
public interface CompanySupportResource
extends Serializable
| Modifier and Type | Method and Description |
|---|---|
SupportTicketAttachmentDetailsResponse |
addTicketAttachment(String companyId,
int ticketId,
SupportTicketAttachmentCreateRequest attachment)
Add an attachment to a support ticket.
|
SupportTicketCommentResponse |
addTicketComment(String companyId,
int ticketId,
SupportTicketCommentCreateRequest newComment)
Add a comment to a support ticket.
|
SupportTicketResponse |
createSupportTicket(String companyId,
SupportTicketCreateRequest newSupportTicket)
Add a new support ticket.
|
SupportRegardingOptionListResponse |
getRegardingOptions(String companyId)
Return a list of regarding options, service options, and categories
applicable to opening support tickets.
|
InputStream |
getTicketAttachment(String companyId,
int ticketId,
int attachmentId)
Get the file attached to a support ticket.
|
SupportTicketAttachmentDetailsListResponse |
getTicketAttachmentList(String companyId,
int ticketId)
Get a list of files attached to the support ticket.
|
SupportTicketResponse |
getTicketById(String companyId,
int ticketId)
Get a support ticket by its ID.
|
SupportTicketCommentListResponse |
getTicketComments(String companyId,
int ticketId)
Get support ticket comments for a specified support ticket.
|
SupportTicketListResponse |
getTicketsForCompany(String companyId,
Integer offset,
Integer limit,
String search)
Get all support tickets for a company.
|
IsAttachmentDownloadableResponse |
isAttachmentDownloadable(String companyId,
int ticketId,
int attachmentId)
Return whether the attachment is available for download.
|
SupportTicketResponse |
updateSupportTicket(String companyId,
int ticketId,
SupportTicketUpdateRequest supportTicket)
Updates a support ticket.
|
@POST @Consumes(value="application/json") @Produces(value="application/vnd.ilandcloud.api.v1.0+json") SupportTicketResponse createSupportTicket(@PathParam(value="companyId") String companyId, SupportTicketCreateRequest newSupportTicket)
getRegardingOptions(String) method.companyId - company identifiernewSupportTicket - specification for adding a new support ticket@PUT
@Path(value="/{ticketId}")
@Consumes(value="application/json")
@Produces(value="application/vnd.ilandcloud.api.v1.0+json")
SupportTicketResponse updateSupportTicket(@PathParam(value="companyId")
String companyId,
@PathParam(value="ticketId")
int ticketId,
SupportTicketUpdateRequest supportTicket)
companyId - company identifierticketId - the id of the ticket to updatesupportTicket - updated support ticket@POST
@Path(value="/{ticketId}/comments")
@Consumes(value="application/json")
@Produces(value="application/vnd.ilandcloud.api.v1.0+json")
SupportTicketCommentResponse addTicketComment(@PathParam(value="companyId")
String companyId,
@PathParam(value="ticketId")
int ticketId,
SupportTicketCommentCreateRequest newComment)
companyId - the company identifiernewComment - specification for adding a new new support ticket commentticketId - support request ID@GET
@Path(value="/{ticketId}")
@Produces(value="application/vnd.ilandcloud.api.v1.0+json")
SupportTicketResponse getTicketById(@PathParam(value="companyId")
String companyId,
@PathParam(value="ticketId")
int ticketId)
companyId - the company identifierticketId - support ticket id@GET @Produces(value="application/vnd.ilandcloud.api.v1.0+json") SupportTicketListResponse getTicketsForCompany(@PathParam(value="companyId") String companyId, @QueryParam(value="offset") Integer offset, @QueryParam(value="limit") Integer limit, @QueryParam(value="search") String search)
companyId - the company identifieroffset - the page numberlimit - the page size (maximum is 100)search - the search parameter@GET
@Path(value="/{ticketId}/comments")
@Produces(value="application/vnd.ilandcloud.api.v1.0+json")
SupportTicketCommentListResponse getTicketComments(@PathParam(value="companyId")
String companyId,
@PathParam(value="ticketId")
int ticketId)
companyId - the company identifierticketId - support request ID@POST
@Path(value="/{ticketId}/attachments")
@Consumes(value="multipart/form-data")
@Produces(value="application/vnd.ilandcloud.api.v1.0+json")
SupportTicketAttachmentDetailsResponse addTicketAttachment(@PathParam(value="companyId")
String companyId,
@PathParam(value="ticketId")
int ticketId,
SupportTicketAttachmentCreateRequest attachment)
companyId - the company identifierattachment - multipart form inputticketId - the support ticket ID to attach file to@GET
@Path(value="/{ticketId}/attachments")
@Produces(value="application/vnd.ilandcloud.api.v1.0+json")
SupportTicketAttachmentDetailsListResponse getTicketAttachmentList(@PathParam(value="companyId")
String companyId,
@PathParam(value="ticketId")
int ticketId)
companyId - the company identifierticketId - support ticket ID@GET
@Path(value="/{ticketId}/attachments/{attachmentId}")
@Produces(value="application/vnd.ilandcloud.api.v1.0+octet-stream")
InputStream getTicketAttachment(@PathParam(value="companyId")
String companyId,
@PathParam(value="ticketId")
int ticketId,
@PathParam(value="attachmentId")
int attachmentId)
companyId - the company identifierticketId - support ticket IDattachmentId - attachment ID@GET
@Path(value="/{ticketId}/attachments/{attachmentId}/is-downloadable")
@Produces(value="application/vnd.ilandcloud.api.v1.0+json")
IsAttachmentDownloadableResponse isAttachmentDownloadable(@PathParam(value="companyId")
String companyId,
@PathParam(value="ticketId")
int ticketId,
@PathParam(value="attachmentId")
int attachmentId)
companyId - companyId IDticketId - ticket IDattachmentId - attachment ID@GET @Path(value="/regarding-options") @Produces(value="application/vnd.ilandcloud.api.v1.0+json") SupportRegardingOptionListResponse getRegardingOptions(@PathParam(value="companyId") String companyId)
Copyright © 2019 iland Internet Solutions, Corp. All rights reserved.