# Details

| **API URL**     | {{url}}/admin-service/program/details |
| --------------- | ------------------------------------- |
| **Method**      | POST                                  |
| **Description** | Program details                       |

#### **Sample Input:** <a href="#program-details-sampleinput" id="program-details-sampleinput"></a>

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

#### **Output:** <a href="#program-details-output" id="program-details-output"></a>

| **Field Name**    | **Type** | **Comments**                   |
| ----------------- | -------- | ------------------------------ |
| `id`              | Number   | Program id                     |
| `name`            | String   | Program name                   |
| `id`              | Number   | Country id                     |
| `name`            | String   | Country name                   |
| `unitMeasurement` | String   | Unit measurement format        |
| `tenantId`        | Number   | Country tenant Id              |
| `id`              | Number   | Site id                        |
| `name`            | String   | Site name                      |
| `tenantId`        | Number   | Site tenantId                  |
| `status`          | String   | Program active/inactive status |

#### **Sample Output:** <a href="#program-details-sampleoutput" id="program-details-sampleoutput"></a>

```
{
    "message": "Got Program.",
    "entity": {
        "id": 14,
        "name": "Redcross",
        "country": {
            "id": 4,
            "name": "Kenya",
            "countryCode": "254",
            "unitMeasurement": "metric"
        },
        "tenantId": 156,
        "sites": [
            {
                "id": 144,
                "name": "Kanyakine Sub-County Hospital(Redcross)",
                "tenantId": 190,
                "roleName": null,
                "displayName": null,
                "culture": {
                    "id": 1
                }
            },
            {
                "id": 167,
                "name": "Coast General Teaching and Referral Hospital",
                "tenantId": 145,
                "roleName": null,
                "displayName": null,
                "culture": {
                    "id": 1
                }
            }
        ],
        "deletedSites": [],
        "active": true,
        "deleted": false
    },
    "status": true,
    "entityList": null,
    "responseCode": 200,
    "totalCount": null
}
```
