Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter milkman1265

    (@milkman1265)

    based off of your debug code that you posted.

    It looks like you are using the contacts api and not the leads api.

    I found that when you’re getting Null response, it means you’re not using the correct field mapping.

    Did you also add the formID and name of form in the plugin?

    This is all the mappings i have

    View post on imgur.com

    Thread Starter milkman1265

    (@milkman1265)

    please delete or close thread, i solved the issue.

    For who ever is wondering, you need to use the LEAD api not Contacts

    https://api.insight.ly/v2.1/Leads

    and the fields to map allowed are:

    “LEAD_ID”: 0,
    “SALUTATION”: “string”,
    “TITLE”: “string”,
    “FIRST_NAME”: “string”,
    “LAST_NAME”: “string”,
    “ORGANIZATION_NAME”: “string”,
    “PHONE_NUMBER”: “string”,
    “MOBILE_PHONE_NUMBER”: “string”,
    “FAX_NUMBER”: “string”,
    “EMAIL_ADDRESS”: “string”,
    “WEBSITE_URL”: “string”,
    “OWNER_USER_ID”: 0,
    “DATE_CREATED_UTC”: “2016-03-11T16:32:00.460Z”,
    “DATE_UPDATED_UTC”: “2016-03-11T16:32:00.460Z”,
    “CONVERTED”: true,
    “CONVERTED_DATE_UTC”: “2016-03-11T16:32:00.460Z”,
    “CONVERTED_CONTACT_ID”: 0,
    “CONVERTED_ORGANIZATION_ID”: 0,
    “CONVERTED_OPPORTUNITY_ID”: 0,
    “VISIBLE_TO”: “string”,
    “RESPONSIBLE_USER_ID”: 0,
    “INDUSTRY”: “string”,
    “LEAD_STATUS_ID”: 0,
    “LEAD_SOURCE_ID”: 0,
    “VISIBLE_TEAM_ID”: 0,
    “EMPLOYEE_COUNT”: 0,
    “LEAD_RATING”: 0,
    “LEAD_DESCRIPTION”: “string”,
    “VISIBLE_USER_IDS”: “string”,
    “CUSTOMFIELDS”: [
    {
    “CUSTOM_FIELD_ID”: “string”,
    “FIELD_VALUE”: {}
    }
    ],
    “ADDRESS_STREET”: “string”,
    “ADDRESS_CITY”: “string”,
    “ADDRESS_STATE”: “string”,
    “ADDRESS_POSTCODE”: “string”,
    “ADDRESS_COUNTRY”: “string”,
    “TAGS”: [
    {
    “TAG_NAME”: “string”
    }
    ],
    “IMAGE_URL”: “string”

Viewing 2 replies - 1 through 2 (of 2 total)