Planfix API task.accept
From Planfix
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>