Fetch a named lookup collection used to populate dropdowns and filters in the Trackdrive interface, such as time zones, countries, states, or facet value counts for calls and leads. The type parameter selects which collection to return; results can be narrowed with query or ids and returned as JSON or CSV.
Supported Formats
json, csv
Params
| Param name |
Description |
type
Required
|
The type of collection to return.
- Must be a value contained in the pick list:
| Acceptable Value | Description |
|---|
| buyer_group_table_details | Buyer Group Table Details |
|---|
| buyer_table_details | Buyer Table Details |
|---|
| call_buyer_id | Call Buyer |
|---|
| call_category | Call Category |
|---|
| call_child_buyer_id | Call Child Buyer |
|---|
| call_contact_field_type | Call Contact Field Type |
|---|
| call_country | Call Country |
|---|
| call_hangup_cause_code | Call Hangup Cause Code |
|---|
| call_hangup_cause_status | Call Hangup Cause Status |
|---|
| call_hung_up_by | Call Hung Up By |
|---|
| call_offer_id | Call Offer |
|---|
| call_report_table_details | Call Report Table Details |
|---|
| call_state_province | Call State Province |
|---|
| call_status | Call Status |
|---|
| call_sub_id | Call Sub |
|---|
| call_table_details | Call Table Details |
|---|
| call_token_values_map | Call Token Values Map |
|---|
| call_zip_postal_code | Zip / Postal Codes On Calls |
|---|
| countries | Countries |
|---|
| facet_categories | Facet Categories |
|---|
| lead_contact_field_type | Lead Contact Field Type |
|---|
| lead_country | Lead Country |
|---|
| lead_dial_number_id | Lead Dial Number |
|---|
| lead_dial_tier | Lead Dial Tier |
|---|
| lead_lead_import_id | Lead Lead Import |
|---|
| lead_report_table_details | Lead Report Table Details |
|---|
| lead_schedule_trigger_type | Lead Schedule Trigger Type |
|---|
| lead_sms_number_id | Lead Sms Number |
|---|
| lead_state_province | Lead State Province |
|---|
| lead_status | Lead Status |
|---|
| lead_status | Lead Status |
|---|
| lead_sub_id | Lead Sub |
|---|
| lead_table_details | Lead Table Details |
|---|
| lead_token_values_map | Lead Token Values Map |
|---|
| lead_zip_postal_code | Lead Zip Postal Code |
|---|
| number_table_details | Number Table Details |
|---|
| offer_table_details | Offer Table Details |
|---|
| ring_pool_table_details | Ring Pool Table Details |
|---|
| schedule_table_details | Schedule Table Details |
|---|
| states | States |
|---|
| time_zone | Time Zone |
|---|
| traffic_source_table_details | Traffic Source Table Details |
|---|
| webhook_ips | Webhook Ips |
|---|
|
created_at_label
Optional
Blank value allowed
|
Dynamic Date String such as “Today” or “This Year”
-
Must be one of: Last 5 Min, Last 15 Min, Last 30 Min, Last Hour, Last 4 Hours, Last 6 Hours, Last 12 Hours, Last Day, Last 2 Days, Today, Yesterday, This Week, Last Week, This Month, Last Month, This Quarter, Last Quarter, Last 6 Months, This Year, Last Year, Lifetime, Custom Range.
|
created_at_to
Optional
|
Date formatted like 2016-01-01 12:25:15 -0500
|
created_at_from
Optional
|
Date formatted like 2016-01-01 12:25:15 -0500
|
query
Optional
|
Search for any record that matches this text
|