TrakIT API‎ > ‎Pending API‎ > ‎

Get User List

The below API is used to get users list from User Management.


Request: GET

Signature:
 /api/mobile/GetUserList?Token={Login_Token}&IsExternal={Boolean_Value}&IncludeLocked={Boolean_Value}&Search={Search_Text}&SkipCount={Skip_Count}



Sample: /api/mobile/GetUserList?Token=VomYEMiECFFyAQ3==&IsExternal=false&IncludeLocked=false&Search=Trakit&SkipCount=0

Response: 

{
    "Code": 1,
    "Info": "",
    "RowsAffected": 5,
    "Scalar": null,
    "Identity": 0,
    "RetInfo": [
        {
            "UserID": "MDOUSER",
            "FullName": "Manado Trakit User",
            "Locked": false
        },
        {
            "UserID": "SBYUSER",
            "FullName": "Surabaya Trakit User",
            "Locked": false
        },
        {
            "UserID": "ADMIN",
            "FullName": "Trakit Admin",
            "Locked": false
        },
        {
            "UserID": "SUPPORT1",
            "FullName": "Trakit Support",
            "Locked": false
        },
        {
            "UserID": "SUPPORT2",
            "FullName": "Trakit Support-L2",
            "Locked": false
        }
    ]
}


Things to know about this API:
    • Login Token (You can get the Login_Token using Login API)

    • IsExternal
      1. true will display External Users 
      2. false will display Internal Users 

    • IncludeLocked
      1. true will display Locked and Unlocked users 
      2. false will display only Unlocked users

    • SearchText (You can search with UserID, First Name and Last Name.)

    • Skip Count (It is an integer which decides the number of rows returned. For example: If you send 0, then it will display 0 to 20 rows. If you send 13, then it will display 13 to 33 rows.)

    • RowsAffected - Displays the total number of Users

    Comments