public void createResourceTicketAsync(String tenantId,ResourceTicketCreateSpec resourceTicketCreateSpec,final FutureCallback<Task> responseCallback) throws IOException {
  String path=String.format("%s/%s/resource-tickets",getBasePath(),tenantId);
  createObjectAsync(path,serializeObjectAsJson(resourceTicketCreateSpec),responseCallback);
}

public void createResourceTicketAsync ( String tenantId , ResourceTicketCreateSpec resourceTicketCreateSpec , final FutureCallback < Task > responseCallback ) throws IOException { String path = String . format ( "%s/%s/resource-tickets" , getBasePath ( ) , tenantId ) ; createObjectAsync ( path , serializeObjectAsJson ( resourceTicketCreateSpec ) , responseCallback ) ; }
creates a resource ticket defined by the spec under tenant specified by tenant id .
