Account List - Admin

API URL

{{url}}/admin-service/account/account-list

Method

POST

Description

Get account list in account menu as Super Admin and Region Admin

Sample Input:

{

"tenantId":156

}

Output

Field Name

Type

Comments

id(Account)

Number

16

name

String

Fountain Health Care Account

maxNoOfUsers

String

100

updatedAt

String

2023-02-14T10:18:24+05:30

tenantId

Number

20

id(country)

Number

4

name(country)

String

Kenya

countryCode

String

254

unitMeasurement

String

metric

Sample Output:

{
"message": "Got all Accounts."
"entityList": [
        {
            "id": 16,
            "name": "Fountain Health Care Account",
            "maxNoOfUsers": 100,
            "updatedAt": "2023-02-14T10:18:24+05:30",
            "tenantId": 20,
            "country": {
                "id": 4,
                "name": "Kenya     ",
                "countryCode": "254",
                "unitMeasurement": "metric"
            }
        },
        {
            "id": 28,
            "name": "Afyadumu",
            "maxNoOfUsers": 100,
            "updatedAt": "2023-02-13T17:56:02+05:30",
            "tenantId": 291,
            "country": {
                "id": 4,
                "name": "Kenya     ",
                "countryCode": "254",
                "unitMeasurement": "metric"
            }
        }
        ]
        "responseCode": 200,
    "totalCount": 2
    }

@2024 Medtronic LABS