NetSapiens icon

NetSapiens

Interact with the NetSapiens API

Actions477

Call Traces & Cradle to Grave → Get CSV of Call Trace for Call

AI-generated

Summary

Fetch CSV of call trace for given criteria

Inputs

  • refreshOptions — Whether to bypass cached dropdown values and fetch fresh options
  • GetCallTrace__query__start_time — Start Time
  • GetCallTrace__query__end_time — End Time
  • GetCallTrace__query__callids — Callids
  • GetCallTrace__query__servers (required) — Servers
  • GetCallTrace__query__type (required) — Type
  • GetCallTrace__query__download — Choose whether to download the file or return Base64 in JSON

Output shape

CSV data (or Base64-encoded JSON if download is not selected)

When Download is set to "yes" the response triggers a file download; otherwise the operation returns a JSON object containing a Base64 string of the CSV.

Examples

Example 1: Export a call trace as CSV for a specific server and time range

Set Start Time and End Time, specify Servers, keep Type as "csv", set Download to "yes"

Example 2: Retrieve call trace data in Base64 JSON for downstream processing

Leave Download empty, set Type to "csv", optionally provide Callids and dates

Example 3: Refresh dropdown options before executing the request

Enable Refresh Dropdown Cache, then configure other query parameters as needed

Links

Discussion