importplivo,plivoxmlauth_id="Your AUTH_ID"auth_token="Your AUTH_TOKEN"p=plivo.RestAPI(auth_id,auth_token)params={'call_uuid':'55309cee-821d-11e4-9a73-498d468c930b'# The ID of the call
}response=p.get_cdr(params)printstr(response)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
require'rubygems'require'plivo'includePlivoAUTH_ID="Your AUTH_ID"AUTH_TOKEN="Your AUTH_TOKEN"p=RestAPI.new(AUTH_ID,AUTH_TOKEN)params={'record_id'=>'55309cee-821d-11e4-9a73-498d468c930b'# The ID of the call}response=p.get_cdr(params)printresponse
1
2
3
4
5
6
7
8
9
10
11
12
13
14
varplivo=require('plivo');varp=plivo.RestAPI({authId:'Your AUTH_ID',authToken:'Your AUTH_TOKEN'});varparams={'call_uuid':'55309cee-821d-11e4-9a73-498d468c930b'// The ID of the call};p.get_cdr(params,function(status,response){console.log('Status: ',status);console.log('API Response:\n',response);});
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<?phprequire'vendor/autoload.php';usePlivo\RestAPI;$auth_id="Your AUTH_ID";$auth_token="Your AUTH_TOKEN";$p=newRestAPI($auth_id,$auth_token);$params=array('record_id'=>'55309cee-821d-11e4-9a73-498d468c930b'# The ID of the call);$response=$p->get_cdr($params);// Print the responseprint_r($response);?>
packagecom.plivo.test;importjava.lang.reflect.Field;importjava.lang.reflect.Modifier;importjava.util.LinkedHashMap;importcom.plivo.helper.api.client.*;importcom.plivo.helper.api.response.call.CDR;importcom.plivo.helper.exception.PlivoException;publicclassApp{publicstaticvoidmain(String[]args)throwsIllegalAccessException{Stringauth_id="Your AUTH_ID";Stringauth_token="Your AUTH_TOKEN";RestAPIapi=newRestAPI(auth_id,auth_token,"v1");LinkedHashMap<String,String>parameters=newLinkedHashMap<String,String>();parameters.put("record_id","55309cee-821d-11e4-9a73-498d468c930b");// The ID of the calltry{CDRcdr=api.getCDR(parameters);System.out.println(cdr);}catch(PlivoExceptione){System.out.println(e.getLocalizedMessage());}}}
usingSystem;usingSystem.Collections.Generic;usingRestSharp;usingPlivo.API;namespaceget_details_single{classProgram{staticvoidMain(string[]args){RestAPIplivo=newRestAPI("Your AUTH_ID","Your AUTH_TOKEN");IRestResponse<CDR>resp=plivo.get_cdr(newDictionary<string,string>(){{"record_id","55309cee-821d-11e4-9a73-498d468c930b"}// The ID of the call});Console.Write(resp.Content);Console.ReadLine();}}}