Get User List

API URL

{{url}}/fhir-user-service/users/all/{pageNumber}

Method

GET

Request Headers

Authorization : Bearer [token]

Description

Retrieves all users

Input

Field Name

Type

Example

pageNumber(parameter)

Number

1

Authorization(Header)

String

Authorized token from login response

Sample Input:

{{url}}/fhir-user-service/users/all/1

Sample Output:

{
    "message": "Got All users.",
    "entity": null,
    "status": true,
    "entityList": [
        {
            "id": 1,
            "username": "fhiradmin@mtdlabs.com",
            "firstName": "FHIR",
            "middleName": "",
            "lastname": "ADMIN",
            "companyName": "mdt_labs",
            "companyEmail": "fhiradmin@mtdlabs.com",
            "countryCode": "US",
            "phone": "123-456-7890",
            "address": "123 Main St",
            "website": "www.company.com",
            "country": {
                "id": 1,
                "name": "United States",
                "code": "1",
                "abbreviation": "US"
            },
            "timezone": {
                "id": 1,
                "offset": "-5:00",
                "description": "Eastern Time Zone"
            },
            "forgetPasswordCount": 0,
            "invalidLoginAttempts": 0,
            "roles": [
                {
                    "id": 1,
                    "name": "FHIR_Admin",
                    "level": "1"
                }
            ],
            "authorization": null,
            "currentDate": 0,
            "isSuperUser": false,
            "createdBy": 1,
            "updatedBy": 1
        }
    ],
    "responseCode": 200,
    "totalCount": 1
}

Last updated

@2024 Medtronic LABS