• Register

ACTIVE Network API Forums

API Forum

RSS Feed

Expected output for assetId and assetName fields

    • Don
    • Topic created 12 years ago

    I'm looking to use the assetId from the results in the Activity Search API to call the Activity Details API, so I wanted to verify a couple things:

    1. When setting the view to JSON, is it expected that the asset ID and assetName fields will return 2-element arrays of values? In general, both values in the array seem to be the same except for lowercasing in some cases for the asset ID. http://api.amp.active.com/search?k=half+marathon&v=json&api_key=wuhmn9ye94xn3xnteudxsavw

    2. When setting the view to XML, the assetID and assetName contain tab and new line characters in the value. Not a big deal since I can just strip the response fields, but just wondering since the other fields don't seem to have this issue.

    Message edited by Don 12 years ago

  1. jarredd12 years ago

    Hi Don,

    Thanks for bringing this to my attention. We are working to improve the APIs and clean up the results. Removing the additional characters and tabs is on the to-do list. I'll be making announcements on Twitter and within the forum when things like this occur.

    Best regards,

    Jarred

    Technical Account Manager, ACTIVE Network

[ Page 1 of 1 ]