listReportFilterConfigurations
get
/ccadmin/v1/reportFilterConfigurations
List Report Filter Configurations. Returns all the filter configurations for the last run report for the profile currently logged in. Optionally takes the x-ccasset-language header to get translated content in another language.
Request
Supported Media Types
- application/json
Header Parameters
- X-CCAsset-Language
-
Type:
stringThe asset language of the request
Response
Supported Media Types
- application/json
200 Response
Following model is returned when operation succeeds.
Body
Root Schema : listReportFilterConfigurations_response
- items
-
Type:
arrayitemsAdditional Properties Allowed:The list of all Filter configurations for all the contexts available
Nested Schema : items
Nested Schema : items
Type:
object- billingCountries
-
Type:
arraybillingCountriesAdditional Properties Allowed:BillingCountries with all regions selected in the filter option - billingRegions
-
Type:
arraybillingRegionsAdditional Properties Allowed:BillingRegions Codes of the regions selected in the filter option - context
-
Type:
stringContext selected in the filters. - groupBy
-
Type:
stringgroupBy option selected in the filters - metric
-
Type:
stringMetric selected in the filters - priceListGroup
-
Type:
stringPricelist groups as comma separted string - products
-
Type:
arrayproductsAdditional Properties Allowed:Products with ProductId in form of array - reportingEndDate
-
Type:
stringReportingEndDate selected in the filters. - reportingStartDate
-
Type:
stringReportingStartDate selected in the filters - shippingCountries
-
Type:
arrayshippingCountriesAdditional Properties Allowed:ShippingCountries with all regions selected in the filter option - shippingRegions
-
Type:
arrayshippingRegionsAdditional Properties Allowed:ShippingRegions Codes of the regions selected in the filter option - siteIds
-
Type:
arraysiteIdsAdditional Properties Allowed:Sites with SiteId in form of array - timeFrame
-
Type:
stringTimeFrame selected in the filters. - transactionCurrency
-
Type:
stringcurrency for the reporting data
Nested Schema : billingCountries
Nested Schema : billingRegions
Nested Schema : products
Nested Schema : shippingCountries
Nested Schema : shippingRegions
Nested Schema : siteIds
Nested Schema : items
Type:
object- productId
-
Type:
stringId of the product - productName
-
Type:
stringName of the product
Nested Schema : items
Type:
object- siteId
-
Type:
stringId of the Site - siteName
-
Type:
stringName of the Site - siteURL
-
Type:
stringURL of the Site
Example application/json
[
{
"reportingStartDate":null,
"transactionCurrency":"USD",
"billingRegions":[
"US-AB",
"US-AL"
],
"reportingEndDate":null,
"groupBy":"day",
"shippingCountries":[
"AS"
],
"timeFrame":"yesterday",
"products":[
{
"productId":"Product_15CD",
"productName":"Abbott and Costello Meet Frankenstein"
},
{
"productId":"Product_19Cxy",
"productName":"16 Candles"
}
],
"priceListGroups":[
"UsDollar"
],
"billingCountries":[
"AS"
],
"metric":"grossRevenue",
"shippingRegions":[
"US-AB",
"US-AL"
],
"context":"orders",
"siteIds":[
{
"siteURL":"localhost:9080",
"siteId":"siteUS",
"siteName":"Commerce Cloud Site"
},
{
"siteURL":"localhost:9080",
"siteId":"100001",
"siteName":"Site2 cloud commerce"
}
]
}
]
Default Response
The error response.
The following are the internal error codes thrown by this API when the request processing fails in Oracle Commerce Cloud:
|Error Code|Description|
|------------------|------------------|
|94046|If some exception is thrown while some repository exception.|
Body
Root Schema : errorModel
Type:
object- devMessage
-
Type:
stringAn optional non-localized message containing technical information for developers - errorCode
-
Type:
stringThe numerical code identifying the error - errors
-
Type:
arrayerrorsAdditional Properties Allowed:An optional list of errors if multiple errors were encountered - message
-
Type:
stringThe localized message describing the error - moreInfo
-
Type:
stringAn optional non-localized message with more information - o:errorPath
-
Type:
stringAn optional machine readable description of where the error occurred - status
-
Type:
stringThe HTTP status code - type
-
Type:
stringThe URI to the HTTP state code definition
Nested Schema : errors
Nested Schema : items
Type:
object- devMessage
-
Type:
stringAn optional non-localized message containing technical information for developers - errorCode
-
Type:
stringThe numerical code identifying the error - message
-
Type:
stringThe localized message describing the error - moreInfo
-
Type:
stringAn optional non-localized message with more information - o:errorPath
-
Type:
stringAn optional machine readable description of where the error occurred - status
-
Type:
stringThe HTTP status code
Examples
Sample Response Payload returned by endpoint:
[{
"reportingStartDate": null,
"transactionCurrency": "USD",
"billingRegions": [
"US-AB",
"US-AL"
],
"reportingEndDate": null,
"groupBy": "day",
"shippingCountries": ["AS"],
"timeFrame": "yesterday",
"products": [
{
"productId": "Product_15CD",
"productName": "Abbott and Costello Meet Frankenstein"
},
{
"productId": "Product_19Cxy",
"productName": "16 Candles"
}
],
"priceListGroups": ["UsDollar"],
"billingCountries": ["AS"],
"metric": "grossRevenue",
"shippingRegions": [
"US-AB",
"US-AL"
],
"context": "orders",
"siteIds": [
{
"siteURL": "localhost:9080",
"siteId": "siteUS",
"siteName": "Commerce Cloud Site"
},
{
"siteURL": "localhost:9080",
"siteId": "100001",
"siteName": "Site2 cloud commerce"
}
]
}]