Solution Clone

From INAP Dropzone API
(Difference between revisions)
Jump to: navigation, search
 
Line 7: Line 7:
  
 
==Required Data Parameters==
 
==Required Data Parameters==
*{$solutionid}: The ID of the solution being reviewed.
+
*{$solutionid}: The solution ID that is returned when using the [[Solution List|list]] command.
 
*{$hostnames}: A [[glossary#JOSN|JOSN]] encoded array that matches the old hostname to a new hostname {"OLD_HOSTNAME1":"NEW_HOSTNAME1", "OLD_HOSTNAME2":"NEW_HOSTNAME2"}.
 
*{$hostnames}: A [[glossary#JOSN|JOSN]] encoded array that matches the old hostname to a new hostname {"OLD_HOSTNAME1":"NEW_HOSTNAME1", "OLD_HOSTNAME2":"NEW_HOSTNAME2"}.
  

Latest revision as of 19:14, 3 June 2012

The solution clone command allows a solution to be cloned into a new order.

Contents

Path

  • /solution/clone

Method

Required Data Parameters

  • {$solutionid}: The solution ID that is returned when using the list command.
  • {$hostnames}: A JOSN encoded array that matches the old hostname to a new hostname {"OLD_HOSTNAME1":"NEW_HOSTNAME1", "OLD_HOSTNAME2":"NEW_HOSTNAME2"}.

Optional Data Parameters

  • {$name}: The name of the person cloning the solution.

Returned Data

stdClass Object(
  [success] => TRUE/FALSE
  [data] => stdClass Object(
  
  )
)
Personal tools