View Details of an Ongoing Credit Promotion
get
/metering/api/v1/promotions/{accountId}/{promotionId}
Retrieve details of a specific ongoing credit promotion.
Request
Path Parameters
-
accountId: string
Account name, starts with cacct.
-
promotionId: string
Promotion identifier
Response
Supported Media Types
- application/vnd.com.oracle.oraclecloud.metering.promotions+json
200 Response
Success
Nested Schema : Promotion
Type:
objectTitle:
Show Source
Promotion-
accountName(optional):
string
-
amount(optional):
number
-
balance(optional):
number
-
balanceModifiedOn(optional):
object balanceModifiedOn
-
balanceUnit(optional):
string
-
canonicalLink(optional):
string
-
createdOn(optional):
object createdOn
-
currencyUnit(optional):
string
-
description(optional):
string
-
duration(optional):
string
-
durationUnit(optional):
string
-
endDate(optional):
object endDate
-
entitlementIds(optional):
array entitlementIds
-
estimatedBalance(optional):
number
-
estimatedBalanceUpdatedOn(optional):
object estimatedBalanceUpdatedOn
-
id(optional):
number
-
modifiedOn(optional):
object modifiedOn
-
sourcePromotionId(optional):
number
-
startDate(optional):
object startDate
-
status(optional):
string
-
subscriptionIds(optional):
array subscriptionIds
Nested Schema : balanceModifiedOn
Type:
objectNested Schema : createdOn
Type:
objectNested Schema : endDate
Type:
objectNested Schema : estimatedBalanceUpdatedOn
Type:
objectNested Schema : modifiedOn
Type:
objectNested Schema : startDate
Type:
objectDefault Response
Unexpected error.
Examples
These APIs are deprecated. See Cost Analysis Overview, Using the API for more information on how to track and optimize your Oracle Cloud Infrastructure spending. See the Deprecated Notices (Endpoints) to see if there is a replacement endpoint.