POST v1/core/accounts/{accId}/accessgroups/{accgrpId}/quotaalerts
Update all the quota alerts that have been setup for this access group
Request Information
Parameters
Name | Description | Additional information |
---|---|---|
accId | the account id |
Define this parameter in the request URI. |
accgrpId | the access group id |
Define this parameter in the request URI. |
value | the new alert object |
Define this parameter in the request body. |
Request body formats
application/json, text/json
Sample:
[ { "AccessGroupID": 1, "PercentThreshold": 2.0 }, { "AccessGroupID": 1, "PercentThreshold": 2.0 }, { "AccessGroupID": 1, "PercentThreshold": 2.0 } ]
text/javascript
Sample:
[{"AccessGroupID":1,"PercentThreshold":2.0},{"AccessGroupID":1,"PercentThreshold":2.0},{"AccessGroupID":1,"PercentThreshold":2.0}]
application/xml, text/xml
Sample:
<ArrayOfAccessGroupQuotaAlert xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/pbnb_models"> <AccessGroupQuotaAlert> <AccessGroupID>1</AccessGroupID> <PercentThreshold>2</PercentThreshold> </AccessGroupQuotaAlert> <AccessGroupQuotaAlert> <AccessGroupID>1</AccessGroupID> <PercentThreshold>2</PercentThreshold> </AccessGroupQuotaAlert> <AccessGroupQuotaAlert> <AccessGroupID>1</AccessGroupID> <PercentThreshold>2</PercentThreshold> </AccessGroupQuotaAlert> </ArrayOfAccessGroupQuotaAlert>
application/x-www-form-urlencoded
Sample:
application/bson
Sample:
�02AccessGroupIDPercentThreshold@12AccessGroupIDPercentThreshold@22AccessGroupIDPercentThreshold@
Response Information
Response body formats
application/json, text/json
Sample:
{ "Success": true, "Data": [ { "AccessGroupID": 1, "PercentThreshold": 2.0 }, { "AccessGroupID": 1, "PercentThreshold": 2.0 }, { "AccessGroupID": 1, "PercentThreshold": 2.0 } ], "ErrorCode": 2, "ErrorDescription": "sample string 3", "Meta": "sample string 4" }
text/javascript
Sample:
{"Success":true,"Data":[{"AccessGroupID":1,"PercentThreshold":2.0},{"AccessGroupID":1,"PercentThreshold":2.0},{"AccessGroupID":1,"PercentThreshold":2.0}],"ErrorCode":2,"ErrorDescription":"sample string 3","Meta":"sample string 4"}
application/xml, text/xml
Sample:
<PBNBReturnOfArrayOfAccessGroupQuotaAlertCA1DLPoZ xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/pbnb_models"> <Data> <AccessGroupQuotaAlert> <AccessGroupID>1</AccessGroupID> <PercentThreshold>2</PercentThreshold> </AccessGroupQuotaAlert> <AccessGroupQuotaAlert> <AccessGroupID>1</AccessGroupID> <PercentThreshold>2</PercentThreshold> </AccessGroupQuotaAlert> <AccessGroupQuotaAlert> <AccessGroupID>1</AccessGroupID> <PercentThreshold>2</PercentThreshold> </AccessGroupQuotaAlert> </Data> <ErrorCode>2</ErrorCode> <ErrorDescription>sample string 3</ErrorDescription> <Meta>sample string 4</Meta> <Success>true</Success> </PBNBReturnOfArrayOfAccessGroupQuotaAlertCA1DLPoZ>
application/bson
Sample:
SuccessData�02AccessGroupIDPercentThreshold@12AccessGroupIDPercentThreshold@22AccessGroupIDPercentThreshold@ErrorCodeErrorDescriptionsample string 3Metasample string 4