# Retrieve software metering rules Returns the list of software metering rules configured in the system, including app definition details and usage statistics. ## Endpoint `GET /dcapi/inventory/viewData/swMeteringSummary` ## Request ### Request URL https://[{serverurl}](https://www.manageengine.com/products/desktop-central/help/api/cloud/oauth-authentication-endpoint-domain.html)/dcapi/inventory/viewData/swMeteringSummary ### Scope `DesktopCentralCloud.Inventory.READ` ### Header `Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52` ### Request Parameters #### Request Headers - **Accept** (`string`, Mandatory): `application/InventoryMobileAPI.v1+json` #### Query Parameters - **toolID** (`string`, Mandatory): Set value as `7771`. ### Sample Request ```curl curl --request GET \ --url 'https://appdomains/dcapi/inventory/viewData/swMeteringSummary?toolID=7771' \ --header 'Accept: application/InventoryMobileAPI.v1+json' \ --header 'Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52' ``` ## Response Parameters ### HTTP Code 200 **Response Body:** `application/json` **Response type:** `JSON Object` - **metadata** (`JSON Object`): Pagination metadata - **totalRecords** (`string`): Total number of records matching the query - **messageResponse** (`JSON Array`): Array of software metering rule objects - **totalPages** (`string`): Total number of pages - **Links** (`JSON Object`): Pagination links - **status** (`string`): Response status - success ### HTTP Code 500 **Response Body:** `application/json` **Response type:** `JSON Object` - **error_code** (`string`): `INTERNAL_ERROR` - unexpected exception in the service layer - **error_description** (`string`): Internal server error message ## Possible Response Codes - **200**: HTTP code - **500**: HTTP code ### Sample Response: HTTP 200 Software metering rules ```json { "metadata": { "limit": 25, "page": 1 }, "totalRecords": "2", "messageResponse": [ { "original_file_name_transform": "--", "file_version": "", "comments_transform": "--", "product_name_transform": "--", "added_time": "1778827877323", "modified_time_transform": "May 15, 2026 12:21 PM", "os_platform_transform": "Windows", "swm_discovered_count": "1", "app_definition_status": "true", "modified_time": "1778827877323", "added_by": "SampleUser", "original_file_name": "", "file_version_transform": "--", "comments": "", "modified_by_transform": "SampleUser", "file_name": "sampleapp.exe", "os_platform": "1", "total_run_time": "145540", "definition_name_transform": "Sample App", "added_by_transform": "SampleUser", "product_name": "", "file_name_transform": "sampleapp.exe", "invswmeteringrulessummaryapp_definition_id": "1", "total_run_count": "726", "definition_name": "Sample App", "modified_by": "SampleUser", "app_definition_id": "1", "added_time_transform": "May 15, 2026 12:21 PM", "customer_id": "1" } ], "totalPages": 1, "Links": { "next": null, "prev": null }, "status": "success" } ``` ### Sample Response: HTTP 500 Server error ```json { "error_description": "Internal server error", "error_code": "INTERNAL_ERROR" } ``` ## Rate Limit ![ ](https://www.zohowebstatic.com/sites/zweb/images/people/ico-help.png) **Duration:** 1 minute | **Threshold:** 120 | **Lock period:** 5 minutes Duration - Time window for the threshold. Threshold - Number of API calls allowed within the specified duration. Lock Period - Wait time before consecutive API requests.