Param name |
Description
Validations
|
---|---|
ids Optional |
Return records matching these ids. Validations:
|
page Optional |
Return the next page of results. Validations:
|
per_page Optional |
How many results to return per page. The default is 25. Validations:
|
created_at_to Optional |
Date formatted like 2016-01-01 12:25:15 -0500 Validations:
|
created_at_from Optional |
Date formatted like 2016-01-01 12:25:15 -0500 Validations:
|
fulltext Optional |
Search for any record that matches this text Validations:
|
time_zone Optional |
Date ranges will be parsed using this time zone. Validations:
|
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:
Validations:
|
root Optional |
Pass Validations:
|
Param name |
Description
Validations
|
---|---|
name Optional |
Name Validations:
|
caller_id_column_name Optional Blank Value Allowed |
Caller Id Column Name Validations:
|
buyer_ids Optional Blank Value Allowed |
The list of internal buyer ID's that will use this suppression list. Validations:
|
Param name |
Description
Validations
|
---|---|
name Required |
Name Validations:
|
import_file Optional |
Import File Validations:
|
caller_id_column_name Optional Blank Value Allowed |
Caller Id Column Name Validations:
|
buyer_ids Optional Blank Value Allowed |
The list of internal buyer ID's that will use this suppression list. Validations:
|
Param name |
Description
Validations
|
---|---|
add_buyer_ids Optional Blank Value Allowed |
Append buyers to this record. Validations:
|
remove_buyer_ids Optional Blank Value Allowed |
Remove buyers from the record. Validations:
|
add_user_buyer_ids Optional |
Append buyers to the record using the buyer field Validations:
|
remove_user_buyer_ids Optional |
Remove buyers from the record using buyer field Validations:
|
curl -H "Content-Type: application/json" -X POST -H "Authorization: Basic BASE64_ENCODED_PUBLIC_KEY_AND_PRIVATE_KEY" -d '{"caller_ids": ["17191231234","17191231235"]}' "https://[your-subdomain].trackdrive.com/api/v1/buyer_suppressions/:id/caller_block"
Param name |
Description
Validations
|
---|---|
caller_ids Optional |
An array of phone numbers to block. Validations:
|
curl -H "Content-Type: application/json" -X POST -H "Authorization: Basic BASE64_ENCODED_PUBLIC_KEY_AND_PRIVATE_KEY" -d '{"caller_ids": ["17191231234","17191231235"]}' "https://[your-subdomain].trackdrive.com/api/v1/buyer_suppressions/:id/caller_unblock"
Param name |
Description
Validations
|
---|---|
caller_ids Optional |
An array of phone numbers to block. Validations:
|