This URL gets the rate limiting profile details.
Resource URL
GET /ratelimitingprofile/<profile_id>
Request Parameters
URL Parameters:
Field Name | Description | Data Type | Mandatory |
|---|---|---|---|
| Profile id | Number | Yes |
Response Parameters
Following fields are returned if the request parameters are correct, otherwise error details are returned.
Payload Request Parameters:
Field Name | Description | Data Type |
|---|---|---|
| Unique rate limiting profile id, not required for POST | Number |
| Profile name | String |
| Id of domain to which this profile belongs to | Number |
| Profile visible to child domain | Boolean |
| Rate limiting profile description | String |
| Last modified time of the profile, not required for POST | String |
| Profile is editable or not, not required for POST | Boolean |
| Latest user that modified the profile, not required for POST | String |
| Bandwidth limits in the profile | Object |
Details of bandwidthLimits:
Field Name | Description | Data Type |
|---|---|---|
| Interface type, can be "MBPS_10" / "MBPS_100" / "GBPS_1" / "GBPS_100" | String |
| Bandwidth Details for each class | Array |
Details of object in ClassBandwidthDetails:
Field Name | Description | Data Type |
|---|---|---|
| Class | Number |
| Bandwidth limit | Number |
| Bandwidth unit, can be "KBPS" / "MBPS" / "GBPS" | String |
Example
Request
GET https://<NSM_IP>/sdkapi/ratelimitingprofile/1003
Response
{
"rateLimitingProfileId": 1003,
"name": "UpdateProfile",
"domainId": 0,
"visibleToChild": false,
"description": "Profile Not Visible To Child Domain ",
"lastModifiedTime": "2012-10-09 13:32:56",
"lastModifiedUser": "/admin",
"bandwidthLimits":
{
"interfaceType": "GBPS_10",
"classBandwidthDetails":
[
{
"qosClass": 1,
"bandwidthLimit": 1024,
"bandwidthUnit": "MBPS"
},
{
"qosClass": 2,
"bandwidthLimit": 0,
"bandwidthUnit": "KBPS"
},
{
"qosClass": 3,
"bandwidthLimit": 1,
"bandwidthUnit": "MBPS"
},
{
"qosClass": 4,
"bandwidthLimit": 1,
"bandwidthUnit": "GBPS"
},
{
"qosClass": 5,
"bandwidthLimit": 0,
"bandwidthUnit": "KBPS"
},
{
"qosClass": 6,
"bandwidthLimit": 0,
"bandwidthUnit": "KBPS"
},
{
"qosClass": 7,
"bandwidthLimit": 0,
"bandwidthUnit": "KBPS"
}
]
}
}
Error Information
Following error codes are returned by this URL:
S.No | HTTP Error Code | SDK API errorId | SDK API errorMessage |
|---|---|---|---|
1 | 400 | 1001 | internal error |
2 | 404 | 2403 | Invalid rate limiting profile Id / profile not visible in this domain |