Gets fields of a completed call.

Input parameters

Requires user authentication and the reseller role privileges.

NameTypeDescriptionRequiredDefault value
auth_usernameStringAuthentication username.Yes
auth_passwordStringAuthentication password.Yes
uniqueidStringUniqueid of call to get.Yes
customerString or integerCustomer to get costs for.NoCustomer of authentication user.

Responses

CodeDescription
200Success.
400Invalid input parameters specified. Check the key and message fields for more details.
401The authentication details provided are invalid.
402Your role does not allow this.
403Your rate plan does not allow this.
404The call does not exist, or you do not have permission to view it.

Data returned

The fields of the call. Costs are returned in the currency of the authentication user.

Example: With required parameters

http://ipvoice.one/api/json/cdrs/get/?auth_username=user;auth_password=password;uniqueid=1234567890.123456

{ “responses”:[ { “code”:”200″, “key”:””, “message”:”OK” } ], “data”:{ “uniqueid”:”1234567890.123456″, “start”:1234567890, … },