Skip to main content
Shauki Elassaad (In-Depth, Inc.) publicó en las noticias en tiempo real de Matthias Zeller's

Any help is appreciated! 

 

Data.com company search/match accessing using REST interface not working:

 

This call for 'Google' WORKS: curl -XPOST https://xxx.salesforce.com/services/data/v37.0/match/DatacloudMatchEngine/DatacloudCompany -H 'Authorization: Bearer xxxx' -H "Content-Type: application/json" -d q3.json

 

While this call for 'Oracle FAILS:

 

curl -XPOST https://xxx.salesforce.com/services/data/v37.0/match/DatacloudMatchEngine/DatacloudCompany -H 'Authorization: Bearer xxxx' -H "Content-Type: application/json" -d @q4.json FAILS...RETURNS NO MATCHING RECORDS

 

q3.json: {

    "entities": [

        {

            "attributes": {

                "type": "DatacloudCompany"

            }, 

            "Name": "Google",

            "Website": "www.google.com",

            "City": "Mountain View"

        }

    ], 

    "fields": [

        "AnnualRevenue", 

        "City", 

        "CompanyId", 

        "Country"]

}

 

q4.json: {

    "entities": [

        {

            "attributes": {

                "type": "DatacloudCompany"

            }, 

            "Name": "Oracle",

            "Website": "www.oracle.com",

            "City": "Redwood City"

        }

    ], 

    "fields": [

        "AnnualRevenue", 

        "City", 

        "CompanyId", 

        "Country"]

}

0/9000