All installation and configuration problems and questions
Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N
by ed123 » Thu Mar 15, 2018 3:04 am
Hi,
I can't find any from this link "http://vicidial.org/docs/NON-AGENT_API.txt" the way in how to update a disposition or status of a lead.
Please advise.
VERSION: 2.14-617a
BUILD: 170529-2320
© 2017 ViciDial Group
-
ed123
-
- Posts: 294
- Joined: Mon Mar 15, 2010 9:19 pm
by mflorell » Thu Mar 15, 2018 4:57 am
The "update_lead" function, use the "status" field.
-
mflorell
- Site Admin
-
- Posts: 18386
- Joined: Wed Jun 07, 2006 2:45 pm
- Location: Florida
-
by ed123 » Thu Mar 15, 2018 6:13 am
by the way, here the result.
SUCCESS: update_lead LEAD HAS BEEN UPDATED - crm|1227823|0
-
ed123
-
- Posts: 294
- Joined: Mon Mar 15, 2010 9:19 pm
by ed123 » Thu Mar 15, 2018 6:27 am
Hi,
It's working now. Thanks for your help.
-
ed123
-
- Posts: 294
- Joined: Mon Mar 15, 2010 9:19 pm
by ed123 » Thu Mar 15, 2018 6:38 am
Now, my concern is if it found the lead and then it has 5 same lead(for some reason), it only update 1 out of 5.
-
ed123
-
- Posts: 294
- Joined: Mon Mar 15, 2010 9:19 pm
by blackbird2306 » Thu Mar 15, 2018 7:55 am
There is another hidden option to define how many records should be changed. Usually it is only 1 record with the the newest entry date. But you can alter this behavior with get parameter. Try to append to your url e.g. &records=5
Vicibox 6.0.2 from Vicibox_v.6.0.x86_64-6.0.2.iso | Vicidial 2.12-560a build: 160617-1427 | Asterisk 1.8.32.3
-
blackbird2306
-
- Posts: 409
- Joined: Mon Jun 23, 2014 5:31 pm
by mflorell » Thu Mar 15, 2018 5:23 pm
It's not a hidden option, it's right there in the doc:
records - number of records to update if more than 1 found (defaults to '1'[most recently loaded lead])
-
mflorell
- Site Admin
-
- Posts: 18386
- Joined: Wed Jun 07, 2006 2:45 pm
- Location: Florida
-
by blackbird2306 » Thu Mar 15, 2018 6:01 pm
Yes sorry it's NOT hidden
Vicibox 6.0.2 from Vicibox_v.6.0.x86_64-6.0.2.iso | Vicidial 2.12-560a build: 160617-1427 | Asterisk 1.8.32.3
-
blackbird2306
-
- Posts: 409
- Joined: Mon Jun 23, 2014 5:31 pm
by williamconley » Thu Mar 15, 2018 10:12 pm
blackbird2306 wrote:Yes sorry it's NOT hidden
How about "often overlooked" ...?
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
-
williamconley
-
- Posts: 20258
- Joined: Wed Oct 31, 2007 4:17 pm
- Location: Davenport, FL (By Disney!)
-
by ed123 » Thu Mar 15, 2018 10:24 pm
Guys,
It work! Thank you so much for your always support.
-
ed123
-
- Posts: 294
- Joined: Mon Mar 15, 2010 9:19 pm
Return to Support
Who is online
Users browsing this forum: Google [Bot] and 143 guests