Planfix API action.delete: Difference between revisions

From Planfix
Jump to: navigation, search
(Created page with "{{#seo: |title=Planfix API action.delete |titlemode=append |keywords=планфикс, апи, api, action.delete |description=Planfix API action.delete }} This function lets you delete an action. You need the correct permissions to execute this function. Additionally, actions can not be deleted that changed a task's status. Request format: <source lang="xml"> <?xml version="1.0" encoding="UTF-8"?> <request method="action.delete"> <account></account> <sid></sid> <...")
 
 
Line 57: Line 57:
== Go To ==
== Go To ==
*[[Planfix API:Actions]]
*[[Planfix API:Actions]]
*[[Error codes]]
*[[Error codes XML API v1|Error codes]]
*[[List of functions]]
*[[List of functions]]

Latest revision as of 15:01, 15 March 2024

This function lets you delete an action. You need the correct permissions to execute this function. Additionally, actions can not be deleted that changed a task's status.

Request format:

<?xml version="1.0" encoding="UTF-8"?>
<request method="action.delete">
  <account></account>
  <sid></sid>
  <action>
    <id></id>
  </action>
  <signature></signature>
</request>
Name Type Value Notes
id int action identifier
signature string(32) signature


Result of successful execution:

<?xml version="1.0" encoding="UTF-8"?>
<response status="ok">
  <action>
    <id></id>
  </action>
</response>
Name Type Value Notes
id int action identifier


Otherwise, an error response will be returned:

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


Go To