- Configuration
- Department
- User
- Product
- Project
- Task
- 6 Get Task List
- 6 Get Task Optional Information
- 6 Add Task
- 6 Finish Task Optional Information
- 6 Finish Task
- Bug
Finish Task
- 2020-03-24 10:50:39
- John Ten
- 2507
- Final Edition:tengfei De 2020-03-25 09:43:38
| Example |
This method is requested to confirm the user who finished the task and the time consumed when a task is finished. |
|||||||||||||||||||||||||||||
|
Example |
public function addTaskFinish()
{
include_once('../vendor/zentao/zentao.php');
$zentao = new \zentao();
$params = array(
'taskID' => 16,
'currentConsumed' => 1,
'consumed' => 19,
'assignedTo' => 'lisi',
'finishedDate' => '2019-11-12',
'comment' => 'Finish task description'
); // request parameteres
$result = $zentao->addTaskFinish($params);
return $result;
}
|
|||||||||||||||||||||||||||||
|
Request |
POST | |||||||||||||||||||||||||||||
|
Method |
addTaskFinish | |||||||||||||||||||||||||||||
|
Parameter |
|
|||||||||||||||||||||||||||||
|
Result |
success | error | ||||||||||||||||||||||||||||
{
"status": 1,
"msg": "success",
"result": []
}
|
{
"status": 0,
"msg": "error",
"result": []
}
|
|||||||||||||||||||||||||||||
Commenter
Produit
- ZDOO
- ZDOO Cloud
- ZSITE
Contactez-Nous
- A propos de nous
- Courriel: Philip@easycorp.ltd
- WhatsApp: 0086 18563953295
- Skype: philip517
