Planfix API: projectGroup.move

From Planfix
Jump to: navigation, search

This function moves a project group in a list:

<?xml version="1.0" encoding="UTF-8"?>
<request method="projectGroup.move">
  <account></account>
  <sid></sid>
  <move>
    <projectGroup>
      <id></id>    
    </projectGroup>
  </move>
  <after>
    <projectGroup>
      <id></id>    
    </projectGroup>
  </after>
  <signature></signature>
</request>
Name Type Value Notes
sid string(32) session key created as a result of passing authentication
move Project group being moved
move.projectGroup.id int Identifier of the project group being moved
after Group where the project group should be located after execution
after.projectGroup.id int Project group identifier


Response when project group move is successful:

<?xml version="1.0" encoding="UTF-8"?>
<response status="ok">
  <projectGroup>
    <id></id>
  </projectGroup>
</response>
Name Type Value Notes
projectGroup.id int identifier of the project group moved


Otherwise, an error response will be returned:

<?xml version="1.0" encoding="UTF-8"?>
<response status="error">
  <code></code>
</response>


Go To