public OvhNewMessageInfo tickets_create_POST ( String body , OvhTicketCategoryEnum category , OvhTicketProductEnum product , String serviceName , OvhTicketSubCategoryEnum subcategory , String subject , OvhTicketTypeEnum type ) throws IOException { String qPath = "/support/tickets/create" ; StringBuilder sb = path ( qPath ) ; HashMap < String , Object > o = new HashMap < String , Object > ( ) ; addBody ( o , "body" , body ) ; addBody ( o , "category" , category ) ; addBody ( o , "product" , product ) ; addBody ( o , "serviceName" , serviceName ) ; addBody ( o , "subcategory" , subcategory ) ; addBody ( o , "subject" , subject ) ; addBody ( o , "type" , type ) ; String resp = exec ( qPath , "POST" , sb . toString ( ) , o ) ; return convertTo ( resp , OvhNewMessageInfo . class ) ; }
Create a new ticket