Billing Center API Resources

The Billing Center API allows you to access your website’s monthly usage over the Akamai network. Usage data is available for entire contracts, or for reporting groups, which may include CP codes from more than one contract.

See Getting Started for information on how to obtain valid contractId, productId, and reportingGroupId values.

API Summary

Operation Method Endpoint
Contracts   (download RAML)
List Usage per Contract GET /billing-center-api/v2/contracts/{contractId}/products/{productId}/measures{?billingDayOnly,fromMonth,fromYear,month,statisticName,toMonth,toYear,year}
List Statistics per Contract GET /billing-center-api/v2/contracts/{contractId}/products/{productId}/statistics{?fromMonth,fromYear,month,toMonth,toYear,year}
Reporting Groups   (download RAML)
List Usage per Reporting Group GET /billing-center-api/v2/reporting-groups/{reportingGroupId}/products/{productId}/measures{?billingDayOnly,fromMonth,fromYear,month,statisticName,toMonth,toYear,year}
List Statistics per Reporting Group GET /billing-center-api/v2/reporting-groups/{reportingGroupId}/products/{productId}/statistics{?fromMonth,fromYear,month,toMonth,toYear,year}
Measures   (download RAML)
Find Matching Usage POST /billing-center-api/v2/measures/find

List Usage per Contract

This operation lists a period of usage for an entire contract. See List Reporting Group’s Usage to report on related subsets of usage. Usage is aggregated daily, with one value per statistic. Unless final is true, data may still update to reflect latent edge server traffic.

GET /billing-center-api/v2/contracts/{contractId}/products/{productId}/measures{?billingDayOnly,fromMonth,fromYear,month,statisticName,toMonth,toYear,year}

Sample: /billing-center-api/v2/contracts/1-ABCD/products/1-ABC012/measures?billingDayOnly=true&fromMonth=10&fromYear=2014&month=7&statisticName=Total%20MB&toMonth=10&toYear=2015&year=2015

Parameter Type Sample Description
URL Parameters
contractId String 1-ABCD Identifies the contract under which data is aggregated.
productId String 1-ABC012 Identifies the product under which data is aggregated.
Optional Query Parameters
billingDayOnly Boolean true Aggregates cumulative data as of the end of the billing period, typically the end of the month, otherwise the day the contract’s term expires. Supplementary data may be available when contracts are extended within a given month.
fromMonth Integer 10 The month starting the range of aggregated data. Must be paired with fromYear, toYear, and toMonth.
fromYear Integer 2014 The year starting the range of aggregated data. Must be paired with fromMonth, toYear, and toMonth.
month Integer 7 The month for which data is aggregated. Must be paired with a year value.
statisticName String Total MB Reports on a specific statistic, otherwise reports all statistics by default.
toMonth Integer 10 The month ending the range of aggregated data. Must be paired with toYear, fromYear, and fromMonth.
toYear Integer 2015 The year ending the range of aggregated data. Must be paired with toMonth, fromYear, and fromMonth.
year Integer 2015 The year for which data is aggregated. Must be paired with a month value.

Status 200 application/json

Response Body:

[
    {
        "date": "2015-01-01",
        "final": true,
        "value": 1.25,
        "statistic": {
            "name": "Total MB",
            "unit": "MB"
        }
    },
    {
        "date": "2015-01-02",
        "final": true,
        "value": 1.3,
        "statistic": {
            "name": "Total MB",
            "unit": "MB"
        }
    },
    {
        "date": "2015-01-03",
        "final": true,
        "value": 1.33,
        "statistic": {
            "name": "Total MB",
            "unit": "MB"
        }
    },
    {
        "date": "2015-01-04",
        "final": false,
        "value": 1.37,
        "statistic": {
            "name": "Total MB",
            "unit": "MB"
        }
    },
    {
        "date": "2015-01-05",
        "final": false,
        "value": 1.43,
        "statistic": {
            "name": "Total MB",
            "unit": "MB"
        }
    }
]
  1. Determine the appropriate contractId as described in Getting Started.

  2. Determine the appropriate productId as described in Getting Started.

  3. Determine the desired range of values, either for the specific year and month, or the fromYear/toYear and fromMonth/toMonth range.

  4. Optionally run the List Statistics per Contract operation to obtain a specific statisticName to report on.

  5. Optionally set billingDayOnly=true to aggregate data for the end of the billing period.

  6. Make a GET request to /billing-center-api/v2/contracts/{contractId}/products/{productId}/measures{?year,month,fromYear,fromMonth,toYear,toMonth,statisticName,billingDayOnly}

The response array contains Usage objects.

List Statistics per Contract

Optionally run this operation if there’s only one type of information you want to include in your usage report, rather than the complete set. This lists each type of reportable statistic. Availability may depend on the term of the contract, hence the need to specify them for a range of time.

GET /billing-center-api/v2/contracts/{contractId}/products/{productId}/statistics{?fromMonth,fromYear,month,toMonth,toYear,year}

Sample: /billing-center-api/v2/contracts/1-ABCD/products/1-ABC012/statistics?fromMonth=10&fromYear=2014&month=7&toMonth=10&toYear=2015&year=2015

Parameter Type Sample Description
URL Parameters
contractId String 1-ABCD Identifies the contract under which data is aggregated.
productId String 1-ABC012 Identifies the product under which data is aggregated.
Optional Query Parameters
fromMonth Integer 10 The month starting the range of aggregated data. Must be paired with fromYear, toYear, and toMonth.
fromYear Integer 2014 The year starting the range of aggregated data. Must be paired with fromMonth, toYear, and toMonth.
month Integer 7 The month for which data is aggregated. Must be paired with a year value.
toMonth Integer 10 The month ending the range of aggregated data. Must be paired with toYear, fromYear, and fromMonth.
toYear Integer 2015 The year ending the range of aggregated data. Must be paired with toMonth, fromYear, and fromMonth.
year Integer 2015 The year for which data is aggregated. Must be paired with a month value.

Status 200 application/json

Response Body:

[
    {
        "name": "Total MB",
        "unit": "MB"
    }
]
  1. Determine the appropriate contractId as described in Getting Started.

  2. Determine the appropriate productId as described in Getting Started.

  3. Determine the desired range of values, either for the specific year and month, or the fromYear/toYear and fromMonth/toMonth range.

  4. Make a GET request to /billing-center-api/v2/contracts/{contractId}/products/{productId}/statistics{?year,month,fromYear,fromMonth,toYear,toMonth}

The response array contains Statistic objects.

List Usage per Reporting Group

This operation lists a period of usage for a reporting group. Reporting groups collect sets of CP codes under a contract, allowing you to track billing for related types of traffic rather than for the entire contract. Usage is aggregated daily, with one value per statistic. Unless final is true, data may still update to reflect latent edge server traffic.

GET /billing-center-api/v2/reporting-groups/{reportingGroupId}/products/{productId}/measures{?billingDayOnly,fromMonth,fromYear,month,statisticName,toMonth,toYear,year}

Sample: /billing-center-api/v2/reporting-groups/17405/products/1-ABC012/measures?billingDayOnly=true&fromMonth=10&fromYear=2014&month=7&statisticName=Total%20MB&toMonth=10&toYear=2015&year=2015

Parameter Type Sample Description
URL Parameters
reportingGroupId String 17405 Identifies the unique reporting group.
productId String 1-ABC012 Identifies the product under which data is aggregated.
Optional Query Parameters
billingDayOnly Boolean true Aggregates cumulative data as of the end of the billing period, typically the end of the month, otherwise the day the contract’s term expires. Supplementary data may be available when contracts are extended within a given month.
fromMonth Integer 10 The month starting the range of aggregated data. Must be paired with fromYear, toYear, and toMonth.
fromYear Integer 2014 The year starting the range of aggregated data. Must be paired with fromMonth, toYear, and toMonth.
month Integer 7 The month for which data is aggregated. Must be paired with a year value.
statisticName String Total MB Reports on a specific statistic, otherwise reports all statistics by default.
toMonth Integer 10 The month ending the range of aggregated data. Must be paired with toYear, fromYear, and fromMonth.
toYear Integer 2015 The year ending the range of aggregated data. Must be paired with toMonth, fromYear, and fromMonth.
year Integer 2015 The year for which data is aggregated. Must be paired with a month value.

Status 200 application/json

Response Body:

[
    {
        "date": "2015-01-01",
        "final": true,
        "value": 1.25,
        "statistic": {
            "name": "Total MB",
            "unit": "MB"
        }
    },
    {
        "date": "2015-01-02",
        "final": true,
        "value": 1.3,
        "statistic": {
            "name": "Total MB",
            "unit": "MB"
        }
    },
    {
        "date": "2015-01-03",
        "final": true,
        "value": 1.33,
        "statistic": {
            "name": "Total MB",
            "unit": "MB"
        }
    },
    {
        "date": "2015-01-04",
        "final": false,
        "value": 1.37,
        "statistic": {
            "name": "Total MB",
            "unit": "MB"
        }
    },
    {
        "date": "2015-01-05",
        "final": false,
        "value": 1.43,
        "statistic": {
            "name": "Total MB",
            "unit": "MB"
        }
    }
]
  1. Determine the appropriate reportingGroupId as described in Getting Started.

  2. Determine the appropriate productId as described in Getting Started.

  3. Determine the desired range of values, either for the specific year and month, or the fromYear/toYear and fromMonth/toMonth range.

  4. Optionally run the List Statistics per Reporting Group operation to obtain a specific statisticName to report on.

  5. Optionally set billingDayOnly=true to aggregate data for the end of the billing period.

  6. Make a GET request to /billing-center-api/v2/reporting-groups/{reportingGroupId}/products/{productId}/measures{?year,month,fromYear,fromMonth,toYear,toMonth,statisticName,billingDayOnly}.

The response array contains Usage objects.

List Statistics per Reporting Group

Optionally run this operation if there’s only one type of information you want to include in a reporting group’s usage report, rather than the complete set. Availability of reportable statistics may depend on the term of the contract, hence the need to specify them for a range of time.

GET /billing-center-api/v2/reporting-groups/{reportingGroupId}/products/{productId}/statistics{?fromMonth,fromYear,month,toMonth,toYear,year}

Sample: /billing-center-api/v2/reporting-groups/17405/products/1-ABC012/statistics?fromMonth=10&fromYear=2014&month=7&toMonth=10&toYear=2015&year=2015

Parameter Type Sample Description
URL Parameters
reportingGroupId String 17405 Identifies the unique reporting group.
productId String 1-ABC012 Identifies the product under which data is aggregated.
Optional Query Parameters
fromMonth Integer 10 The month starting the range of aggregated data. Must be paired with fromYear, toYear, and toMonth.
fromYear Integer 2014 The year starting the range of aggregated data. Must be paired with fromMonth, toYear, and toMonth.
month Integer 7 The month for which data is aggregated. Must be paired with a year value.
toMonth Integer 10 The month ending the range of aggregated data. Must be paired with toYear, fromYear, and fromMonth.
toYear Integer 2015 The year ending the range of aggregated data. Must be paired with toMonth, fromYear, and fromMonth.
year Integer 2015 The year for which data is aggregated. Must be paired with a month value.

Status 200 application/json

Response Body:

[
    {
        "name": "Total MB",
        "unit": "MB"
    }
]
  1. Determine the appropriate reportingGroupId as described in Getting Started.

  2. Determine the appropriate productId as described in Getting Started.

  3. Determine the desired range of values, either for the specific year and month, or the fromYear/toYear and fromMonth/toMonth range.

  4. Make a GET request to /billing-center-api/v2/reporting-groups/{reportingGroupId}/products/{productId}/statistics{?year,month,fromYear,fromMonth,toYear,toMonth}

The response array contains Statistic objects.

Find Matching Usage

List usage data matching any criteria specified by a Query object. The query needs to specify at least one contractId or reportingGroupId value.

POST /billing-center-api/v2/measures/find

Content-Type: application/json

Request Body:

{
    "statisticTypes": [
        "Total MB"
    ],
    "contractIds": [
        "1-3CV382"
    ],
    "month": 3,
    "year": 2017,
    "productIds": [
        "B-3-4D5VW3"
    ],
    "reportingGroupIds": [
        3466
    ]
}

Status 200 application/json

Response Body:

[
    {
        "value": 6.696,
        "statistic": {
            "name": "95/5 Mbps",
            "unit": "Mbps"
        },
        "date": "2017-03-01",
        "productId": "B-3-4D5VW3",
        "final": false,
        "contractId": "1-3CV382"
    },
    {
        "value": 6.822,
        "statistic": {
            "name": "95/5 Mbps",
            "unit": "Mbps"
        },
        "date": "2017-03-02",
        "productId": "B-3-4D5VW3",
        "final": false,
        "contractId": "1-3CV382"
    },
    {
        "value": 6.778,
        "statistic": {
            "name": "95/5 Mbps",
            "unit": "Mbps"
        },
        "date": "2017-03-03",
        "productId": "B-3-4D5VW3",
        "final": false,
        "contractId": "1-3CV382"
    },
    {
        "value": 6.857,
        "statistic": {
            "name": "95/5 Mbps",
            "unit": "Mbps"
        },
        "date": "2017-03-04",
        "productId": "B-3-4D5VW3",
        "final": false,
        "contractId": "1-3CV382"
    },
    {
        "value": 6.876,
        "statistic": {
            "name": "95/5 Mbps",
            "unit": "Mbps"
        },
        "date": "2017-03-05",
        "productId": "B-3-4D5VW3",
        "final": false,
        "contractId": "1-3CV382"
    },
    {
        "value": 6.876,
        "statistic": {
            "name": "95/5 Mbps",
            "unit": "Mbps"
        },
        "date": "2017-03-06",
        "productId": "B-3-4D5VW3",
        "final": false,
        "contractId": "1-3CV382"
    },
    {
        "value": 5.024,
        "statistic": {
            "name": "95/5 Mbps",
            "unit": "Mbps"
        },
        "date": "2017-03-31",
        "productId": "B-3-4D5VW3",
        "final": false,
        "contractId": "1-3CV382"
    },
    {
        "value": 734.174,
        "statistic": {
            "name": "Peak Mbps",
            "unit": "Mbps"
        },
        "date": "2017-03-01",
        "productId": "B-3-4D5VW3",
        "final": false,
        "contractId": "1-3CV382"
    },
    {
        "value": 734.174,
        "statistic": {
            "name": "Peak Mbps",
            "unit": "Mbps"
        },
        "date": "2017-03-02",
        "productId": "B-3-4D5VW3",
        "final": false,
        "contractId": "1-3CV382"
    },
    {
        "value": 734.174,
        "statistic": {
            "name": "Peak Mbps",
            "unit": "Mbps"
        },
        "date": "2017-03-03",
        "productId": "B-3-4D5VW3",
        "final": false,
        "contractId": "1-3CV382"
    },
    {
        "value": 734.174,
        "statistic": {
            "name": "Peak Mbps",
            "unit": "Mbps"
        },
        "date": "2017-03-04",
        "productId": "B-3-4D5VW3",
        "final": false,
        "contractId": "1-3CV382"
    },
    {
        "value": 734.174,
        "statistic": {
            "name": "Peak Mbps",
            "unit": "Mbps"
        },
        "date": "2017-03-05",
        "productId": "B-3-4D5VW3",
        "final": false,
        "contractId": "1-3CV382"
    },
    {
        "value": 734.174,
        "statistic": {
            "name": "Peak Mbps",
            "unit": "Mbps"
        },
        "date": "2017-03-06",
        "productId": "B-3-4D5VW3",
        "final": false,
        "contractId": "1-3CV382"
    },
    {
        "value": 734.174,
        "statistic": {
            "name": "Peak Mbps",
            "unit": "Mbps"
        },
        "date": "2017-03-31",
        "productId": "B-3-4D5VW3",
        "final": false,
        "contractId": "1-3CV382"
    },
    {
        "value": 396806,
        "statistic": {
            "name": "Total Hits",
            "unit": "Hits"
        },
        "date": "2017-03-01",
        "productId": "B-3-4D5VW3",
        "final": false,
        "contractId": "1-3CV382"
    },
    {
        "value": 819520,
        "statistic": {
            "name": "Total Hits",
            "unit": "Hits"
        },
        "date": "2017-03-02",
        "productId": "B-3-4D5VW3",
        "final": false,
        "contractId": "1-3CV382"
    },
    {
        "value": 1223097,
        "statistic": {
            "name": "Total Hits",
            "unit": "Hits"
        },
        "date": "2017-03-03",
        "productId": "B-3-4D5VW3",
        "final": false,
        "contractId": "1-3CV382"
    },
    {
        "value": 1646177,
        "statistic": {
            "name": "Total Hits",
            "unit": "Hits"
        },
        "date": "2017-03-04",
        "productId": "B-3-4D5VW3",
        "final": false,
        "contractId": "1-3CV382"
    },
    {
        "value": 2072466,
        "statistic": {
            "name": "Total Hits",
            "unit": "Hits"
        },
        "date": "2017-03-05",
        "productId": "B-3-4D5VW3",
        "final": false,
        "contractId": "1-3CV382"
    },
    {
        "value": 2490212,
        "statistic": {
            "name": "Total Hits",
            "unit": "Hits"
        },
        "date": "2017-03-06",
        "productId": "B-3-4D5VW3",
        "final": false,
        "contractId": "1-3CV382"
    },
    {
        "value": 3045007,
        "statistic": {
            "name": "Total Hits",
            "unit": "Hits"
        },
        "date": "2017-03-31",
        "productId": "B-3-4D5VW3",
        "final": false,
        "contractId": "1-3CV382"
    },
    {
        "value": 86093.599,
        "statistic": {
            "name": "Total MB",
            "unit": "MB"
        },
        "date": "2017-03-01",
        "productId": "B-3-4D5VW3",
        "final": false,
        "contractId": "1-3CV382"
    },
    {
        "value": 141229.362,
        "statistic": {
            "name": "Total MB",
            "unit": "MB"
        },
        "date": "2017-03-02",
        "productId": "B-3-4D5VW3",
        "final": false,
        "contractId": "1-3CV382"
    },
    {
        "value": 171406.915,
        "statistic": {
            "name": "Total MB",
            "unit": "MB"
        },
        "date": "2017-03-03",
        "productId": "B-3-4D5VW3",
        "final": false,
        "contractId": "1-3CV382"
    },
    {
        "value": 210410.594,
        "statistic": {
            "name": "Total MB",
            "unit": "MB"
        },
        "date": "2017-03-04",
        "productId": "B-3-4D5VW3",
        "final": false,
        "contractId": "1-3CV382"
    },
    {
        "value": 249726.839,
        "statistic": {
            "name": "Total MB",
            "unit": "MB"
        },
        "date": "2017-03-05",
        "productId": "B-3-4D5VW3",
        "final": false,
        "contractId": "1-3CV382"
    },
    {
        "value": 287518.192,
        "statistic": {
            "name": "Total MB",
            "unit": "MB"
        },
        "date": "2017-03-06",
        "productId": "B-3-4D5VW3",
        "final": false,
        "contractId": "1-3CV382"
    },
    {
        "value": 342557.541,
        "statistic": {
            "name": "Total MB",
            "unit": "MB"
        },
        "date": "2017-03-31",
        "productId": "B-3-4D5VW3",
        "final": false,
        "contractId": "1-3CV382"
    },
    {
        "reportingGroupId": 3466,
        "value": 0,
        "statistic": {
            "name": "95/5 Mbps",
            "unit": "Mbps"
        },
        "date": "2017-03-01",
        "final": false,
        "productId": "B-3-4D5VW3"
    },
    {
        "reportingGroupId": 3466,
        "value": 0,
        "statistic": {
            "name": "95/5 Mbps",
            "unit": "Mbps"
        },
        "date": "2017-03-02",
        "final": false,
        "productId": "B-3-4D5VW3"
    },
    {
        "reportingGroupId": 3466,
        "value": 0,
        "statistic": {
            "name": "95/5 Mbps",
            "unit": "Mbps"
        },
        "date": "2017-03-03",
        "final": false,
        "productId": "B-3-4D5VW3"
    },
    {
        "reportingGroupId": 3466,
        "value": 0,
        "statistic": {
            "name": "95/5 Mbps",
            "unit": "Mbps"
        },
        "date": "2017-03-04",
        "final": false,
        "productId": "B-3-4D5VW3"
    },
    {
        "reportingGroupId": 3466,
        "value": 0,
        "statistic": {
            "name": "95/5 Mbps",
            "unit": "Mbps"
        },
        "date": "2017-03-05",
        "final": false,
        "productId": "B-3-4D5VW3"
    },
    {
        "reportingGroupId": 3466,
        "value": 0,
        "statistic": {
            "name": "95/5 Mbps",
            "unit": "Mbps"
        },
        "date": "2017-03-06",
        "final": false,
        "productId": "B-3-4D5VW3"
    },
    {
        "reportingGroupId": 3466,
        "value": 0,
        "statistic": {
            "name": "95/5 Mbps",
            "unit": "Mbps"
        },
        "date": "2017-03-31",
        "final": false,
        "productId": "B-3-4D5VW3"
    },
    {
        "reportingGroupId": 3466,
        "value": 0,
        "statistic": {
            "name": "Peak Mbps",
            "unit": "Mbps"
        },
        "date": "2017-03-01",
        "final": false,
        "productId": "B-3-4D5VW3"
    },
    {
        "reportingGroupId": 3466,
        "value": 0,
        "statistic": {
            "name": "Peak Mbps",
            "unit": "Mbps"
        },
        "date": "2017-03-02",
        "final": false,
        "productId": "B-3-4D5VW3"
    },
    {
        "reportingGroupId": 3466,
        "value": 0,
        "statistic": {
            "name": "Peak Mbps",
            "unit": "Mbps"
        },
        "date": "2017-03-03",
        "final": false,
        "productId": "B-3-4D5VW3"
    },
    {
        "reportingGroupId": 3466,
        "value": 0,
        "statistic": {
            "name": "Peak Mbps",
            "unit": "Mbps"
        },
        "date": "2017-03-04",
        "final": false,
        "productId": "B-3-4D5VW3"
    },
    {
        "reportingGroupId": 3466,
        "value": 0,
        "statistic": {
            "name": "Peak Mbps",
            "unit": "Mbps"
        },
        "date": "2017-03-05",
        "final": false,
        "productId": "B-3-4D5VW3"
    },
    {
        "reportingGroupId": 3466,
        "value": 0,
        "statistic": {
            "name": "Peak Mbps",
            "unit": "Mbps"
        },
        "date": "2017-03-06",
        "final": false,
        "productId": "B-3-4D5VW3"
    },
    {
        "reportingGroupId": 3466,
        "value": 0,
        "statistic": {
            "name": "Peak Mbps",
            "unit": "Mbps"
        },
        "date": "2017-03-31",
        "final": false,
        "productId": "B-3-4D5VW3"
    },
    {
        "reportingGroupId": 3466,
        "value": 0,
        "statistic": {
            "name": "Total Hits",
            "unit": "Hits"
        },
        "date": "2017-03-01",
        "final": false,
        "productId": "B-3-4D5VW3"
    },
    {
        "reportingGroupId": 3466,
        "value": 0,
        "statistic": {
            "name": "Total Hits",
            "unit": "Hits"
        },
        "date": "2017-03-02",
        "final": false,
        "productId": "B-3-4D5VW3"
    },
    {
        "reportingGroupId": 3466,
        "value": 0,
        "statistic": {
            "name": "Total Hits",
            "unit": "Hits"
        },
        "date": "2017-03-03",
        "final": false,
        "productId": "B-3-4D5VW3"
    },
    {
        "reportingGroupId": 3466,
        "value": 0,
        "statistic": {
            "name": "Total Hits",
            "unit": "Hits"
        },
        "date": "2017-03-04",
        "final": false,
        "productId": "B-3-4D5VW3"
    },
    {
        "reportingGroupId": 3466,
        "value": 0,
        "statistic": {
            "name": "Total Hits",
            "unit": "Hits"
        },
        "date": "2017-03-05",
        "final": false,
        "productId": "B-3-4D5VW3"
    },
    {
        "reportingGroupId": 3466,
        "value": 0,
        "statistic": {
            "name": "Total Hits",
            "unit": "Hits"
        },
        "date": "2017-03-06",
        "final": false,
        "productId": "B-3-4D5VW3"
    },
    {
        "reportingGroupId": 3466,
        "value": 0,
        "statistic": {
            "name": "Total Hits",
            "unit": "Hits"
        },
        "date": "2017-03-31",
        "final": false,
        "productId": "B-3-4D5VW3"
    },
    {
        "reportingGroupId": 3466,
        "value": 0,
        "statistic": {
            "name": "Total MB",
            "unit": "MB"
        },
        "date": "2017-03-01",
        "final": false,
        "productId": "B-3-4D5VW3"
    },
    {
        "reportingGroupId": 3466,
        "value": 0,
        "statistic": {
            "name": "Total MB",
            "unit": "MB"
        },
        "date": "2017-03-02",
        "final": false,
        "productId": "B-3-4D5VW3"
    },
    {
        "reportingGroupId": 3466,
        "value": 0,
        "statistic": {
            "name": "Total MB",
            "unit": "MB"
        },
        "date": "2017-03-03",
        "final": false,
        "productId": "B-3-4D5VW3"
    },
    {
        "reportingGroupId": 3466,
        "value": 0,
        "statistic": {
            "name": "Total MB",
            "unit": "MB"
        },
        "date": "2017-03-04",
        "final": false,
        "productId": "B-3-4D5VW3"
    },
    {
        "reportingGroupId": 3466,
        "value": 0,
        "statistic": {
            "name": "Total MB",
            "unit": "MB"
        },
        "date": "2017-03-05",
        "final": false,
        "productId": "B-3-4D5VW3"
    },
    {
        "reportingGroupId": 3466,
        "value": 0,
        "statistic": {
            "name": "Total MB",
            "unit": "MB"
        },
        "date": "2017-03-06",
        "final": false,
        "productId": "B-3-4D5VW3"
    },
    {
        "reportingGroupId": 3466,
        "value": 0,
        "statistic": {
            "name": "Total MB",
            "unit": "MB"
        },
        "date": "2017-03-31",
        "final": false,
        "productId": "B-3-4D5VW3"
    }
]
  1. Create a Query request object. It needs a specified month and year, and at least one identifier in the contractIds or reportingGroupIds arrays.

  2. POST the object to /billing-center-api/v2/measures/find.

The response array contains Usage objects.


Last modified: 4/13/2017