Subscriptions
Get Hospital Group Usage
Get aggregated usage for all tenants in a hospital group.
Returns usage data for each tenant in the hospital group, along with the total usage across all tenants.
Access:
- mtk_admin: can view any hospital group
- super_admin: can view only their own hospital group
get/admin/hospital-groups/{hospital_group_id}/usage
Request
- Base URLhttps://developer.claimmind.life (the document declares no server; this is the origin it was published from)
- AuthOAuth 2PasswordToken URL: token
Path parameters
hospital_group_idstring required
Response
Successful Response
Example response
{
"hospital_group_id": "hg-001",
"tenants": [
{
"plan_code": "claim_mind_basic",
"rawat_inap_count": 11,
"rawat_jalan_count": 5,
"tenant_id": "tenant-001",
"tenant_name": "Jakarta General Hospital",
"total_usage": 16
},
{
"plan_code": "claim_mind_basic",
"rawat_inap_count": 0,
"rawat_jalan_count": 8,
"tenant_id": "tenant-002",
"tenant_name": "Surabaya Clinic",
"total_usage": 8
}
],
"total_rawat_inap_count": 11,
"total_rawat_jalan_count": 13,
"total_usage": 24
}Changes
No recorded changes to this operation across all 1 revision of this API.