curl -H "Authorization: Basic BASE64_ENCODED_PUBLIC_KEY_AND_PRIVATE_KEY" "https://[your-subdomain].trackdrive.com/api/v1/offer_conversions?page=1&order=created_at"
Param name |
Description
Validations
|
||||||
---|---|---|---|---|---|---|---|
serializer Optional Blank Value Allowed |
This endpoint supports multiple response formats. Pass
|
||||||
offer_id Optional |
The conversion will be added to this offer.
|
||||||
business_range_id Optional |
The conversion will be added to these business hours. Leave this blank to automatically assign the currently open business hours.
|
||||||
page Optional |
Return the next page of results.
|
||||||
per_page Optional |
How many results to return per page. The default is 25.
|
||||||
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
|
||||||
fulltext Optional |
Search for any record that matches this text
|
||||||
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:
|
||||||
root Optional |
Pass
|
Param name |
Description
Validations
|
||||||
---|---|---|---|---|---|---|---|
serializer Optional Blank Value Allowed |
This endpoint supports multiple response formats. Pass
|
Param name |
Description
Validations
|
||||||
---|---|---|---|---|---|---|---|
serializer Optional Blank Value Allowed |
This endpoint supports multiple response formats. Pass
|
curl -H "Authorization: Basic BASE64_ENCODED_PUBLIC_KEY_AND_PRIVATE_KEY" -H "Content-Type: application/json" -X POST -d '{"payout": 10, "duration": 60, duplicate_timeframe: 3600, name: "Pay $10 after 1 minute, deduped by 1 hour.", offer_id: 10001234}' https://[your-subdomain].trackdrive.com/api/v1/offer_conversions
Param name |
Description
Validations
|
||||||
---|---|---|---|---|---|---|---|
serializer Optional Blank Value Allowed |
This endpoint supports multiple response formats. Pass
|
||||||
payout_type Optional |
How should the payout be calculated?
|
||||||
payout Optional Blank Value Allowed |
The Traffic Source will be paid this amount when
|
||||||
revenue_percentage Optional Blank Value Allowed |
Calculate the payout as a percentage of the revenue paid to the buyer when
|
||||||
duration Required |
The number of seconds after the buyer answers the call before the traffic source gets paid. 0 seconds means the call will convert for the traffic source even if a buyer doesn't answer.
|
||||||
duplicate_timeframe Required |
The period of time that must elapse before a traffic source will be paid again when transferring the same CallerID.
|
||||||
name Required |
This name that will appear in your call logs when the call converts.
|
||||||
offer_id Required |
The conversion will be added to this offer.
|
||||||
business_range_id Optional Blank Value Allowed |
The conversion will be added to these business hours. Leave this blank to automatically assign the currently open business hours.
|
||||||
record_token_filter_list Optional Blank Value Allowed |
Assign filters to the object by passing an array of key:value pairs
|
||||||
sortable_order Optional |
The order in which Traffic Source Conversions will be checked for a matching conversion. Values are sorted in ascending order; smaller values are checked first.
|
curl -H "Authorization: Basic BASE64_ENCODED_PUBLIC_KEY_AND_PRIVATE_KEY" -H "Content-Type: application/json" -X PUT -d '{"payout": 9, "duration": 120}' https://[your-subdomain].trackdrive.com/api/v1/offer_conversions/1008923
Param name |
Description
Validations
|
||||||
---|---|---|---|---|---|---|---|
serializer Optional Blank Value Allowed |
This endpoint supports multiple response formats. Pass
|
||||||
payout_type Optional |
How should the payout be calculated?
|
||||||
payout Optional Blank Value Allowed |
The Traffic Source will be paid this amount when
|
||||||
revenue_percentage Optional Blank Value Allowed |
Calculate the payout as a percentage of the revenue paid to the buyer when
|
||||||
duration Optional |
The number of seconds after the buyer answers the call before the traffic source gets paid. 0 seconds means the call will convert for the traffic source even if a buyer doesn't answer.
|
||||||
duplicate_timeframe Optional |
The period of time that must elapse before a traffic source will be paid again when transferring the same CallerID.
|
||||||
name Optional |
This name that will appear in your call logs when the call converts.
|
||||||
record_token_filter_list Optional Blank Value Allowed |
Assign filters to the object by passing an array of key:value pairs
|
||||||
sortable_order Optional Blank Value Allowed |
The order in which Traffic Source Conversions will be checked for a matching conversion. Values are sorted in ascending order; smaller values are checked first.
|
curl -H "Authorization: Basic BASE64_ENCODED_PUBLIC_KEY_AND_PRIVATE_KEY" -H "Content-Type: application/json" -X DELETE "https://[your-subdomain].trackdrive.com/api/v1/offer_conversions/1008923"
Param name |
Description
Validations
|
||||||
---|---|---|---|---|---|---|---|
serializer Optional Blank Value Allowed |
This endpoint supports multiple response formats. Pass
|