Country Dashboard - Superadmin
API URL
{{url}}/admin-service/data/country/list
Method
POST
Description
Get country list
Sample Input:
{ "limit": 10, "searchTerm": ""
}
Output
Field Name
Type
Comments
id(Country)
Number
3
name
String
Ghana
accountsCount
Number
9
siteCount
Number
110
tenantId
Number
290
oucount
Number
13
Sample Output:
{
    "message": "Got Country.",
    "entity": null,
    "status": true,
    "entityList": [
        {
            "id": 1,
            "name": "Sierra Leone",
            "accountsCount": 3,
            "siteCount": 10,
            "tenantId": 1,
            "oucount": 8
        },
        {
            "id": 5,
            "name": "US",
            "accountsCount": 1,
            "siteCount": 2,
            "tenantId": 52,
            "oucount": 1
        },
        {
            "id": 2,
            "name": "Tanzania",
            "accountsCount": 2,
            "siteCount": 34,
            "tenantId": 207,
            "oucount": 4
        },
        {
            "id": 3,
            "name": "Ghana",
            "accountsCount": 9,
            "siteCount": 110,
            "tenantId": 290,
            "oucount": 13
        },
        {
            "id": 4,
            "name": "Kenya     ",
            "accountsCount": 20,
            "siteCount": 100,
            "tenantId": 156,
            "oucount": 28
        }
    ],
    "responseCode": 200,
    "totalCount": 5
}