Refresh Usage Entitlement Bucket Action

Refresh entitlements by evaluating the usage entitlement bucket records and creating a new usage entitlement entry.

This action is available in API version 63.0 and later.

Special Access Rules 

The Refresh Usage Entitlement Bucket action is available in Enterprise, Developer, and Unlimited Editions where Usage Management is enabled. To use this action, you need the Usage Management Run Time User permission.

Supported REST HTTP Methods 

URI: /services/data/v68.0/actions/standard/refreshUsageEntitlementBucket

Formats: JSON, XML

HTTP Methods: POST

Authentication: Authorization: Bearer TOKEN

Where TOKEN is a placeholder for your OAuth access token.

Inputs 

InputTypeDescription
transactionUsageEntitlementIdstringRequired. ID of the transaction usage entitlement record that’s associated with the usage entitlement buckets that you need to refresh.

Outputs 

None.

Example 

POST

This example shows a sample request for the Refresh Usage Entitlement Bucket action.

1{
2  "inputs": [
3    {
4      "transactionUsageEntitlementId": "3ttDU00000000iZYAQ"
5    }
6  ]
7}

This example shows a sample response for the Refresh Usage Entitlement Bucket action.

1{
2  "actionName": "refreshUsageEntitlementBucket",
3  "errors": null,
4  "isSuccess": true
5}

See Also