Send feedback
Configure the number of decimal places for rate plan rates
You're viewing Apigee Edge documentation.
Go to the
Apigee X documentation . info
You can configure the number of decimal places that can be specified for rate plan rates for
an organization, including rates for flat fees, volume bands, and bundles. By default, up to four
decimal places are allowed.
To configure the number of decimal places, add the MINT.RATE_DECIMAL_PLACES
property to an organization using the API. For example, you could use the following command to configure rate plan rates
that can specify up to three decimal places for your organization:
$ curl -H "Content-Type:application/json" -X POST -d \
'{
"properties": {
"property": [ {
"name" : "MINT.RATE_DECIMAL_PLACES",
"value" : "3"
} ]
}
}' \
"https://api.enterprise.apigee.com/v1/organizations/{org_name}" \
-u email:password
For more information about updating organization properties using the API, see Update organization properties .
Note:
The MINT.RATE_DECIMAL_PLACES
is currently honored
by the API only. The maximum number of decimal places that you can specify when creating rate
plans using the UI will be 4, regardless of the MINT.RATE_DECIMAL_PLACES
property
value.
The update made to the MINT.RATE_DECIMAL_PLACES
property takes about 10
minutes to reflect in the system. Any rate plans created within 10 minutes of the configuration
change do not have the updated value. To verify if the MINT.RATE_DECIMAL_PLACES
property is updated,
you can use the organizations.get API
to view the current value of the property.
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-04-30 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"Missing the information I need"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"Too complicated / too many steps"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"Out of date"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"Samples / code issue"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
Need to tell us more?
{"lastModified": "Last updated 2024-04-30 UTC."}
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-04-30 UTC."],[],[]]