Create a ledger billing group report
POST/ledger_billing_group_reports
Create a ledger billing group report
Request
- application/json
Body
required
New ledger billing group report parameters
year integer
Year of the ledger billing group report
month integer
Month of the ledger billing group report
Responses
200: Expected ledger billing group report response to a valid request
- application/json
default: Unexpected error
- application/json
Request samples
curl -L 'https://api.telnyx.com/v2/ledger_billing_group_reports' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>' \
-d '{
"year": 2019,
"month": 10
}'
Response samples
{
"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"
}
}
{
"errors": [
{
"code": "string",
"title": "string",
"detail": "string",
"source": {
"pointer": "string",
"parameter": "string"
},
"meta": {}
}
]
}