Patient Transfer - Role user list

API URL

{{url}}/user-service/user/role-user-list

Method

POST

Description

Patient transfer - Role user list

Input:

Field Name

Type

Mandatory

Example

Authorization(Header)

String

Yes

Bearer eyJlbmMiOiJBMTI4R0NNIiwiYWxnIjoiUlNBLU9BRVAtMjU2In0.MCm0mJDfpfjlr10Uok79-kTF7fv9Tn7cI5m2WsRDGUd9VS7iRmfbszjuc1-w5D-PYt9CdVxRMGBQlzYauhnI

Input:

Field Name

Type

Mandatory

Example

Physicain

String

Yes

Pr

Sample Input:

{ "searchTerm": "pr", "tenantId": 5 }

Output:

Field Name

Type

Comments

firstName

String

Physician first name

middleName

String

Physician middle name

lastName

String

Physician last name

gender

String

Physician gender

phoneNumber

String

Physician phone number

address

String

Physician address

username

String

Physician mail

password

String

Physician password

countryCode

String

Physician country code

isBlocked

Boolean

blockedDate

Timestamp

forgetPasswordToken

String

forgetPasswordTime

Timestamp

forgetPasswordCount

Integer

invalidLoginTime

Timestamp

invalidLoginAttempts

Integer

lastLoggedIn

Timestamp

lastLoggedOut

Timestamp

cultureId

Bigint

country

Object

timezone

Object

roles

Object

organizations

Object

accountNonExpired

Boolean

accountNonLocked

Boolean

credentialsNonExpired

Boolean

licenseAcceptance

Boolean

authorities

Object

Sample Output:

{
  "message": "Got All users.",
  "entity": null,
  "status": true,
  "entityList": [
    {
      "createdBy": 1,
      "id": 14,
      "updatedBy": 1,
      "createdAt": "2023-05-23T13:04:17+00:00",
      "updatedAt": "2023-05-23T13:04:57+00:00",
      "tenantId": 5,
      "firstName": "Zen",
      "middleName": null,
      "lastName": "Provider",
      "gender": "Female",
      "phoneNumber": "9877664433",
      "address": null,
      "username": "zencare_pro@spice.mdt",
      "password": "3901e08e724bb73a72137e03e2f03d54d70eaeea39f8a7e0459f15d9e80585ffd2159283b8324d72f7ba8c2aa2f0e82e5c1b685d7ef569e2ebad02d71ba4076e",
      "countryCode": "254",
      "isBlocked": false,
      "blockedDate": null,
      "forgetPasswordToken": "eyJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJTcGljZUFwcGxpY2F0aW9uIiwiZXhwIjoxNjg0OTMzNDU3LCJpYXQiOjE2ODQ4NDcwNTcsImp0aSI6IjE0IiwidXNlcm5hbWUiOiJ6ZW5jYXJlX3Byb0BzcGljZS5tZHQifQ.sxioeK7-UiaJzTtxSW4RFPIR2SigGBGXdR9FGLupFCE",
      "forgetPasswordTime": "2023-05-23T18:34:17+05:30",
      "forgetPasswordCount": 0,
      "invalidLoginTime": null,
      "invalidLoginAttempts": 0,
      "invalidResetTime": null,
      "isPasswordResetEnabled": false,
      "passwordResetAttempts": 0,
      "lastLoggedIn": null,
      "lastLoggedOut": null,
      "cultureId": 1,
      "country": {
        "createdBy": 1,
        "id": 1,
        "updatedBy": 23,
        "createdAt": "2023-05-23T12:15:19+00:00",
        "updatedAt": "2023-05-26T09:44:25+00:00",
        "tenantId": 1,
        "name": "Kenya",
        "countryCode": "254",
        "unitMeasurement": "metric",
        "active": true,
        "deleted": false
      },
      "timezone": {
        "createdBy": 1,
        "id": 1,
        "updatedBy": 1,
        "createdAt": "2022-12-09T00:41:09+00:00",
        "updatedAt": "2022-12-09T00:41:09+00:00",
        "abbreviation": "IST",
        "description": "(UTC+05:30) Chennai, Kolkata, Mumbai, New Delhi",
        "offset": "+05:30",
        "active": true,
        "deleted": false
      },
      "roles": [
        {
          "createdBy": 1,
          "id": 17,
          "updatedBy": 1,
          "createdAt": "2023-05-23T12:15:19+00:00",
          "updatedAt": "2023-05-23T12:15:19+00:00",
          "name": "PROVIDER",
          "level": null,
          "authority": "PROVIDER",
          "active": true,
          "deleted": false
        }
      ],
      "organizations": [
        {
          "createdBy": 1,
          "id": 5,
          "updatedBy": 1,
          "createdAt": "2023-05-23T13:04:17+00:00",
          "updatedAt": "2023-05-23T13:04:17+00:00",
          "tenantId": 3,
          "formDataId": 2,
          "formName": "site",
          "name": "Zen care",
          "sequence": 0,
          "parentOrganizationId": 3,
          "active": true,
          "deleted": false
        }
      ],
      "enabled": true,
      "accountNonExpired": false,
      "accountNonLocked": false,
      "credentialsNonExpired": false,
      "licenseAcceptance": false,
      "authorities": [
        {
          "createdBy": 1,
          "id": 17,
          "updatedBy": 1,
          "createdAt": "2023-05-23T12:15:19+00:00",
          "updatedAt": "2023-05-23T12:15:19+00:00",
          "name": "PROVIDER",
          "level": null,
          "authority": "PROVIDER",
          "active": true,
          "deleted": false
        }
      ],
      "active": true,
      "deleted": false
    }
  ],
  "responseCode": 200,
  "totalCount": 1
}

@2024 Medtronic LABS