JSON API » cdrs » cdrs/rebill

Rebills an existing completed call using current pricing.

Input parameters

Requires authentication and the system role privileges.

NameTypeDescriptionRequiredDefault value
auth_usernameStringAuthentication username.Yes
auth_passwordStringAuthentication password.Yes
uniqueidStringUniqueid.Yes
update_balancesInteger1 to update balance of customer making call, 0 not to.No1
update_invoicesInteger1 to update any affected invoices, 0 not to.No1

Responses

CodeDescription
204Success.
401The authentication details provided are invalid.
402Your role does not allow this.
404The 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

VersionChanges
3.13Function added.