Logo
Akamai APIs API Documentation

List products per reporting group

GET https://{{host}}/contract-api/v1/reportingGroups/:reportingGroupId/products/summaries

Get the IDs and names of the products associated with the reporting group for the time frame selected. To run this operation, your user account needs the CPCode Rep Group role. To add this role, use the Identity and Access Management application. When a request is successful, it may return either a 200 or a 300 response. The API returns a 200 (OK) response when the CP code reporting group is associated with only one contract. You'll receive a 300 Multiple Choices response when the request returns a list of matching contracts because the CP code reporting group is associated with multiple contracts. To retrieve product information when you receive a 300 response code, make a new GET request to the hyperlinks provided in the response.

 

Body PARAM

Key Datatype Required Description 
from
string (Optional) The start date, in UTC, to use when looking for products associated with a contract. The search always begins at midnight (0:00) UTC of the specified date. The default start date is 30 days prior to the current date. For current contracts, you can select a date within the past 15 months of the current date. For expired contracts, you are limited to a date range of 30 days within the 15 month window.
to
string (Optional) The end date, in UTC, to use when looking for products associated with a contract. The search always ends at 23:59:59 UTC of the specified date. The default end date is the current date.
accountSwitchKey
string (Optional) For customers who manage more than one account, this [runs the operation from another account](https://techdocs.akamai.com/developer/docs/manage-many-accounts-with-one-api-client). The Identity and Access Management API provides a [list of available account switch keys](https://techdocs.akamai.com/iam-api/reference/get-client-account-switch-keys).



HEADERS

Key Datatype Required Description 
Accept
string




RESPONSES

status OK

{ "products": { "contractId": "K-0N7RAK7", "marketing-products": [ { "marketingProductId": "B-3-96NY56", "marketingProductName": "Access Control - All Streaming Delivery" }, { "marketingProductId": "B-3-A5ME5", "marketingProductName": "Site and Visitor Intelligence" }, { "marketingProductId": "B-4-1O78TS", "marketingProductName": "All Streaming Delivery" } ] } }



Curl
curl -X GET 'https://undefined/contract-api/v1/reportingGroups/:reportingGroupId/products/summaries?from=&to=&accountSwitchKey=' -H 'Accept: application/json'

ENDPOINTS