Devices

Arguments

 api_key (required)  your API application key
 take (optional)  Number of items to return per page
 page (optional)  Page number to return

Example XML Request

http://api.reveldigital.com/devices?api_key=xxxxxx

Example JSON Request

http://api.reveldigital.com/devices.json?api_key=xxxxxx

Example Response
<devices xmlns="http://api.reveldigital.com/2011/01"    xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
    <device>
        <entered_service>2009-01-09T10:48:55Z</entered_service>
        <group_id>xxxxxx</group_id>
        <group_name>In House</group_name>
        <id>xxxxxx</id>
        <last_service i:nil="true"/>
        <last_update>2009-12-01T14:00:06Z</last_update>
        <location>
            <address/>
            <city>Fargo</city>
            <country>US</country>
            <latitude>46.8647086</latitude>
            <longitude>-96.8262901</longitude>
            <postal_code>58103</postal_code>
            <state>ND</state>
        </location>
        <name>Mike's Dev Unit</name>
        <tags i:nil="true"/>
        <timezone>Central Standard Time</timezone>
    </device>
<devices>
Error Codes

400 Bad Request Invalid API key

Test Console
Comments