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(optional): string
The asset language of the request
Response
Supported Media Types
- application/json
200 Response
Following model is returned when operation succeeds.
Root Schema : listReportFilterConfigurations_response
Type:
Show Source
object
-
items(optional):
array items
The list of all Filter configurations for all the contexts available
Nested Schema : items
Type:
array
The list of all Filter configurations for all the contexts available
Show Source
Nested Schema : items
Type:
Show Source
object
-
billingCountries(optional):
array billingCountries
BillingCountries with all regions selected in the filter option
-
billingRegions(optional):
array billingRegions
BillingRegions Codes of the regions selected in the filter option
-
context(optional):
string
Context selected in the filters.
-
groupBy(optional):
string
groupBy option selected in the filters
-
metric(optional):
string
Metric selected in the filters
-
priceListGroup(optional):
string
Pricelist groups as comma separted string
-
products(optional):
array products
Products with ProductId in form of array
-
reportingEndDate(optional):
string
ReportingEndDate selected in the filters.
-
reportingStartDate(optional):
string
ReportingStartDate selected in the filters
-
shippingCountries(optional):
array shippingCountries
ShippingCountries with all regions selected in the filter option
-
shippingRegions(optional):
array shippingRegions
ShippingRegions Codes of the regions selected in the filter option
-
siteIds(optional):
array siteIds
Sites with SiteId in form of array
-
timeFrame(optional):
string
TimeFrame selected in the filters.
-
transactionCurrency(optional):
string
currency for the reporting data
Nested Schema : billingCountries
Type:
array
BillingCountries with all regions selected in the filter option
Show Source
Nested Schema : billingRegions
Type:
array
BillingRegions Codes of the regions selected in the filter option
Show Source
Nested Schema : shippingCountries
Type:
array
ShippingCountries with all regions selected in the filter option
Show Source
Nested Schema : shippingRegions
Type:
array
ShippingRegions Codes of the regions selected in the filter option
Show Source
Nested Schema : items
Type:
Show Source
object
-
productId(optional):
string
Id of the product
-
productName(optional):
string
Name of the product
Nested Schema : items
Type:
Show Source
object
-
siteId(optional):
string
Id of the Site
-
siteName(optional):
string
Name of the Site
-
siteURL(optional):
string
URL of the Site
Example Response (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.|
Root Schema : errorModel
Type:
Show Source
object
-
devMessage(optional):
string
An optional non-localized message containing technical information for developers
-
errorCode(optional):
string
The numerical code identifying the error
-
errors(optional):
array errors
An optional list of errors if multiple errors were encountered
-
message(optional):
string
The localized message describing the error
-
moreInfo(optional):
string
An optional non-localized message with more information
-
o:errorPath(optional):
string
An optional machine readable description of where the error occurred
-
status(optional):
string
The HTTP status code
-
type(optional):
string
The URI to the HTTP state code definition
Nested Schema : errors
Type:
array
An optional list of errors if multiple errors were encountered
Show Source
Nested Schema : items
Type:
Show Source
object
-
devMessage(optional):
string
An optional non-localized message containing technical information for developers
-
errorCode(optional):
string
The numerical code identifying the error
-
message(optional):
string
The localized message describing the error
-
moreInfo(optional):
string
An optional non-localized message with more information
-
o:errorPath(optional):
string
An optional machine readable description of where the error occurred
-
status(optional):
string
The HTTP status code