Getting Phone Types

Is there a way to get the Phone Types via the API. I looked and couldn’t find it.

Thanks,
Dom

There is a list supplied by the selector in the Infusionsoft Application UI of [“Work”,“Home”,“Mobile”,“Other”], but any type may be supplied when creating or updating a contact record via the API (“Broker”,“Back Office”, etc).

I guess my question was unclear.

When in Infusionsoft if you go to CRM -> Settings -> General you can modify the list for things like Contact Types, Phone Types, Fax Types, etc. Those then appear in the drop down list when entering a contact. It is a closed list you must pick from those.

So my question is can I access what that list is so I can present the current accurate list in my app.

Thanks,
Dom

Ah, my apologies. That list is accessible through the Legacy XML-RPC API Data Service getAppSetting method:

<?xml version='1.0' encoding='UTF-8'?>
<methodCall>
  <methodName>DataService.getAppSetting</methodName>
  <params>
    <param>
      <value><string>yourapplicationkey</string></value>
    </param>
    <param>
      <value><string>Contact</string></value>
    </param>
    <param>
      <value><string>optionphonetypes</string></value>
    </param>
  </params>
</methodCall>

Response:

<?xml version="1.0" encoding="UTF-8"?>
<methodResponse>
    <params>
        <param>
            <value>Work,Home,Mobile,Other</value>
        </param>
    </params>
</methodResponse>
1 Like

THANKS Tom!