# Updates node weightage and scoring configuration for a score profile Used to update the score node details for the profile id. ## Endpoint `PUT /intelligence/api/scoreSettings/profiles/{scoreProfileId}/nodes` ## Request ### Request URL https://[{serverurl}](https://www.manageengine.com/products/desktop-central/help/api/cloud/oauth-authentication-endpoint-domain.html)/intelligence/api/scoreSettings/profiles/{scoreProfileId}/nodes ### Scope `DesktopCentralCloud.DEX.UPDATE` ### Header `Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52` ### Request Parameters #### Request Headers - **Content-Type** (string, Mandatory): `application/scoreNodesUpdate.v1+json` - **Accept** (string, Mandatory): `application/scoreNodes.v1+json` #### Path Parameters - **scoreProfileId** (string, Mandatory) #### Request Body `application/json` - JSON Array - JSON Object ### Sample Request ```curl curl --request PUT \ --url https://appdomains/intelligence/api/scoreSettings/profiles/{scoreProfileId}/nodes \ --header 'Accept: application/scoreNodes.v1+json' \ --header 'Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52' \ --header 'Content-Type: application/scoreNodesUpdate.v1+json' \ --data '[{}]' ``` ### Sample Request Body Update one leaf node weightage and scoring parameters ```json [ { "scoreNodeId": "301", "weightage": "2", "scoreConfig": { "scoreParams": [ { "score": "100", "minValue": "0", "minScore": null, "maxValue": "20", "health": "2", "maxScore": null }, { "score": "70", "minValue": "21", "minScore": null, "maxValue": "50", "health": "1", "maxScore": null } ] } } ] ``` ## Response ### Response Parameters #### HTTP Code 200 Response Body: `application/json` - JSON Object - **scoreNodeId** (long): Unique identifier of the root score node - **displayName** (string): Localized display name of the node - **scoreKey** (string): Internal score key of the node - **weightage** (string): Configured weightage of the node among its siblings - **percentContrib** (string): Rounded percent contribution of the node to its parent - **scoreNodeLevel** (string): Numeric level of the node in the score tree - **isDefault** (boolean): Whether the node comes from the default profile definition - **engageMode** (boolean): Whether the node belongs to engage mode - **nodeChilds** (JSON Array): Child category nodes under the root node - **totalChildrenWeightage** (string): Sum of enabled child node weightages under the root ### Possible Response Codes - **200**: HTTP code ### Sample Response: HTTP 200 ```json { "scoreNodeId": 1, "weightage": 5, "scoreKey": "ROOT", "isDefault": true, "percentContrib": 100, "displayName": "Experience Score", "scoreNodeLevel": 0, "engageMode": false, "totalChildrenWeightage": 3, "nodeChilds": [ { "scoreNodeId": 101, "weightage": 3, "scoreKey": "DEVICE_PERFORMANCE", "isDefault": true, "percentContrib": 60, "displayName": "Device Performance", "isEnabled": true, "scoreNodeLevel": 1, "engageMode": false, "description": "Tracks performance related metrics", "totalChildrenWeightage": 2, "nodeChilds": [ { "scoreNodeId": 301, "weightage": 2, "scoreKey": "CPU_USAGE", "displayName": "CPU Usage", "engageMode": false, "description": "Average CPU usage", "isDefault": true, "unit": "%", "percentContrib": 66.7, "isEnabled": true, "scoreNodeLevel": 2, "scoreConfig": { "scoreParams": [ { "score": 100, "minValue": "0", "minScore": null, "maxValue": "20", "health": 2, "maxScore": null, "value": null } ], "uiConfig": null, "scoreFunction": 1, "uiLimits": { "minValue": "0", "maxValue": "100" } }, "nodeChilds": [] } ] } ] } ``` ## Rate Limit ![](https://www.zohowebstatic.com/sites/zweb/images/people/ico-help.png) **Duration:** 1 minute | **Threshold:** 30 | **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.