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:
string
The 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:
array
itemsThe list of all Filter configurations for all the contexts available
Nested Schema : items
Nested Schema : items
Type:
object
- billingCountries
-
Type:
array
billingCountriesBillingCountries with all regions selected in the filter option - billingRegions
-
Type:
array
billingRegionsBillingRegions Codes of the regions selected in the filter option - context
-
Type:
string
Context selected in the filters. - groupBy
-
Type:
string
groupBy option selected in the filters - metric
-
Type:
string
Metric selected in the filters - priceListGroup
-
Type:
string
Pricelist groups as comma separted string - products
-
Type:
array
productsProducts with ProductId in form of array - reportingEndDate
-
Type:
string
ReportingEndDate selected in the filters. - reportingStartDate
-
Type:
string
ReportingStartDate selected in the filters - shippingCountries
-
Type:
array
shippingCountriesShippingCountries with all regions selected in the filter option - shippingRegions
-
Type:
array
shippingRegionsShippingRegions Codes of the regions selected in the filter option - siteIds
-
Type:
array
siteIdsSites with SiteId in form of array - timeFrame
-
Type:
string
TimeFrame selected in the filters. - transactionCurrency
-
Type:
string
currency for the reporting data
Nested Schema : billingCountries
Nested Schema : billingRegions
Nested Schema : products
Nested Schema : shippingCountries
Nested Schema : shippingRegions
Nested Schema : items
Type:
object
- productId
-
Type:
string
Id of the product - productName
-
Type:
string
Name of the product
Nested Schema : items
Type:
object
- siteId
-
Type:
string
Id of the Site - siteName
-
Type:
string
Name of the Site - siteURL
-
Type:
string
URL 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:
string
An optional non-localized message containing technical information for developers - errorCode
-
Type:
string
The numerical code identifying the error - errors
-
Type:
array
errorsAn optional list of errors if multiple errors were encountered - message
-
Type:
string
The localized message describing the error - moreInfo
-
Type:
string
An optional non-localized message with more information - o:errorPath
-
Type:
string
An optional machine readable description of where the error occurred - status
-
Type:
string
The HTTP status code - type
-
Type:
string
The URI to the HTTP state code definition
Nested Schema : errors
Nested Schema : items
Type:
object
- devMessage
-
Type:
string
An optional non-localized message containing technical information for developers - errorCode
-
Type:
string
The numerical code identifying the error - message
-
Type:
string
The localized message describing the error - moreInfo
-
Type:
string
An optional non-localized message with more information - o:errorPath
-
Type:
string
An optional machine readable description of where the error occurred - status
-
Type:
string
The 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" } ] }]