Example: Increase grantedUnits
Example: Increase grantedUnits
Initial:Action: Update granted units to 120 unitsPOST OutputAdjustment units = new granted units - previous granted units New balance = current balance + adjustment units
/accounts/acc.fdjsl.313/features/feat.fdjsl.313/entries/<entry_id>
Example: Reduce grantedUnits
Example: Reduce grantedUnits
Initial:Action: Update granted units to 70 unitsPOST OutputAdjustment units = new granted units - previous granted units New balance = current balance + adjustment units ->
/accounts/acc.fdjsl.313/features/feat.fdjsl.313/entries/<entry_id>
400 Bad Request
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
account_id corresponding to an account
Maximum length:
50
Example:
"ACC00001"
feature_id corresponding to a feature
Maximum length:
50
Example:
"feat.fdjskl.sdkjl"
entryId
corresponding to a particular entitlement/overage grant entry
Formats:
- If source of entry is an entitlement grant rate card in price plan:
schedule_id#pricing_cycle_start_date$PRICE_PLAN
- If source of entry is an entitlement overage rate card in price plan:
schedule_id#pricing_cycle_start_date$OVERAGE
- If source of entry is a purchase:
purchase_id#int_index$PURCHASE
Maximum length:
50
Example:
"purchase.21HbazIT3JQ.D90jC#1$PURCHASE"
Body
application/json
Response
Success response
Get feature credits response