Page 1 of 1

Non-Agent-API and Custom Fields

PostPosted: Wed Jul 24, 2013 8:47 am
by DarthGamer
Greetings,

When creating a List from the Non-Agent-API, there's no option to create custom fields. The same with the update_list command. And when trying to add a lead with the field custom_leads = Y it throws that the list can't find the custom fields.

Is there a way to create the custom fields on a list through the Non-Agent-API?

We are trying to integrate our CRM to Vicidial, but it would defeat the purpose if each time a new list needs to be uploaded, it has to be created and configured manually from the Vicidial admin.

Thank you in advance.

This is the version info:
VERSION: 2.7-401a
BUILD: 130508-2256

Re: Non-Agent-API and Custom Fields

PostPosted: Thu Jul 25, 2013 1:22 am
by hiadviser
If I am understanding your question right, you have custom fields coming through the API. Those fields need to be created in both systems, Vici and your CRM. Then with your coding you can get and assign the right variables. You can't create a field with the non agent API, but as long as it's created in Vici it will populate accordingly.

Re: Non-Agent-API and Custom Fields

PostPosted: Thu Jul 25, 2013 6:24 am
by mflorell
creating custom fields through the non-agent-API is not currently a feature. You can only do this through the admin webpages.

Re: Non-Agent-API and Custom Fields

PostPosted: Fri Jul 26, 2013 2:53 am
by DarthGamer
I was hoping that wasn't the case. It would be a good addition to the API to be able to create custom fields.

Re: Non-Agent-API and Custom Fields

PostPosted: Fri Jul 26, 2013 6:01 am
by mflorell
Managing custom list fields is very complex, and would not be a simple addition to the non-agent API. Also, no customer has requested this functionality, so we haven't even thought about adding it.

Re: Non-Agent-API and Custom Fields

PostPosted: Tue Jul 30, 2013 8:42 pm
by williamconley
That being said ... it would be possible to "copy" the custom fields from an existing list into a newly created list. That api function could be created without quite so much hubbub. bub.