Get Asset Charges
get
/rest/v19/assets/{id}/charges
This operation retrieves all charges of the specified asset.
Request
Path Parameters
Query Parameters
-
fields: string
This parameter filters the resource attributes. Only the specified attributes are returned, which means that if no attributes are specified, all attributes are returned.
-
limit: integer
This parameter restricts the number of resources returned inside the resource collection. If the limit exceeds the resource count then the framework will only return the available resources.
-
offset: integer
Used to define the starting position of the resource collection. If offset exceeds the resource count then no resources are returned. Default value is 0.
-
onlyData: boolean
The resource item payload will be filtered in order to contain only data (no links section, for example).
-
orderby: string
This parameter orders a resource collection based on the specified attributes. The parameter value is a comma-separated string of attribute names, each optionally followed by a colon and "ASC" or "DESC". Specify "ASC" for ascending and "DESC" for descending. The default value is "ASC". For example, ?orderby=field1:ASC,field2:DESC.
-
q: string
Filter (a ???where???clause) to restrict the items returned in the collection. By default, no filtering is applied.
-
totalResults: boolean
The resource collection representation will include the total row count when "?totalResults=true", otherwise the count is not included. The default value is "false".
Response
Supported Media Types
- application/json
200 Response
Success
Root Schema : ResponseCollectionModel_assetChargeBean
Type:
Show Source
object-
count:
integer()
Title:
CountRead Only:trueThe number of resource instances returned in the current range. -
hasMore:
boolean()
Title:
HasMoreRead Only:trueIndicates whether more resources are available on the server than the subset returned in the response. If the value is true, then there are more resources to retrieve from the server. The default value is false. -
items:
array items
-
limit:
integer()
Title:
LimitRead Only:trueThe actual paging size used by the server. -
links:
array Links
Title:
LinksRead Only:trueThe link relations associated with the resource instance. -
offset:
integer()
Title:
OffSetRead Only:trueThe offset value used in the current page. -
totalResults:
integer()
Title:
Total ResultsRead Only:trueCaptures the total count of the resource instances, which not only includes the instances in the current range, but all instances on the server that satisfy the request.
Nested Schema : Links
Type:
arrayTitle:
LinksRead Only:
trueThe link relations associated with the resource instance.
Show Source
Nested Schema : assetChargeBean
Type:
Show Source
object-
applyTo:
string()
Title:
Apply ToIndicates what this charge applies to -
assetKey:
string()
Title:
Asset Key -
chargeDefIntegrationId:
string()
Title:
Charge Definition Integration IdThe charge definition code in the integrated order management system -
chargeName:
string()
Title:
Charge NameName of the charge -
chargeSequenceNumber:
integer(int64)
-
chargeTypeCode(required):
string()
Title:
Charge Type Code -
contractDiscountAmount:
Contract Discount Amount
Title:
Contract Discount AmountDiscount amount based on contract -
contractListAmount:
Contract List Amount
Title:
Contract List AmountList amount based on contract -
contractNetAmount:
Contract Net Amount
Title:
Contract Net AmountNet amount based on contract -
customDiscountAmount:
Custom Discount Amount
Title:
Custom Discount AmountAmount of custom discount -
customDiscountType:
string()
Title:
Custom Discount TypeType of custom discount applied -
dateAdded:
string()
Title:
Date AddedRead Only:trueLast modified date of Asset Charge Bean. -
dateModified:
string()
Title:
Date ModifiedRead Only:trueCreation date of the Asset Charge Bean. -
dynamicPricingType:
string()
Title:
Dynamic Pricing TypeType of dynamic pricing -
extendedDiscountAmount:
Extended Discount Amount
Title:
Extended Discount AmountTotal extended discount amount -
id:
integer()
Title:
idRead Only:true -
links:
array Links
Title:
LinksRead Only:trueThe link relations associated with the resource instance. -
listAmount:
List Amount
Title:
List AmountThe list amount for this charge -
netAmount:
Net Amount
Title:
Net AmountTotal net amount -
netPrice:
Net Price
Title:
Net PricePrice after applying discounts -
pricePeriodCode:
string()
Title:
Price Period CodeCode representing the pricing period -
priceTypeCode(required):
string()
Title:
Price Type Code -
priceUom:
string()
Title:
Price UOMUnit of measure for the price -
primaryFlag:
boolean()
Title:
Primary FlagIndicates if this is the primary charge. -
rateCardStructure:
string()
Title:
Rate Card StructureStructure of the rate card -
unitPrice:
Unit Price
Title:
Unit PricePrice per unit
Nested Schema : Contract Discount Amount
Title:
Contract Discount AmountDiscount amount based on contract
Match All
Discount amount based on contract
Show Source
Nested Schema : Contract List Amount
Title:
Contract List AmountList amount based on contract
Match All
List amount based on contract
Show Source
Nested Schema : Contract Net Amount
Title:
Contract Net AmountNet amount based on contract
Match All
Net amount based on contract
Show Source
Nested Schema : Custom Discount Amount
Title:
Custom Discount AmountAmount of custom discount
Match All
Amount of custom discount
Show Source
Nested Schema : Extended Discount Amount
Title:
Extended Discount AmountTotal extended discount amount
Match All
Total extended discount amount
Show Source
Nested Schema : Links
Type:
arrayTitle:
LinksRead Only:
trueThe link relations associated with the resource instance.
Show Source
Nested Schema : List Amount
Title:
List AmountThe list amount for this charge
Match All
The list amount for this charge
Show Source
Nested Schema : Net Amount
Title:
Net AmountTotal net amount
Match All
Total net amount
Show Source
Nested Schema : Net Price
Title:
Net PricePrice after applying discounts
Match All
Price after applying discounts
Show Source
Nested Schema : amountBean
Type:
Show Source
object-
amount:
number()
Title:
AmountAmount -
currencyCode:
string()
Title:
Currency CodeCurrency Code
Examples
The following example shows how to retrieve all charges for the specified asset by submitting a GET request to the REST resource using cURL. For more information about cURL, see Use cURL.
curl -X GET -H "Authorization: Bearer <token>" -H "Content-type: application/json" -H "Accept: application/json" https://sitename.oracle.com/rest/v19/assets/51587512/charges
Response Body Sample
{
"offset": 0,
"limit": 1000,
"count": 1,
"hasMore": false,
"items": [{
"id": 51587516,
"assetKey": "abo_4d93b451-0ce6-4df3-8a08-e725f1c67bd3",
"chargeSequenceNumber": 1,
"dateAdded": "2025-08-28T03:43:21Z",
"dateModified": "2025-08-28T03:43:21Z",
"primaryFlag": true,
"applyTo": "Price",
"chargeTypeCode": "ORA_SALE",
"priceTypeCode": "One Time",
"unitPrice": {
"amount": 1888,
"currencyCode": "USD"
},
"listAmount": {
"amount": 1888,
"currencyCode": "USD"
},
"customDiscountAmount": {
"amount": 0,
"currencyCode": "USD"
},
"extendedDiscountAmount": {
"amount": 0,
"currencyCode": "USD"
},
"netPrice": {
"amount": 1888,
"currencyCode": "USD"
},
"netAmount": {
"amount": 1888,
"currencyCode": "USD"
},
"contractDiscountAmount": {
"amount": 0,
"currencyCode": "USD"
},
"contractNetAmount": {
"amount": 1888,
"currencyCode": "USD"
},
"contractListAmount": {
"amount": 1888,
"currencyCode": "USD"
},
"chargeDefIntegrationId": "QP_SALE_PRICE",
"links": [{
"rel": "self",
"href": "https://sitename.oracle.com/rest/v19/assets/51587512/charges/51587516"
}, {
"rel": "parent",
"href": "https://sitename.oracle.com/rest/v19/assets/51587512/charges"
}
]
}
],
"links": [{
"rel": "canonical",
"href": "https://sitename.oracle.com/rest/v19/assets/51587512/charges"
}, {
"rel": "self",
"href": "https://sitename.oracle.com/rest/v19/assets/51587512/charges?offset=0&limit=1000"
}
]
}