- 1. API
- 2 Configuration
- 3. Department
-
4. User
- 4.1 Get Parameters of Add User
- 4.2 Add User
- 4.3 Get User List
- 5. Product
- 6. Project
-
7. Task
- 7.1 Get Task List
- 7.2 Get Task Optional Information
- 7.3 Add Task
- 7.4 Finish Task Optional Information
- 7.5 Finish Task
- 8. Bug
Finish Task
- 2020-03-24 10:50:39
- John Ten
- 3146
- Last edited by Taotao on 2020-03-25 09:43:38
- Share links
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": [] } |
Write a Comment
Support
- Book a Demo
- Tech Forum
- GitHub
- SourceForge
About Us
- Company
- Privacy Policy
- Term of Use
- Blogs
- Partners
Contact Us
- Leave a Message
- Email Us: [email protected]