Site List - Admin

API URL

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

Method

POST

Description

Get Site list by passing country tenantId/Region tenantId

Input 1:

Field Name

Type

Mandatory

Example

Authorization(Header)

String

Yes

Bearer eyJlbmMiOiJBMTI4R0NNIiwiYWxnIjoiUlNBLU9BRVAtMjU2In0.MCm0mJDfpfjlr10Uok79-kTF7fv9Tn7cI5m2WsRDGUd9VS7iRmfbszjuc1-w5D-PYt9CdVxRMGBQlzYauhnI

Sample Input 1:

{

"limit":15, "tenantId":146

}

Output 1:

Field Name

Type

Comments

id

Number

Site id

name

String

Site name

tenantId

Number

Site tenantId

operatingUnitName

String

Operating unit name

cultureName

String

Culture name

siteLevel

String

Site level

siteType

String

Clinic

Sample Output 1:

{
    "message": "Site fetched successfully.",
    "entity": null,
    "status": true,
    "entityList": [
        {
            "id": 139,
            "name": "Selian Lutheran Hospital",
            "tenantId": 297,
            "operatingUnitName": "Arusha- Sanofi",
            "cultureName": "English - India",
            "siteLevel": "Level 4",
            "siteType": "Clinic"
        },
        {
            "id": 336,
            "name": "Netmeds Hospital",
            "tenantId": 533,
            "operatingUnitName": "Kambia",
            "cultureName": "English - India",
            "siteLevel": "Level 3",
            "siteType": "Clinic"
        },
        {
            "id": 330,
            "name": "Shuman hospital",
            "tenantId": 522,
            "operatingUnitName": "Freetown hospital",
            "cultureName": "English - India",
            "siteLevel": "Level 4",
            "siteType": "Clinic"
        },
        {
            "id": 329,
            "name": "Mercy UMC Hospital",
            "tenantId": 521,
            "operatingUnitName": "Arusha- Sanofi",
            "cultureName": "English - India",
            "siteLevel": "Level 3",
            "siteType": "Pharmacy"
        },
        {
            "id": 118,
            "name": "UpperHill Cardiovascular Centre",
            "tenantId": 36,
            "operatingUnitName": "UpperHill Cardiovascular Operating unit",
            "cultureName": "English - India",
            "siteLevel": "Level 1",
            "siteType": "Pharmacy"
        }
    ],
    "responseCode": 200,
    "totalCount": 15
}

Input 2:

Field Name

Type

Mandatory

Example

Authorization(Header)

String

Yes

Bearer eyJlbmMiOiJBMTI4R0NNIiwiYWxnIjoiUlNBLU9BRVAtMjU2In0.MCm0mJDfpfjlr10Uok79-kTF7fv9Tn7cI5m2WsRDGUd9VS7iRmfbszjuc1-w5D-PYt9CdVxRMGBQlzYauhnI

Search Name

String

No

Diabetes care

Sample Input 2:

{ "limit": 10, "skip": 0, "tenantId": 6, "searchTerm": "Diabetes care" }

Output 2:

Field Name

Type

Comments

id

Number

Site id

name

String

Site name

tenantId

Number

Site tenantId

operatingUnitName

String

Operating unit name

cultureName

String

Culture name

siteLevel

String

Site level

siteType

String

Clinic

Sample Output 2:

{
    "message": "Site fetched successfully.",
    "entity": null,
    "status": true,
    "entityList": [
        {
            "id": 15,
            "name": "Diabetes care",
            "tenantId": 110,
            "operatingUnitName": "Diabetes Care",
            "cultureName": "Bengali - Bangladesh",
            "siteLevel": "Level 4",
            "siteType": "Clinic"
        }
    ],
    "responseCode": 200,
    "totalCount": 1
}

@2024 Medtronic LABS