returns all status updates of a given user
http://company_alias.goplanapp.com/api/statuses/get_all/2
http://company_alias.goplanapp.com/api/statuses/get_all?format=json&callback;=handlerFunction&id;=2
XML
<?xml version="1.0" encoding="UTF-8"?>
<statuses type="array">
<status>
<created-at type="datetime">2009-03-20T14:22:31+00:00</created-at>
<text>ngngngn</text>
<user-id type="integer">1</user-id>
</status>
<status>
<created-at type="datetime">2009-03-17T15:08:42+00:00</created-at>
<text>testing
goplan with
enters</text>
<user-id type="integer">1</user-id>
</status>
<status>
<created-at type="datetime">2009-03-17T15:08:24+00:00</created-at>
<text>testing goplan
</text>
<user-id type="integer">1</user-id>
</status>
</statuses>
JSON
handlerFunction([{"status": {"created_at": "2009/03/20 14:22:31 +0000", "text": "ngngngn", "user_id": 1}}, {"status": {"created_at": "2009/03/17 15:08:42 +0000", "text": "testing goplan\r\nwith \r\nenters", "user_id": 1}}, {"status": {"created_at": "2009/03/17 15:08:24 +0000", "text": "testing goplan\r\n", "user_id": 1}}])
returns the last status update of a given user
http://company_alias.goplanapp.com/api/statuses/get_last/2
http://company_alias.goplanapp.com/api/statuses/get_last?format=json&&id;=1
XML
<?xml version="1.0" encoding="UTF-8"?>
<status>
<created-at type="datetime">2009-03-20T14:22:31+00:00</created-at>
<text>ngngngn</text>
<user-id type="integer">1</user-id>
</status>
JSON
{"status": {"created_at": "2009/03/24 22:00:34 +0000", "text": "ngngngn", "user_id": 1}}
creates a new status for the current user and returns it
http://company_alias.goplanapp.com/api/statuses/update - pass the other parameters by POST
http://company_alias.goplanapp.com/api/statuses/update?format=json&callback;=handlerfunction&text;=working on something
XML
<?xml version="1.0" encoding="UTF-8"?>
<status>
<created-at type="datetime">2009-03-20T14:22:31+00:00</created-at>
<text>ngngngn</text>
<user-id type="integer">1</user-id>
</status>
JSON
han{"status": {"created_at": "2009/03/24 22:00:34 +0000", "text": "ngngngn", "user_id": 1}}
Follow us on Twitter and Facebook. Talk to us and Get Satisfaction.
Goplan is a product of Reinhardt Media, Ltd. | Contact support | Terms of Service