public class ApiOvhSupport extends ApiOvhBase
core| Constructor and Description |
|---|
ApiOvhSupport(ApiOvhCore core) |
| Modifier and Type | Method and Description |
|---|---|
OvhNewMessageInfo |
tickets_create_POST(OvhTicketSubCategoryEnum subcategory,
String body,
String subject,
String serviceName,
OvhTicketCategoryEnum category,
OvhTicketProductEnum product,
OvhTicketTypeEnum type)
Create a new ticket
REST: POST /support/tickets/create
|
ArrayList<Long> |
tickets_GET(OvhTicketCategoryEnum category,
Date maxCreationDate,
Date minCreationDate,
OvhTicketProductEnum product,
String serviceName,
OvhTicketStatusEnum status,
String subject)
List support tickets identifiers for this service
REST: GET /support/tickets
|
Boolean |
tickets_ticketId_canBeScored_GET(Long ticketId)
Checks whether ticket can be scored
REST: GET /support/tickets/{ticketId}/canBeScored
|
void |
tickets_ticketId_close_POST(Long ticketId)
Close ticket
REST: POST /support/tickets/{ticketId}/close
|
OvhTicket |
tickets_ticketId_GET(Long ticketId)
Get ticket
REST: GET /support/tickets/{ticketId}
|
ArrayList<OvhMessage> |
tickets_ticketId_messages_GET(Long ticketId)
Get ticket messages
REST: GET /support/tickets/{ticketId}/messages
|
void |
tickets_ticketId_reopen_POST(Long ticketId,
String body)
Reopen a ticket
REST: POST /support/tickets/{ticketId}/reopen
|
void |
tickets_ticketId_reply_POST(Long ticketId,
String body)
Reply to ticket
REST: POST /support/tickets/{ticketId}/reply
|
void |
tickets_ticketId_score_POST(Long ticketId,
String scoreComment,
String score)
Set ticket score
REST: POST /support/tickets/{ticketId}/score
|
public ApiOvhSupport(ApiOvhCore core)
public OvhNewMessageInfo tickets_create_POST(OvhTicketSubCategoryEnum subcategory, String body, String subject, String serviceName, OvhTicketCategoryEnum category, OvhTicketProductEnum product, OvhTicketTypeEnum type) throws IOException
subcategory - [required] Ticket message subcategorybody - [required] Ticket message bodysubject - [required] Ticket message subjectserviceName - [required] Ticket message service namecategory - [required] Ticket message categoryproduct - [required] Ticket message producttype - [required] Ticket type (criticalIntervention requires VIP support level)IOExceptionpublic OvhTicket tickets_ticketId_GET(Long ticketId) throws IOException
ticketId - [required] internal identifier ticketIOExceptionpublic void tickets_ticketId_reply_POST(Long ticketId, String body) throws IOException
ticketId - [required] internal ticket identifierbody - [required] text body of ticket responseIOExceptionpublic ArrayList<OvhMessage> tickets_ticketId_messages_GET(Long ticketId) throws IOException
ticketId - [required] internal ticket identifierIOExceptionpublic void tickets_ticketId_reopen_POST(Long ticketId, String body) throws IOException
ticketId - [required] internal ticket identifierbody - [required] ticket reopen reasonIOExceptionpublic void tickets_ticketId_close_POST(Long ticketId) throws IOException
ticketId - [required] internal ticket identifierIOExceptionpublic Boolean tickets_ticketId_canBeScored_GET(Long ticketId) throws IOException
ticketId - [required] internal ticket identifierIOExceptionpublic void tickets_ticketId_score_POST(Long ticketId, String scoreComment, String score) throws IOException
ticketId - [required] internal ticket identifierscoreComment - [required] ticket comment about the scorescore - [required] ticket scoreIOExceptionpublic ArrayList<Long> tickets_GET(OvhTicketCategoryEnum category, Date maxCreationDate, Date minCreationDate, OvhTicketProductEnum product, String serviceName, OvhTicketStatusEnum status, String subject) throws IOException
minCreationDate - [required] Minimum creation datesubject - [required] Search by ticket subjectstatus - [required] Status of ticketserviceName - [required] Ticket message service namemaxCreationDate - [required] Maximum creation datecategory - [required] Search by ticket categoryproduct - [required] Search by ticket productIOExceptionCopyright © 2017. All rights reserved.