Planfix API action.delete

From Planfix
Revision as of 14:32, 7 August 2023 by Aliona (talk | contribs) (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> <...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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