AnsweredAssumed Answered

Marketo Salesforce integration

Question asked by Javier Sanchez on Mar 28, 2019
Latest reply on Apr 18, 2019 by Javier Sanchez

Hi!

 

There is such thing in Marketo as SalesForce integration.

Not sure how exactly this works, but after user clicks that in Marketo UI then `sfdcId` and `sfdcName` fields are assigned to the program.

We are cloning Programs using API calls and customer want SalesForce integration to be automated as well.

Any ideas how to do this?

 

                        url = BASEURL + 'rest/asset/v1/program/' + str(
                            PROGRAMTOCLONEId) + '/clone.json?access_token=' + access_token
                        data = 'name=new programm test&sfdcName=some name&sfdcId=666&folder={"type": "Folder", "id":' + str(FolderId) + '}'
                        headers = {'Content-type': 'application/x-www-form-urlencoded'}
                        response = requests.post(url, data=data, headers=headers)

adding `sfdcId` and `sfdcName` to the call appears to be ignored.

at the same time `name` and `folder` is picked up and the new program is created in Marketo.

 

what am i missing here?

any ideas?

Outcomes