Schedules: Number Pools

Assign multiple number pools to a schedule with filters. When placing outbound calls, the system evaluates filters in sort order and uses the first matching number pool. When no filters match, the last number pool in the list is used as the fallback.

GET /schedule_ring_pools

Authorization Required
https://[your-subdomain].trackdrive.com/api/v1/schedule_ring_pools

List Schedule Number Pool records.

List the number pools assigned to your schedules, in sort order, along with the filter group each assignment uses to decide when it applies.

Params

Param name Description
ids
Optional

Return records matching these ids.

  • Must be an array of decimal values. EG: [0, 1, 2, 3]

page
Optional

Return the next page of results.

  • Must be a number.

per_page
Optional

How many results to return per page. The default is 25.

  • Must be a number.

created_at_to
Optional

Date formatted like 2016-01-01 12:25:15 -0500

  • Must be a String

created_at_from
Optional

Date formatted like 2016-01-01 12:25:15 -0500

  • Must be a String

fulltext
Optional

Search for any record that matches this text

  • Must be a String

time_zone
Optional

Date ranges will be parsed using this time zone.

columns
Optional
Specify the columns you would like returned by the API for a given resource. Limiting the columns can significantly increase API response time since only the requested data will be processed. columns=uuid,number,created_at

Must be any combination of:

  • id
  • legacy_id
  • type
  • uuid
  • created_at
  • updated_at
  • deleted_at
  • user_updated_at
  • routes_show_path
  • routes_edit_path
  • external_record_id
  • company_id
  • schedule_id
  • ring_pool_id
  • description
  • sortable_order
  • name
  • context_menu_name
  • record_token_filter_id
  • record_token_filter_data_count
  • record_token_filter_data
  • Must be a String

root
Optional

Pass root=false to return results without a root node and metadata.
For example:
GET /api/v1/calls?root=false will return [call1, call2, call3]
While:
GET /api/v1/calls will return {calls: [call1, call2, call3], metadata: {}}

  • Must be a boolean value: 1, true, yes, on, 0, false, no, off

GET /schedule_ring_pools/new

Authorization Required
https://[your-subdomain].trackdrive.com/api/v1/schedule_ring_pools/new

Build Schedule Number Pool with defaults.

Return a blank schedule number pool assignment populated with default attribute values, useful for building a create form.

Params

Param name Description
schedule_id
Optional Blank value allowed

Schedule

ring_pool_id
Optional Blank value allowed

Number Pool

filter_group_id
Optional Blank value allowed

This Number Pool will be used for outbound calls when the call matches this Filter Group.

name
Optional Blank value allowed

Name

  • Must be a String

description
Optional Blank value allowed

Description

  • Must be a String

token_value_ids
Optional Blank value allowed

Outbound calls matching these tokens will use this Number Pool.

record_token_filter_list
Optional Blank value allowed

Assign filters to the object by passing an array of key:value pairs

  • Must be a valid list of filters. Example filters:
    "interest:auto", "loan_amount:>=10000", "loan_amount:<=50000", "geo:!=800", "caller_id:!=anonymous"

POST /schedule_ring_pools

Authorization Required
https://[your-subdomain].trackdrive.com/api/v1/schedule_ring_pools

Create Schedule Number Pool.

Assign a number pool to a schedule, optionally scoped to a filter group. When placing outbound calls, the schedule evaluates its assigned pools in sort order and uses the first one whose filter group matches, falling back to the last pool in the list if none match.

Params

Param name Description
schedule_id
Optional Blank value allowed

Schedule

ring_pool_id
Optional Blank value allowed

Number Pool

filter_group_id
Optional Blank value allowed

This Number Pool will be used for outbound calls when the call matches this Filter Group.

name
Optional Blank value allowed

Name

  • Must be a String

description
Optional Blank value allowed

Description

  • Must be a String

token_value_ids
Optional Blank value allowed

Outbound calls matching these tokens will use this Number Pool.

record_token_filter_list
Optional Blank value allowed

Assign filters to the object by passing an array of key:value pairs

  • Must be a valid list of filters. Example filters:
    "interest:auto", "loan_amount:>=10000", "loan_amount:<=50000", "geo:!=800", "caller_id:!=anonymous"
record_token_filter_id
Optional Blank value allowed

Attach an existing Record Token Filter instead of building one from token_value_ids or record_token_filter_list.

GET /schedule_ring_pools/:id

Authorization Required
https://[your-subdomain].trackdrive.com/api/v1/schedule_ring_pools/:id

Get Schedule Number Pool by id.

Get the details of a single schedule number pool assignment by id.

PUT /schedule_ring_pools/:id

Authorization Required
https://[your-subdomain].trackdrive.com/api/v1/schedule_ring_pools/:id

Update Schedule Number Pool by id.

Update which number pool, filter group, name, or description a schedule number pool assignment uses.

Params

Param name Description
schedule_id
Optional Blank value allowed

Schedule

ring_pool_id
Optional Blank value allowed

Number Pool

filter_group_id
Optional Blank value allowed

This Number Pool will be used for outbound calls when the call matches this Filter Group.

name
Optional Blank value allowed

Name

  • Must be a String

description
Optional Blank value allowed

Description

  • Must be a String

token_value_ids
Optional Blank value allowed

Outbound calls matching these tokens will use this Number Pool.

record_token_filter_list
Optional Blank value allowed

Assign filters to the object by passing an array of key:value pairs

  • Must be a valid list of filters. Example filters:
    "interest:auto", "loan_amount:>=10000", "loan_amount:<=50000", "geo:!=800", "caller_id:!=anonymous"

DELETE /schedule_ring_pools/:id

Authorization Required
https://[your-subdomain].trackdrive.com/api/v1/schedule_ring_pools/:id

Destroy Schedule Number Pool by id.

Remove a number pool assignment from a schedule.