GET push/getAll
Returns a list of push messages send and scheduled
URL:
http://mobileroadie.com/api/push/getAll
Formats
XML, JSON, HTML
HTTP Method(s):
GET
Parameters:
-
api_key
-
Required
-
-
offset
-
For pagination. Default is set to 0.
-
-
limit
-
Limit the number of results returned. Default is 50.
-
Usage Example
http://mobileroadie.com/api/push/getAll/key/4d4ba30d73b77f7/offset/0/limit/10/format/xml
Code Example
<?php $handle = curl_init("https://mobileroadie.com/api/push/getAll/key/4d4ba30d73b77f7/limit/10/format/xml"); curl_setopt($handle, CURLOPT_HTTPAUTH, CURLAUTH_ANY); $response = curl_exec($handle); curl_close($handle); ?>
Example XML Response
<xml> <item> <id>1</id> <body>Happy New Year</body> <created>2011-06-03 12:58:20</created> <platform>all</platform> <lat>0.000000</lat> <lon>0.000000</lon> <location>90211</location> <radius>10</radius> <genres/> <type>radius</type> <scheduled_datetime>2012-01-01 00:00:00</scheduled_datetime> <url>http://mobileroadie.com/</url> </item> </xml>
Comments
0 comments
Please sign in to leave a comment.