Planfix API task.changeExpectDate: Difference between revisions

From Planfix
Jump to: navigation, search
(Created page with "{{#seo: |title=Planfix API task.changeExpectDate |titlemode=append |keywords=Planfix, task, changeExpectDate, change, Expect, Date, API |description=Planfix API task.changeExpectDate }} If for some reason a user can't complete a task in time, they can postpone the task's completion date. Function call format: <source lang="xml"> <?xml version="1.0" encoding="UTF-8"?> <request method="task.changeExpectDate"> <account></account> <sid></sid> <task> <id></id> </t...")
 
 
(One intermediate revision by one other user not shown)
Line 19: Line 19:
</source>
</source>
{| class="wikitable" style="margin-top: 1em; width:100% "
{| class="wikitable" style="margin-top: 1em; width:100% "
!width="150"| Name !!width="200"| Type !!width="50%"| Value !! Notes  
!width="150"| Name !!width="200"| Type !!width="50%"| Value !! Notes    
|-
|-
|task.id ||int || task ID||
|task.id ||int || task ID||
Line 61: Line 61:
== Go To ==
== Go To ==
*[[Planfix API:Tasks]]
*[[Planfix API:Tasks]]
*[[Error codes]]
*[[Error codes XML API v1|Error codes]]
*[[List of functions]]
*[[List of functions]]

Latest revision as of 09:39, 6 March 2024

If for some reason a user can't complete a task in time, they can postpone the task's completion date. Function call format:

<?xml version="1.0" encoding="UTF-8"?>
<request method="task.changeExpectDate">
  <account></account>
  <sid></sid>
  <task>
    <id></id>
  </task>
  <expectDate></expectDate>
  <signature></signature>
</request>
Name Type Value Notes
task.id int task ID
expectDate DateTime new task completion date
signature string(32) signature


Successful execution will return the following response:

<?xml version="1.0" encoding="UTF-8"?>
<response status="ok">
  <task>
    <id></id>
    <endTime></endTime>
  </task>
</response>
Name Type Value Notes
task.id int task ID
task.endTime DateTime If the endTime parameter is not included in the response, this indicates that the request was sent to the assignee as a request to change the date.


Otherwise, an error response will be returned:

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


Go To