add entitlement credit
POST/org/:orgId/entitlement/:entitlementId/addCredit
Add the credit amount to the given Entitlement. The credit amount is accumulated & saved in the current Entitlement Term of the gvien Entitlement.
Request
Path Parameters
orgId stringrequired
Organization ID
entitlementId stringrequired
Entitlement ID
- application/json
Body
required
RequestBody
creditAmountIncrement numberrequired
The amount to be added to the credit amount.
entitlementID stringrequired
entitlementTermID string
This is optional. If it is empty, the credit will be added to the default entitlement term of the entitlement.
organizationID stringrequired
Responses
- 200
- 400
- 500
OK
- application/json
- Schema
- Example (from schema)
Schema
creditAmountIncrement number
The amount to be added to the credit amount.
entitlementID string
entitlementTermID string
newCreditAmount number
The new credit amount after the increment.
organizationID string
{
"creditAmountIncrement": 0,
"entitlementID": "string",
"entitlementTermID": "string",
"newCreditAmount": 0,
"organizationID": "string"
}
Bad Request Error
- application/json
- Schema
Schema
string
Internal Server Error
- application/json
- Schema
Schema
string
Loading...