public class ApiOvhSupport extends ApiOvhBase
core| Constructor and Description |
|---|
ApiOvhSupport(ApiOvhCore core) |
| Modifier and Type | Method and Description |
|---|---|
OvhNewMessageInfo |
tickets_create_POST(String body,
OvhTicketCategoryEnum category,
OvhTicketProductEnum product,
String serviceName,
OvhTicketSubCategoryEnum subcategory,
String subject,
OvhTicketTypeEnum type)
Create a new ticket
REST: POST /support/tickets/create
|
ArrayList<Long> |
tickets_GET(Boolean archived,
OvhTicketCategoryEnum category,
Date maxCreationDate,
Date minCreationDate,
OvhTicketProductEnum product,
String serviceName,
OvhTicketStatusEnum status,
String subject,
String ticketNumber)
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 score,
String scoreComment)
Set ticket score
REST: POST /support/tickets/{ticketId}/score
|
public ApiOvhSupport(ApiOvhCore core)
public ArrayList<Long> tickets_GET(Boolean archived, OvhTicketCategoryEnum category, Date maxCreationDate, Date minCreationDate, OvhTicketProductEnum product, String serviceName, OvhTicketStatusEnum status, String subject, String ticketNumber) throws IOException
serviceName - [required] Ticket message service nameproduct - [required] Search by ticket productcategory - [required] Search by ticket categorymaxCreationDate - [required] Maximum creation dateminCreationDate - [required] Minimum creation dateticketNumber - [required] Search by ticket numberarchived - [required] Search archived ticketsstatus - [required] Status of ticketsubject - [required] Search by ticket subjectIOExceptionpublic OvhNewMessageInfo tickets_create_POST(String body, OvhTicketCategoryEnum category, OvhTicketProductEnum product, String serviceName, OvhTicketSubCategoryEnum subcategory, String subject, OvhTicketTypeEnum type) throws IOException
serviceName - [required] Ticket message service namesubcategory - [required] Ticket message subcategorybody - [required] Ticket message bodycategory - [required] Ticket message categoryproduct - [required] Ticket message producttype - [required] Ticket type (criticalIntervention requires VIP support level)subject - [required] Ticket message subjectIOExceptionpublic void tickets_ticketId_score_POST(Long ticketId, String score, String scoreComment) throws IOException
ticketId - [required] internal ticket identifierscore - [required] ticket scorescoreComment - [required] ticket comment about the scoreIOExceptionpublic void tickets_ticketId_reply_POST(Long ticketId, String body) throws IOException
ticketId - [required] internal ticket identifierbody - [required] text body of ticket responseIOExceptionpublic void tickets_ticketId_close_POST(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 Boolean tickets_ticketId_canBeScored_GET(Long ticketId) throws IOException
ticketId - [required] internal ticket identifierIOExceptionpublic OvhTicket tickets_ticketId_GET(Long ticketId) throws IOException
ticketId - [required] internal identifier ticketIOExceptionpublic ArrayList<OvhMessage> tickets_ticketId_messages_GET(Long ticketId) throws IOException
ticketId - [required] internal ticket identifierIOExceptionCopyright © 2018. All rights reserved.