Oracle® Healthcare Master Person Index Relationship Management REST APIs Reference Guide Release 4.0 E71322-01 |
|
|
PDF · Mobi · ePub |
The stats resources contain the following APIs:
This API is used to get stats REST API versioning information.
http(s)://<server>:<port>/ohmpi-rm/1.0.0/stats
HTTP GET
application/json;charset=UTF-8
Parameter | Description |
---|---|
version | OHMPI RM version number |
description | The description of stats resources |
url | The URL of this REST API |
Status Code | Description |
---|---|
200 | Success |
404 | Incorrect URI |
http://localhost:7001/ohmpi-rm/1.0.0/stats
{ "version": "1.0.0", "description": "OHMPI RM Stats Resources", "url": "http://localhost:7001/ohmpi-rm/1.0.0/stats" }
200
This API is used to get metadata stats information, such as active and inactive count of entity types, relationship types, rulesets, tasks, and domains.
http(s)://<server>:<port>/ohmpi-rm/1.0.0/stats/metadata
HTTP GET
application/json;charset=UTF-8
Parameter | Description |
---|---|
totalActiveEntityTypes | Number of Active Entity Types in RM |
totalInactiveEntityTypes | Number of Inactive Entity Types in RM |
totalActiveRelationshipTypes | Number of Active Relationship Types in RM |
totalInactiveRelationshipTypes | Number of Inactive Relationship Types in RM |
totalActiveRulesets | Number of Active Rulesets Types in RM |
totalInactiveRulesets | Number of Inactive Rulesets Types in RM |
totalActiveTasks | Number of Active Tasks in RM |
totalInactiveTasks | Number of Inactive Tasks in RM |
totalDomains | Number of Domains in RM |
links | Provides information of REST API invoked. For more information, see Section A.3, "Links". |
Status Code | Description |
---|---|
200 | Success |
404 | Incorrect URI |
500 | Error while processing |
http://localhost:7001/ohmpi-rm/1.0.0/stats/metadata
{ "links": [ { "href": "/ohmpi-rm/1.0.0/stats/metadata", "mediaType": "application/json", "rel": "canonical" } ], "totalActiveEntityTypes": 6, "totalActiveRelationshipTypes": 10, "totalActiveRulesets": 1, "totalActiveTasks": 1, "totalDomains": 3, "totalInactiveEntityTypes": 0, "totalInactiveRelationshipTypes": 0, "totalInactiveRulesets": 0, "totalInactiveTasks": 0 }
200
This API is used to get resources stats information, such as active and inactive count of entity, relationship, potential or resolved relationships, and transactions (last 30 days).
http(s)://<server>:<port>/ohmpi-rm/1.0.0/stats/resources
HTTP GET
application/json;charset=UTF-8
Parameter | Description |
---|---|
totalActiveEntities | Number of Active Entities in RM |
totalInactiveEntities | Number of Inactive Entities in RM |
totalActiveRelationships | Number of Active Relationships in RM |
totalInactiveRelationships | Number of Inactive Relationships in RM |
totalPotentialRelationships | Number of Relationships with validity=Potential in RM |
totalResolvedRelationships | Number of Relationships with validity=Resolved in RM |
totalTransactionsLastMonth | Number of Transactions (Create, Update, Activate, or Deactivate) in last 30 days |
links | Provides information of REST API invoked. For more information, see Section A.3, "Links". |
Status Code | Description |
---|---|
200 | Success |
404 | Incorrect URI |
500 | Error while processing |
http://localhost:7001/ohmpi-rm/1.0.0/stats/resources
{ "links": [ { "href": "/ohmpi-rm/1.0.0/stats/resources", "mediaType": "application/json", "rel": "canonical" } ], "totalActiveEntities": 31, "totalActiveRelationships": 85, "totalInactiveEntities": 20, "totalInactiveRelationships": 32, "totalPotentialRelationships": 37, "totalResolvedRelationships": 80, "totalTransactionsLastMonth": 184 }
200