Json 灵活API中的社会关系数据格式

Json 灵活API中的社会关系数据格式,json,crm,Json,Crm,我正在使用他们的API与Nimble CRM进行集成。我正在从一个web表单收集数据,并在Nimble中创建一个新联系人 新联系人的创建工作正常。我唯一的问题是在个人资料中添加“社会关系”。我提交给API的JSON(见下文)是有效的。我在jsonlint.com上测试了它(当然没有注释)。在Nimble中创建联系人时,“社交关系”(linkedin、twitter等)不会显示在新创建的Nimble个人资料中 网站上的文档似乎很简单——要为linkedin提交的值是完整的linkedin URL。

我正在使用他们的API与Nimble CRM进行集成。我正在从一个web表单收集数据,并在Nimble中创建一个新联系人

新联系人的创建工作正常。我唯一的问题是在个人资料中添加“社会关系”。我提交给API的JSON(见下文)是有效的。我在jsonlint.com上测试了它(当然没有注释)。在Nimble中创建联系人时,“社交关系”(linkedin、twitter等)不会显示在新创建的Nimble个人资料中

网站上的文档似乎很简单——要为linkedin提交的值是完整的linkedin URL。我已经直接从浏览器复制/粘贴了适当的linkedin URL,因此我相信它是正确的

我想知道的是向API提交“社交连接”数据的正确json结构。坦率地说,这个API的文档很糟糕,我无法从神秘的引用中获得答案。我试过的是这样的:

{
    //this part is working just fine
    "record_type": "person",
    "fields": {
        "first name": [{
            "value": "Fred",
            "modifier": ""
        }],
        "last name": [{
            "value": "Tester",
            "modifier": ""
        }],

        "email": [{
            "value": "fred@testsite.com",
            "modifier": "Work"
        }]

    },
    "tags": "VIP",
    //this is the block that is having no effect
    "social_connections": {
        "linkedin": {
            "value": "https://www.linkedin.com/in/fredtester/",
            "modifier": "",
            "group": "Contact Info",
            "label": "linkedin"
        }
    }
}
"fields: {
    "first name": [{
        "value": "Fred",
        "modifier": ""
    }],
    "last name": [{
        "value": "Tester",
        "modifier": ""
    }],
    "email": [{
        "value": "fred@testsite.com",
        "modifier": "Work"
    }]
    "linkedin" : {
        "value": "'.$linkedin.'",
        "modifier": ""
    }
}
我也尝试过不使用“linkedin”数组的“modifier”、“group”和“label”属性。娜达,没什么

顺便说一句,API调用在所有情况下都是成功的,即没有返回错误代码


有没有人成功地将社交网络与Nimble集成在一起的经验?

我终于听到了Nimble API支持部门的反馈(8天后)。文件似乎不是最新的。“social connections”字段已停止使用,添加linkedin URL的正确方法如下:

"linkedin" : {
    "value": "'.$linkedin.'",
    "modifier": ""
}
创建新联系人时,linkedin块作为“字段”数组的一部分添加,如下所示:

{
    //this part is working just fine
    "record_type": "person",
    "fields": {
        "first name": [{
            "value": "Fred",
            "modifier": ""
        }],
        "last name": [{
            "value": "Tester",
            "modifier": ""
        }],

        "email": [{
            "value": "fred@testsite.com",
            "modifier": "Work"
        }]

    },
    "tags": "VIP",
    //this is the block that is having no effect
    "social_connections": {
        "linkedin": {
            "value": "https://www.linkedin.com/in/fredtester/",
            "modifier": "",
            "group": "Contact Info",
            "label": "linkedin"
        }
    }
}
"fields: {
    "first name": [{
        "value": "Fred",
        "modifier": ""
    }],
    "last name": [{
        "value": "Tester",
        "modifier": ""
    }],
    "email": [{
        "value": "fred@testsite.com",
        "modifier": "Work"
    }]
    "linkedin" : {
        "value": "'.$linkedin.'",
        "modifier": ""
    }
}
做出更改后,linkedin的URL将与联系人一起正确创建

希望这对其他人有帮助。如果有人发现此项超过1500个重复点,请创建一个灵活的标签。不幸的是,我不能