PUT /lead_imports/:id
Authorization Requiredhttps://[your-subdomain].trackdrive.com/api/v1/lead_imports/:id
Update Lead Import by id.
Update a lead import's name, column mapping, or lead handling options. Mapping a caller_id or trackdrive_lead_id column with data_maps_attributes starts the import, which creates or updates leads from the uploaded file.
Params
| Param name | Description |
|---|---|
|
data_maps_attributes Optional Blank value allowed |
How the uploaded file’s columns fill in Trackdrive lead fields. Each entry maps one column: td_key is the Trackdrive field the column fills (for example caller_id or email), and ex_key is the column header in your uploaded file. One entry must map td_key caller_id or trackdrive_lead_id, and this mapping is what starts the import. [ { "td_key": "caller_id", "ex_key": "Phone", "import": "1" },
{ "td_key": "email", "ex_key": "Email", "import": "1" }
]
|