Planfix API task.accept

From Planfix
Revision as of 08:23, 11 August 2023 by Aliona (talk | contribs) (Created page with "{{#seo: |title=Planfix API task.accept |titlemode=append |keywords=Planfix, API, task, task.accept, accept, api |description=Planfix API task.accept }} To work on a task, you must accept it. Function call: <source lang="xml"> <?xml version="1.0" encoding="UTF-8"?> <request method="task.accept"> <account></account> <sid></sid> <task> <id></id> </task> <signature></signature> </request> </source> {| class="wikitable" style="margin-top: 1em; width:100% " !widt...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

To work on a task, you must accept it. Function call:

<?xml version="1.0" encoding="UTF-8"?>
<request method="task.accept">
  <account></account>
  <sid></sid>
  <task>
    <id></id>
  </task>
  <signature></signature>
</request>
Name Type Value Notes
task.id int ID of the task that the user is accepting
signature string(32) signature


The result of a correctly executed request will be:

<?xml version="1.0" encoding="UTF-8"?>
<response status="ok">
  <task>
    <id></id>
  </task>
</response>
Name Type Value Notes
task.id int ID of the task that the user accepted


Otherwise, an error response will be returned:

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


Go To