JSON API » cdrs » cdrs/rebill
Rebills an existing completed call using current pricing.
Input parameters
Requires authentication and the system role privileges.
| Name | Type | Description | Required | Default value |
|---|---|---|---|---|
| auth_username | String | Authentication username. | Yes | |
| auth_password | String | Authentication password. | Yes | |
| uniqueid | String | Uniqueid. | Yes | |
| update_balances | Integer | 1 to update balance of customer making call, 0 not to. | No | 1 |
| update_invoices | Integer | 1 to update any affected invoices, 0 not to. | No | 1 |
Responses
| Code | Description |
|---|---|
| 204 | Success. |
| 401 | The authentication details provided are invalid. |
| 402 | Your role does not allow this. |
| 404 | The call does not exist. |
Data returned
No data is returned.
Example: With required parameters
http://enswitch.example.com/api/json/cdrs/rebill/?auth_username=user;auth_password=password;uniqueid=1234567890.123456{ "responses":[ { "code":"204", "key":"", "message":"OK" } ] }
Change history
| Version | Changes |
|---|---|
| 3.13 | Function added. |
