- 1 Configuration
- 2 Department
- 3 User
- 3.1 Get Parameters of Add User
- 3.2 Add User
- 3.3 Get User List
- 4 Product
- 5 Project
- 6 Task
- 6.1 Get Task List
- 6.2 Get Task Optional Information
- 6.3 Add Task
- 6.4 Finish Task Optional Information
- 6.5 Finish Task
- 7 Bug
Batch Create Department
- 2020-03-24 13:54:16
- John Ten
- 1463
- Last edited by Taotao on 2020-03-24 13:55:54
Method Description |
Request this method to add departments in bulk. |
|||||||||||||
Example |
public function addDept() { include_once('../vendor/zentao/zentao.php'); $zentao = new \zentao(); $params = array( 'parentDeptID' => '1', 'depts' => array('Department D', 'Department F') ); // request parameters $result = $zentao->addDept($params); return $result; } |
|||||||||||||
Request |
POST | |||||||||||||
Method | addDept | |||||||||||||
Parameter |
|
|||||||||||||
Result | success | error | ||||||||||||
{ "status": 1, "msg": "success", "result": [] } |
{ "status": 0, "msg": "error", "result": [] } |
Write a Comment
Products
- ZDOO
- ZDOO Cloud
Support
- Request Demo
- Tech Forum
- GitHub
- SourceForge
About Us
- Company
- Private Policy
- Blogs
- Partners
Contact Us
- Google Groups
- Leave a Message
- Email: philip@easycorp.ltd
- Skype: philip517