We are having a persistent issue with the Activity Search API v2 where most events come through the API duplicated multiple times. Usually 1 is correct and the other 2 or 3 have outdated or missing data. There doesn't seem to be any indication to help discern which one is active. If we search for these events (even searching for deleted or closed events) in the admin console only one event shows up. ONLY the API returns these extra duplicated results which don't appear anywhere else in the system. The activities do NOT have any child events.
Is there any explanation for why events are duplicated with outdated, incorrect, or missing data? Is there any way to tell which one is the "real" one (the one we can edit and see from the admin console)? I had thought maybe assetVersion would give some indication, with the highest # being the most recent edit, however this doesn't appear to be the case. Sometimes it is the lowest version which contains the latest data - seems pretty random.
We are having a persistent issue with the Activity Search API v2 where most events come through the API duplicated multiple times. Usually 1 is correct and the other 2 or 3 have outdated or missing data. There doesn't seem to be any indication to help discern which one is active. If we search for these events (even searching for deleted or closed events) in the admin console only one event shows up. ONLY the API returns these extra duplicated results which don't appear anywhere else in the system. The activities do NOT have any child events.
The API call I'm using is this:
http://api.amp.active.com/v2/search?per_page=500¤t_page=1&category=event&end_date=2017-01-06..2018-01-06&org_id=X&api_key=X
Is there any explanation for why events are duplicated with outdated, incorrect, or missing data? Is there any way to tell which one is the "real" one (the one we can edit and see from the admin console)? I had thought maybe assetVersion would give some indication, with the highest # being the most recent edit, however this doesn't appear to be the case. Sometimes it is the lowest version which contains the latest data - seems pretty random.
Thanks.
Message edited by AppleTreeMedia 2 years ago