Reports

Create a ledger billing group report

Changed on

Create a ledger billing group report, which aggregates ledger activity by billing group.

post/ledger_billing_group_reports

Request

  • Base URL: https://api.telnyx.com/v2
  • URL: https://api.telnyx.com/v2/ledger_billing_group_reports
  • Auth: HTTP bearer

Request body

yearinteger

Year of the ledger billing group report

monthinteger

Month of the ledger billing group report

Example request

{
  "year": 2019,
  "month": 10
}

Response

Expected ledger billing group report response to a valid request

Example response

{
  "data": {
    "record_type": "ledger_billing_group_report",
    "id": "f5586561-8ff0-4291-a0ac-84fe544797bd",
    "organization_id": "f5586561-8ff0-4291-a0ac-84fe544797bd",
    "report_url": "https://example.com",
    "created_at": "2019-10-15T10:07:15.527Z",
    "updated_at": "2019-10-15T10:07:15.527Z"
  }
}

Changes

    • breaking

      the // response's property type changed from integer to string, and format from int32 to no format for status

    • breaking

      the // response's property type changed from integer to string, and format from int32 to no format for status

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status

    • breaking

      the // response's property type changed from string to integer, and format from no format to int32 for status