Distinguishing between API web services in Activity log

Anonymous
Not applicable

Distinguishing between API web services in Activity log

We have marketo syncing with a FileMaker database through a lot of custom scripting.

Part of the custom scripting is getting lead data changes through the activities API and updating our database accordingly. 

One problem I've run into is that we don't want to have changes that were pushed up from the FileMaker database to Marketo to then be written back down to the FileMaker database again when we are going through the lead activity.

The FileMaker database is not the only thing connecting and making changes through the Web API.  However, both the "Reason" and "Source" attributes for the activity simply say "Web Service API".  This isn't enough information to filter our the changes from FileMaker.

Is there any way to set up a system to be able to tell where the Web Service API changes are coming from?  A setting, custom activity, or whatever?

4 REPLIES 4
SanfordWhiteman
Level 10 - Community Moderator

Re: Distinguishing between API web services in Activity log

Which REST API endpoint are you using to write data?

Anonymous
Not applicable

Re: Distinguishing between API web services in Activity log

leads.json through the REST api.

SanfordWhiteman
Level 10 - Community Moderator

Re: Distinguishing between API web services in Activity log

You should switch to the Push Lead (/push.json) endpoint, which lets you include a call-specific source and reason with the payload.

Anonymous
Not applicable

Re: Distinguishing between API web services in Activity log

I tried that, and the activity where the change is recorded still lists the source and reason as "Web service API".  Only when I go into the activity log for the lead through the website ui do I see that there is a seperate activity log that says that there was a push, but it does not say what data was changed in that separate log.