Skip to main content

GetUsageReportSync

GET 

/reports/cdr_usage_reports/sync

Generate and fetch voice usage report synchronously. This endpoint will both generate and fetch the voice report over a specified time period. No polling is necessary but the response may take up to a couple of minutes.

Request

Query Parameters

    start_date date-time
    end_date date-time
    aggregation_type stringrequired

    Possible values: [NO_AGGREGATION, CONNECTION, TAG, BILLING_GROUP]

    product_breakdown stringrequired

    Possible values: [NO_BREAKDOWN, DID_VS_TOLL_FREE, COUNTRY, DID_VS_TOLL_FREE_PER_COUNTRY]

    connections number[]

Responses

200: Successful

Schema

    data

    object

    id uuid

    Identifies the resource

    start_time date-time
    end_time date-time

    connections

    int64[]

    empty boolean
  • Array [

  • integer

  • ]

  • aggregation_type string

    Possible values: [NO_AGGREGATION, CONNECTION, TAG, BILLING_GROUP]

    status string

    Possible values: [PENDING, COMPLETE, FAILED, EXPIRED]

    report_url string
    result object
    created_at date-time
    updated_at date-time
    record_type string
    product_breakdown string

    Possible values: [NO_BREAKDOWN, DID_VS_TOLL_FREE, COUNTRY, DID_VS_TOLL_FREE_PER_COUNTRY]

Loading...