Solution Clone

From INAP Dropzone API
(Difference between revisions)
Jump to: navigation, search
(Created page with "The solution clone command allows a solution to be cloned into a new order. ==Path== */solution/clone ==Method== *POST ==Required Data Paramet...")
 
Line 7: Line 7:
  
 
==Required Data Parameters==
 
==Required Data Parameters==
*{solutionid}: The ID of the solution being reviewed.
+
*{$solutionid}: The ID of the solution being reviewed.
*{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"}.
  
 
==Optional Data Parameters==
 
==Optional Data Parameters==
*{name}: The name of the person cloning the solution.
+
*{$name}: The name of the person cloning the solution.
  
 
==Returned Data==
 
==Returned Data==

Revision as of 13:14, 28 April 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 ID of the solution being reviewed.
  • {$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