Voice Test Data Through API
search cancel

Voice Test Data Through API

book

Article ID: 245428

calendar_today

Updated On:

Products

AppNeta

Issue/Introduction


I am trying to pull voice test data through the API.   How do I pull the actual data from the voice tests?


   

 

Environment

Release : SAAS

 

Resolution


The AppNeta Swagger UI can be used to retrieve Voice Tests and Data


1. Launch the Swagger UI

   



2. To get a list of Voice Tests and a specific testId, use the /v3/voiceTest  call

   

   

  

    enter your Organizations ID, the startFrom and startTo times using Unix Timestamp (ms precision) and execute the call


   

 

 

 

3. To retrieve Voice Tests Data for a specific testId, use the /v3/voiceTest/data

   

 

   

 

   enter your Organizations ID, startFrom and startTo times using Unix Timestamp (ms precision), the testId from the call in step 2, option the targetName to
        narrow the data returned and execute


   


    

Additional Information


In many cases, the Voice Data returned might be too large for the web browser to handle. In situations like this, it would be recommended to
  use a utility such as curl along with an access token to obtain the data.

example

curl --location --request GET 'https://app-xx.pm.appneta.com/api/v3/voiceTest/data?orgId=12345&testId=371160&startFrom=1656410856043&startTo=1656411000000&limit=5&targetName=USBRCMApp1001' \
--header 'Authorization: Token xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' \
--header 'Accept: application/json'