Retrieve information for all calls
A code snippet that shows how to retrieve information for all calls.
Example
Prerequisites
Execute the following command at your terminal prompt to create the JWT for authentication:
Run your code
Save this file to your machine and run it:
Prerequisites
Create a file named retrieve-info-for-all-calls.js and add the following code:
Run your code
Save this file to your machine and run it:
Prerequisites
Add the following to build.gradle:
Create a file named RetrieveInfoForAllCalls and add the following code to the main method:
Write the code
Add the following to the main method of the RetrieveInfoForAllCalls file:
Run your code
We can use the application plugin for Gradle to simplify the running of our application. Update your build.gradle with the following:
Run the following gradle command to execute your application, replacing com.vonage.quickstart.kt.voice with the package containing RetrieveInfoForAllCalls:
Prerequisites
Add the following to build.gradle:
Create a file named RetrieveInfoForAllCalls and add the following code to the main method:
Write the code
Add the following to the main method of the RetrieveInfoForAllCalls file:
Run your code
We can use the application plugin for Gradle to simplify the running of our application. Update your build.gradle with the following:
Run the following gradle command to execute your application, replacing com.vonage.quickstart.voice with the package containing RetrieveInfoForAllCalls:
Prerequisites
Prerequisites
Run your code
Save this file to your machine and run it:
Prerequisites
Run your code
Save this file to your machine and run it:
Prerequisites
Run your code
Save this file to your machine and run it:
Try it out
Run the example code to retrieve information for all calls.