• Register

ACTIVE Network API Forums

API Forum

RSS Feed

Data in Output

    • DaveG
    • Topic created 17 years ago

    I am using the Search API and receiving an XML output. I am trying to pull out start date, closing date, event address and brief event description....unfortunately I don't see those in the output layout......I found Lat/Long.......but not the others.......Am I missing something?

    Message edited by DaveG 17 years ago

  1. DaveG – 17 years ago

    Looks like what I have to do is take the event ID from the search API result and call the Active Resource API to get the additional information.

  2. active Admin – 17 years ago

    The Active Resource API will give you the same address data that Search does. There are inconsistencies as "address" is a user input field, and we get varying results. But for the majority of records, you should be able to use:

    eventAddress
    city
    state

    Now sometimes you get:
    <eventAddress>Crown Point Drive and Corona Oriente Road</eventAddress>
    or
    <eventAddress>Starts at the Del Mar Fairgrounds - Finishes at La Jolla Cove</eventAddress>

    but other times you get:
    <eventAddress>2131 Pan American Plaza</eventAddress>

    Let me know how you go.

[ Page 1 of 1 ]