• Register

ACTIVE Network API Forums

API Forum

RSS Feed

Wrong MediaType Returned in Results

    • joannpav
    • Topic created 12 years ago

    Hi, When I run the query below, the results are expected to contain only half marathon races in Alaska, but result #10 is clearly only a 5k race and the mediaType does not contain 'half marathon'

    <title>Ugly Christmas Sweater 5K</title> <mediaType> <value>Event</value> <value>Event\5K</value> <value>=difficulty:Beginner</value> </mediaType>

    Result #2 is also not a half marathon, with the following mediaType <mediaType> <value>Event\5K</value> <value>Event</value> <value>=difficulty:Beginner</value> </mediaType>

    This is the query: http://api.amp.active.com/search?r=500&v=xml&num=500&k=NOT%20test&l=Alaska&m=meta:startDate:daterange:today..+meta:channel=Running+meta:mediaType:Half%20Marathon&api_key=****

    I get the same results when I use 'meta:splitMediaType'. Any ideas why this query is not working?

    Thanks

    Message edited by joannpav 3 years ago

  1. jarredd12 years ago

    Hi Joann,

    Thanks for bringing this to my attention. I'll look into this and get back to you ASAP.

    Regards, Jarred

  2. jarredd12 years ago

    Hi Joann,

    We are in the process of updating our asset/event database. The goal of this update is to better classify, categorize and tag the events so that they can be appropriately returned within the API results. Some events are submitted in the wrong category and need to be updated. This is an ongoing effort and you will see the results from the API improve over time.

    Best regards, Jarred

[ Page 1 of 1 ]