Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

XML Example Result

No Format
<response><header><locale<?xml version="1.0" encoding="UTF-8"?> 
<response>
    <header>
        <locale country="US" language="en"/><timestamp>2009-06-24T11:04:34.397-04:00</timestamp><criteria><fmt>xml</fmt><include-provisional>false</include-provisional><hotspot>true</hotspot><rtype>loc</rtype><r>L99381</r><back>14</back><max-results>1000</max-results><detail>simple</detail></criteria></header><result><sighting><loc-id>L99381</loc-id><obs-dt>2009-06-22 08:00</obs-dt><obs-reviewed>false</obs-reviewed><obs-valid>true</obs-valid><num-checklists>1</num-checklists><loc-name>Stewart Park</loc-name><how-many>2</how-many><lat>42.4613266</lat><lng>-76.5059255</lng><com-name>American Coot</com-name><sci-name>Fulica americana</sci-name></sighting></result><>
        <timestamp>
            2009-07-01T10:29:53.035-04:00
        </timestamp>
        <criteria>
            <command>
                <fmt>
                    xml
                </fmt>
                <include-provisional>
                    true
                </include-provisional>                
                <r>
                    L99381
                </r>
                <back>
                    30
                </back>
                <max-results>
                    500
                </max-results>
                <detail>
                    simple
                </detail>
            </command>
        </criteria>
    </header>
    <result>
        <sighting>
            <loc-id>
                L99381
            </loc-id>
            <obs-dt>
                2009-06-24 17:00
            </obs-dt>
            <obs-reviewed>
                false
            </obs-reviewed>
            <obs-valid>
                true
            </obs-valid>
            <num-checklists>
                4 
            </num-checklists>    
            <loc-name>
                Stewart Park
            </loc-name>
            <how-many>
                1
            </how-many>
            <lat>
                42.4613266
            </lat>
            <lng>
                -76.5059255
            </lng>
            <com-name>
                Barn Swallow
            </com-name>
            <sci-name>
                Hirundo rustica
            </sci-name>
        </sighting>
    </result>
</response>

JSON Example Result

No Format
[{
    "locID": "L99381",
    "lat": 42.4613266,
    "howMany":2, 1,
    "locName": "Stewart Park",
    "obsValid": true,
    "lng": -76.5059255,
    "sciName": "FulicaHirundo americanarustica",
    "numChecklists":1, 4, 
    "obsReviewed": false,
    "obsDt": "2009-06-2224 0817:00","comName":"American Coot"},{"locID":"L99381","lat":42.4613266,"howMany":4,"locName":"Stewart Park","obsValid":true,"lng":-76.5059255,"sciName":"Dendroica petechia","numChecklists":2,"obsReviewed":false,"obsDt":"2009-06-22 08:00","comName":"Yellow Warbler"
    "comName": "Barn Swallow"
}]