Planfix API: projectGroup.move: Difference between revisions
From Planfix
No edit summary |
(→Go To) |
||
(One intermediate revision by one other user not shown) | |||
Line 40: | Line 40: | ||
|} | |} | ||
Response when project group move is successful: | |||
<source lang="xml"> | <source lang="xml"> | ||
<?xml version="1.0" encoding="UTF-8"?> | <?xml version="1.0" encoding="UTF-8"?> | ||
Line 56: | Line 58: | ||
Otherwise, an error response will be returned: | |||
<source lang="xml"> | <source lang="xml"> | ||
<?xml version="1.0" encoding="UTF-8"?> | <?xml version="1.0" encoding="UTF-8"?> | ||
Line 67: | Line 69: | ||
== Go To == | == Go To == | ||
*[[Planfix API:Project groups|Project groups]] | *[[Planfix API:Project groups|Project groups]] | ||
*[[Error codes]] | *[[Error codes XML API v1|Error codes]] | ||
*[[List of functions]] | *[[List of functions]] |
Latest revision as of 09:36, 6 March 2024
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>