Site - Details

API URL

{{url}}/admin-service/site/details

Method

POST

Description

Site details

Sample Input:

{ "tenantId": 151, "id": 226 }

Output:

Field Name

Type

Comments

id

Number

Site id

name

String

Site name

email

String

Email for site

addressType

String

Site address type (Physical)

addressUse

String

Site address use (Work)

address1

String

Site address

address2

String

Site address

latitude

Number

Location co-ordinates

longitude

Number

Location co-ordinates

label

String

City name

phoneNumber

String

Contact details for site

postalCode

Number

City postal code

label

String

Site level

value

String

Site level (Level 1)

siteType

String

Site type (Clinical)

id

Number

Country id

name

String

Country name

tenantId

Number

Country tenantid

id

Number

County id

name

String

County name

id

Number

Subcounty id

name

String

Subcounty name

id

Number

Account id

name

String

Account name

tenantId

Number

Account tenant id

id

Number

Operating unit id

name

String

Operating unit name

tenantId

Number

Operating unit tenant id

id

Number

Culture id

name

String

Culture name

tenantId

Number

Site tenant id

status

String

Site active/inactive status

Sample Output:

{
    "message": "Site fetched successfully.",
    "entity": {
        "id": 226,
        "name": "Mtwapa Health Centre",
        "email": "MtwxxxHealxxxentre@gmail.com",
        "addressType": "Physical",
        "addressUse": "Work",
        "address1": "Mombasa Malindi road Mtwapa Town 1 Km to the left. next to Chiefs office",
        "address2": null,
        "latitude": "-3.94891",
        "longitude": "39.74509",
        "city": {
            "label": "",
            "value": {
                "Longitude": "39.74509",
                "Latitude": "-3.94891"
            }
        },
        "phoneNumber": "8231XXX312",
        "postalCode": 0,
        "siteLevel": {
            "label": "Level 3",
            "value": "Level 3"
        },
        "siteType": "Clinic",
        "country": {
            "id": 4,
            "name": "Kenya",
            "tenantId": 156
        },
        "county": {
            "id": 62,
            "name": "Kilifi",
            "tenantId": null
        },
        "subCounty": {
            "id": 539,
            "name": "Kilifi South",
            "tenantId": null
        },
        "account": {
            "id": 9,
            "name": "Novo Kenya",
            "tenantId": 146
        },
        "operatingUnit": {
            "id": 55,
            "name": "Kilifi",
            "tenantId": 235
        },
        "culture": {
            "id": 1,
            "name": "English - India",
            "tenantId": null
        },
        "tenantId": 151
    },
    "status": true,
    "entityList": null,
    "responseCode": 200,
    "totalCount": null
}

@2024 Medtronic LABS