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": "TOM",
            "FullName": "Tom Admin",
            "Locked": false
        },
        {
            "UserID": "SUPPORT1",
            "FullName": "Trakit Support",
            "Locked": false
        },
        {
            "UserID": "SUPPORT2",
            "FullName": "Trakit Support-L2",
            "Locked": false
        }
    ]
}

Things to know about this API:

    • Token - You can use Login API to get token displayed under Info
  • IsExternal
      1. true will display External Users
    1. false will display Internal Users
  • IncludeLocked
      1. true will display Locked and Unlocked users
    1. false will display only Unlocked users
    • Search - You can search with UserID, First Name and Last Name.
    • SkipCount - 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