- 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
Add Product Optional Information
- 2020-03-24 10:44:46
- John Ten
- 1794
- Final Edition:tengfei De 2020-03-24 16:49:55
Method Description |
By requesting this method, you can the data required, such as product line data list, product owner and other data, when adding a product, and you can bind this information to it. |
|||||||||
Example |
public function getProductCreateParams() { include_once('../vendor/zentao/zentao.php'); $zentao = new \zentao(); $extraFields = array('title', 'products', 'lines', 'poUsers', 'qdUsers', 'rdUsers', 'groups'); // customize fields returned $result = $zentao->getProductCreateParams(array(), $extraFields); return $result; } |
|||||||||
Request |
GET | |||||||||
Method |
getProductCreateParams |
|||||||||
Parameter |
|
|||||||||
Result |
success | error | ||||||||
{ "status": 1, "msg": "success", "result": { // the navbar of ZenTao "title": "Add Product", // the list of the products added "products": { "1": "ZenTao-PHP-SDK", "2": "Product B", "3": "Product C", "4": "Product D", "5": "Product E", "6": "Product F" }, // a list of products "lines": { "0": "", "5": "Product A", "6": "Product B", "7": "Product C" }, // a list of product owners "poUsers": { "_empty_": "", "zhangsan": "Z: Zhang San", "admin": "A:admin", "lisi": "L: Li Si", "niuqi": "N: Niu Qi", "wangwu": "W: Wang Wu", "zhapliu": "Z: Zhao Liu" }, // a list of of QA managers "qdUsers": { "_empty_": "", "zhapliu": "Z: Zhao Liu", "admin": "A:admin", "lisi": "L: Li Si", "niuqi": "N: Niu Qi", "wangwu": "W: Wang Wu", "zhangsan": "Z: Zhang San" }, // a list of release managers "rdUsers": { "_empty_": "", "wangwu": "W: Wang Wu", "zhapliu": "Z: Zhao Liu", "lisi": "L: Li Si", "admin": "A:admin", "niuqi": "N: Niu Qi", "zhangsan": "Z: Zhang San" }, // a whitelist "groups": { "1": "Admin", "2": "Dev", "3": "QA", "4": "PM", "5": "PO", "6": "Dev Manager", "7": "Product Director", "8": "QA Director", "9": "Senior Manager", "10": "Other", "11": "guest", "12": "limited user" } } } |
{ "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