Region Admin - Details

API URL

{{url}}/admin-service/data/country/details

Method

POST

Description

View Region admin details

Sample Input:

{

"tenantId":"6",

"id":"4"

}

Output

Field Name

Type

Comments

id

Number

Country id

name

String

Country name

countrycode

Number

Country code

unitMeasurement

String

Country unit measurement

id

Number

Region admin id

username

String

Region admin mail

firstName

String

First name

lastName

String

Last name

gender

String

Admin gender

tenantId

Number

Country tenant id

phoneNumber

String

Admin phone number

id

Number

Timezone

offset

String

Timezone offset

description

String

Timezone description

Sample Output:

{
    "message": "Got Country.",
    "entity": {
        "id": 4,
        "name": "India",
        "countryCode": "91",
        "unitMeasurement": "metric",
        "users": [
            {
                "id": 4,
                "username": "india_regadxxx@spice.mdt",
                "firstName": "India",
                "lastName": "Admin",
                "gender": "",
                "country": {
                    "id": 4,
                    "name": "India",
                    "countryCode": "91",
                    "unitMeasurement": "metric",
                    "tenantId": 6
                },
                "countryCode": "91",
                "phoneNumber": "9894XXX335",
                "timezone": {
                    "id": 2,
                    "offset": "-08:00",
                    "description": "(UTC-08:00) Baja California"
                }
            }
        ],
        "tenantId": 6
    },
    "status": true,
    "entityList": null,
    "responseCode": 200,
    "totalCount": null
}

@2024 Medtronic LABS