API for the Organization Tree label (Acstagstree) tree in the Imatrix platform

Source: Internet
Author: User

api1.1.1 standard tree API for 1.1 trees

Single-Selection tree:

Select a person API

    • GetId ();//user ID
    • GetName ();//user name
    • GetType ();//tree node type
    • Getloginname ();//User login name
    • Getsingleinfor ();//tree node information, you can pass parameters: User or department or workgroup, the default is "user" when not transmitting parameters, for example: "User: After the election of this method return value such as: [{type:" user ", ID:" 4 ", Name:" Li Goyang ", LoginName:" Ligeyang ", ParentType:" Board office to ", ParentName:" department "}], which contains user ID, user name, user login name, The user's Department and department ID, and then take relevant information as required.

Multiple Tree selection:

Select a person API

    • GetIDs ();//user ID
    • GetNames ();//user name
    • Getloginnames ();//User login name
    • Getinfos ();//tree node information, you can pass parameters: User or department or workgroup, the default is "user" when not transmitting parameters, for example: "User: After the election of this method return value such as: [{type:" user ", ID:" 4 ", Name: "Li Goyang", LoginName: "Ligeyang", ParentType: "Board office to", ParentName: "department"}], which contains user ID, user name, user login, user Department and Department ID , and then take relevant information as needed.
    • Getuserinfos ();//tree node information
    • Gettreetype ();//Tree type
    • GetTypes ();//tree node type

1.1.2 Tag Tree API

Single-Selection tree:

Select a person API

GetInfo ();//tree node information, you can pass parameters: User or department or workgroup, the default is "user" when not transmitting parameters, for example: "User: After the election of this method return value such as: [{type:" user ", ID:" 4 ", name : "Li Goyang", LoginName: "Ligeyang", ParentType: "Board office to", ParentName: "department"}], which contains user ID, user name, user login, user Department and Department ID, Then take the relevant information according to the requirements.

    • GetId ();//user ID
    • GetType ();//tree node type
    • Clicktree ();//Click Tree Node Event
    • GetName ();//user name
    • Getloginname ();//User login name

Multiple Tree selection:

Select a person API

GetInfo ();//tree node information, you can pass parameters: User or department or workgroup, the default is "user" when not transmitting parameters, for example: "User: After the election of this method return value such as: [{type:" user ", ID:" 4 ", name : "Li Goyang", LoginName: "Ligeyang", ParentType: "Board office to", ParentName: "department"}], which contains user ID, user name, user login, user Department and Department ID, Then take the relevant information according to the requirements.

    • GetIDs ();//user ID
    • GetNames ();//user name
    • Getloginnames ();//User login name

Note: The multi-select tree API is called, and the user information in the return value is separated by commas.

Imatrix6.0.0.rc1demo Demo Login Address: Http://demo.imatrix.net.cn:8888/imatrix

If you have problems using Imatrix platform, please login to the Imatrix Platform forum for Consultation:

http://bbs.imatrix.net.cn/forum.php?mod=forumdisplay&fid=37

Or join the buckle group 307599527

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.