How i can get Company custom fields


(Daniel Abyan) #1

Hi. How i can get Company custom fields ?
For example a company with 9679 ID. This company have a “Industry” custom field. How i can fetch 9679 company “Industry” custom field value ?
Thanks.


(John Borelli) #2

It may be, in some cases, that a field is available by merge code like ~Company._Industry~ but there is no way to make that information actionable in something like campaigns without an api script and a http post.


(Pav) #3

When dealing with Custom Fields, you need to prefix them with an underscore.

In your case, you would need “_Industry”.

Documentation on getting Table fields: https://developer.infusionsoft.com/docs/xml-rpc/#data-query-a-data-table