This endpoint is used to retrive filtered analytics reports based on report type, date range, and optional grouping/filtering criteria.
The analytics report based on filters has been generated successfully
Invalid request.
The request could not be authorized.
The request could not be completed due to an internal error.
{- "limit": 10,
- "offset": 100,
- "kpi": "DETAILS",
- "globalFilters": [
- {
- "member": "subId",
- "operator": "equals",
- "value": "2196"
}, - {
- "member": "enterpriseId",
- "operator": "equals",
- "value": "8409"
}, - {
- "member": "divisionIds",
- "operator": "equals",
- "values": [
- "div_CSD1",
- "div_SPE",
- "div_SPO"
]
}, - {
- "member": "productIds",
- "operator": "equals",
- "values": [ ]
}, - {
- "member": "psdPcns",
- "operator": "equals",
- "values": [ ]
}, - {
- "member": "productDisplayName",
- "operator": "equals",
- "value": "PS - 5466"
}, - {
- "member": "spendType",
- "operator": "equals",
- "values": [
- "mailing",
- "shipping",
- "manual transaction"
]
}
], - "grouping": [
- {
- "member": "cost_account_id",
- "operator": "equals",
- "values": [ ]
}
], - "criteria": [
- {
- "groupByColumns": [
- "location_city",
- "location_state",
- "lref_location_id",
- "product_id"
], - "orderByColumns": [
- "location_city",
- "location_state",
- "lref_location_id",
- "product_id"
]
}
], - "measures": [
- "piece_count",
- "postage_spend",
- "postage_saving",
- "avg_spend",
- "last_transaction_date",
- "base_rate",
- "fee_amount",
- "surcharges_amount",
- "mailing_piece_count",
- "shipping_piece_count",
- "transaction_end_time",
- "transaction_start_time",
- "display_cost_account_code",
- "display_cost_account_name",
- "cost_account_path",
- "l1_account_code",
- "l1_account_name",
- "l2_account_code",
- "l2_account_name",
- "l3_account_code",
- "l3_account_name",
- "street1",
- "street2",
- "country",
- "country_code",
- "item_type",
- "refund_amount",
- "refund_piece_count",
- "meter_nickname",
- "total_with_savings",
- "total_with_surcharges",
- "total_chargeback_ammount",
- "total_add_spl_chrgs_fee",
- "display_add_spl_sur_chrgs_name",
- "add_spl_chrgs_name",
- "address_line_1",
- "company_name",
- "location_name",
- "adjustment_amount",
- "bpn",
- "total_weight",
- "lref_location_id",
- "product_id",
- "product_display_name"
]
}
[- {
- "errorCode": "validation_error",
- "errorDescription": "Error while getting rates for carrier with carrierAccount eRMnRx4mzPP.",
- "additionalCode": "string",
- "additionalInfo": "string",
- "additionalParameters": [
- "string"
]
}
]