Operating Unit - Details

API URL

{{url}}/admin-service/operating-unit/details

Method

POST

Description

Operating unit details

Sample Input:

{ "id": 55, "tenantId": 235 }

Output:

Field Name

Type

Comments

id

Integer

Operating unit id

name

String

Operating unit name

tenantId

Bigint

Operating unit id

id

Integer

OU Admin id

username

String

OU Admin mail id

firstName

String

OU Admin first name

lastName

String

OU Admin last name

gender

String

OU Admin gender

id

Integer

Country id

name

String

Country name

countryCode

String

Country code

unitMeasurement

String

Unit measurement format across region

phoneNumber

String

OU Admin phone number

id

Integer

Time zone id

offset

String

Time zone offset

description

String

Time zone description

Sample Output:

{
    "message": "Operating unit fetched successfully.",
    "entity": {
        "id": 55,
        "name": "Kilifi",
        "tenantId": 235,
        "users": [
            {
                "id": 4966,
                "username": "kilixxxuadmin@spice.mdt",
                "firstName": "Kilifi",
                "lastName": "Kilifi",
                "gender": null,
                "country": {
                    "id": 4,
                    "name": "Kenya",
                    "countryCode": "254",
                    "unitMeasurement": "metric"
                },
                "countryCode": "254",
                "phoneNumber": "78XXX00012",
                "timezone": {
                    "id": 60,
                    "offset": "+00:00",
                    "description": "(UTC) Coordinated Universal Time"
                }
            }
        ],
        "account": {
            "id": 9,
            "name": "Novo Kenya",
            "tenantId": 146
        }
    },
    "status": true,
    "entityList": null,
    "responseCode": 200,
    "totalCount": null
}

@2024 Medtronic LABS