Created
July 12, 2016 14:13
-
-
Save cumbreras/1d57dc44890b24cab9033754037cbcef to your computer and use it in GitHub Desktop.
Unsuccessful lookup population through API
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FIRST APPROACH: | |
account = { | |
attributes: { type: 'Account', referenceId: 'dummy-reference' }, | |
Name: 'TestingCompany', | |
Website: 'http://www.testingwebsite.com', | |
BillingPostalCode: '11031', | |
AnnualRevenue: '43000', | |
CW_Industry__c: { CW_UUID__c: '6b4f1c52-3659-48d9-8dd0-5660ee9c4cfc' }, | |
CW_Subindustry__c: { CW_UUID__c: '9b825489-7184-4a17-aa99-d886e7bbaae1' }, | |
CanaryAMS__Business_Structure__c: 'Individual', | |
CW_Total_Payroll__c: '192391239', | |
CanaryAMS__Year_Established__c: '1993', | |
CW_Years_of_Experience__c: '20', | |
CanaryAMS__of_FT_Employees__c: '2', | |
CanaryAMS__of_PT_Employees__c: '3' | |
} | |
SECOND APPROACH: | |
account = { | |
attributes: { type: 'Account', referenceId: 'dummy-reference' }, | |
Name: 'TestingCompany', | |
Website: 'http://www.testingwebsite.com', | |
BillingPostalCode: '11031', | |
AnnualRevenue: '43000', | |
Accounts_Industry__r: { CW_UUID__c: '6b4f1c52-3659-48d9-8dd0-5660ee9c4cfc' }, | |
Accounts_Subindustry__r: { CW_UUID__c: '9b825489-7184-4a17-aa99-d886e7bbaae1' }, | |
CanaryAMS__Business_Structure__c: 'Individual', | |
CW_Total_Payroll__c: '192391239', | |
CanaryAMS__Year_Established__c: '1993', | |
CW_Years_of_Experience__c: '20', | |
CanaryAMS__of_FT_Employees__c: '2', | |
CanaryAMS__of_PT_Employees__c: '3' | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment