Get User By Username

API URL

{{url}}/fhir-user-service/users/username

Method

GET

Request Headers

Authorization : Bearer [token]

Description

Retrieves a user by Username

Input

Field Name

Type

Example

username(parameter)

String

Username

Authorization(Header)

String

Authorized token from login response

Sample Input:

{
    "username": "fhiradmin@mtdlabs.com"
}

Sample Output:

{
    "message": "Got user.",
    "entity": {
        "createdBy": 1,
        "updatedBy": 1,
        "id": 1,
        "createdAt"
    }
}

Last updated

@2024 Medtronic LABS