- Created by Rajeshvaran Appasamy, last modified on Mar 31, 2017
You are viewing an old version of this page. View the current version.
Compare with Current View Page History
« Previous Version 4 Next »
1. Format
The API is based on REST convention and atom+xml feed for exchange of data
2. Authentication
None
API
Medication Feed
Request
Request :
GET /openmrs/ws/atomfeed/medication/recent
Headers :
None
Body:
None
Response (Example) Expand source
<?xml version="1.0" encoding="UTF-8"?> <feed xmlns="http://www.w3.org/2005/Atom"> <title>Patient AOP</title> <link rel="self" type="application/atom+xml" href="https://tr-dev.twhosted.com/openmrs/ws/atomfeed/medication/recent" /> <link rel="via" type="application/atom+xml" href="https://tr-dev.twhosted.com/openmrs/ws/atomfeed/medication/2" /> <link rel="prev-archive" type="application/atom+xml" href="https://tr-dev.twhosted.com/openmrs/ws/atomfeed/medication/1" /> <author> <name>OpenMRS</name> </author> <id>bec795b1-3d17-451d-b43e-a094019f6984+2</id> <generator uri="https://github.com/ICT4H/atomfeed">OpenMRS Feed Publisher</generator> <updated>2015-11-05T11:31:54Z</updated> <entry> <title>Medication</title> <category term="Medication" /> <id>tag:atomfeed.ict4h.org:90b2f279-8147-11e5-b875-0050568225ca</id> <updated>2015-11-02T09:53:27Z</updated> <published>2015-11-02T09:53:27Z</published> <content type="application/vnd.atomfeed+xml"><![CDATA[/openmrs/ws/rest/v1/tr/drugs/90b2c862-8147-11e5-b875-0050568225ca]]></content> </entry> <entry> <title>Medication</title> <category term="Medication" /> <id>tag:atomfeed.ict4h.org:90b36e6f-8147-11e5-b875-0050568225ca</id> <updated>2015-11-02T09:53:27Z</updated> <published>2015-11-02T09:53:27Z</published> <content type="application/vnd.atomfeed+xml"><![CDATA[/openmrs/ws/rest/v1/tr/drugs/90b344bf-8147-11e5-b875-0050568225ca]]></content> </entry> <entry> <title>Medication</title> <category term="Medication" /> <id>tag:atomfeed.ict4h.org:90b3fd46-8147-11e5-b875-0050568225ca</id> <updated>2015-11-02T09:53:27Z</updated> <published>2015-11-02T09:53:27Z</published> <content type="application/vnd.atomfeed+xml"><![CDATA[/openmrs/ws/rest/v1/tr/drugs/90b3d308-8147-11e5-b875-0050568225ca]]></content> </entry> <entry> <title>Medication</title> <category term="Medication" /> <id>tag:atomfeed.ict4h.org:90b47a1a-8147-11e5-b875-0050568225ca</id> <updated>2015-11-02T09:53:27Z</updated> <published>2015-11-02T09:53:27Z</published> <content type="application/vnd.atomfeed+xml"><![CDATA[/openmrs/ws/rest/v1/tr/drugs/90b44fd0-8147-11e5-b875-0050568225ca]]></content> </entry> <entry> <title>Medication</title> <category term="Medication" /> <id>tag:atomfeed.ict4h.org:90b4f61a-8147-11e5-b875-0050568225ca</id> <updated>2015-11-02T09:53:27Z</updated> <published>2015-11-02T09:53:27Z</published> <content type="application/vnd.atomfeed+xml"><![CDATA[/openmrs/ws/rest/v1/tr/drugs/90b4cc0b-8147-11e5-b875-0050568225ca]]></content> </entry> <entry> <title>Medication</title> <category term="Medication" /> <id>tag:atomfeed.ict4h.org:90b581e4-8147-11e5-b875-0050568225ca</id> <updated>2015-11-02T09:53:27Z</updated> <published>2015-11-02T09:53:27Z</published> <content type="application/vnd.atomfeed+xml"><![CDATA[/openmrs/ws/rest/v1/tr/drugs/90b552d0-8147-11e5-b875-0050568225ca]]></content> </entry> <entry> <title>Medication</title> <category term="Medication" /> <id>tag:atomfeed.ict4h.org:90b600a5-8147-11e5-b875-0050568225ca</id> <updated>2015-11-02T09:53:27Z</updated> <published>2015-11-02T09:53:27Z</published> <content type="application/vnd.atomfeed+xml"><![CDATA[/openmrs/ws/rest/v1/tr/drugs/90b5d64f-8147-11e5-b875-0050568225ca]]></content> </entry> <entry> <title>Medication</title> <category term="Medication" /> <id>tag:atomfeed.ict4h.org:90b67d5f-8147-11e5-b875-0050568225ca</id> <updated>2015-11-02T09:53:27Z</updated> <published>2015-11-02T09:53:27Z</published> <content type="application/vnd.atomfeed+xml"><![CDATA[/openmrs/ws/rest/v1/tr/drugs/90b6517a-8147-11e5-b875-0050568225ca]]></content> </entry> <entry> <title>Medication</title> <category term="Medication" /> <id>tag:atomfeed.ict4h.org:90b704fe-8147-11e5-b875-0050568225ca</id> <updated>2015-11-02T09:53:27Z</updated> <published>2015-11-02T09:53:27Z</published> <content type="application/vnd.atomfeed+xml"><![CDATA[/openmrs/ws/rest/v1/tr/drugs/90b6dae0-8147-11e5-b875-0050568225ca]]></content> </entry> <entry> <title>Medication</title> <category term="Medication" /> <id>tag:atomfeed.ict4h.org:90b782aa-8147-11e5-b875-0050568225ca</id> <updated>2015-11-02T09:53:27Z</updated> <published>2015-11-02T09:53:27Z</published> <content type="application/vnd.atomfeed+xml"><![CDATA[/openmrs/ws/rest/v1/tr/drugs/90b757d6-8147-11e5-b875-0050568225ca]]></content> </entry> <entry> <title>Medication</title> <category term="Medication" /> <id>tag:atomfeed.ict4h.org:90b8004b-8147-11e5-b875-0050568225ca</id> <updated>2015-11-02T09:53:27Z</updated> <published>2015-11-02T09:53:27Z</published> <content type="application/vnd.atomfeed+xml"><![CDATA[/openmrs/ws/rest/v1/tr/drugs/90b7d49a-8147-11e5-b875-0050568225ca]]></content> </entry> <entry> <title>Medication</title> <category term="Medication" /> <id>tag:atomfeed.ict4h.org:90b88746-8147-11e5-b875-0050568225ca</id> <updated>2015-11-02T09:53:27Z</updated> <published>2015-11-02T09:53:27Z</published> <content type="application/vnd.atomfeed+xml"><![CDATA[/openmrs/ws/rest/v1/tr/drugs/90b85c9f-8147-11e5-b875-0050568225ca]]></content> </entry> <entry> <title>Medication</title> <category term="Medication" /> <id>tag:atomfeed.ict4h.org:90b9049b-8147-11e5-b875-0050568225ca</id> <updated>2015-11-02T09:53:27Z</updated> <published>2015-11-02T09:53:27Z</published> <content type="application/vnd.atomfeed+xml"><![CDATA[/openmrs/ws/rest/v1/tr/drugs/90b8d8a7-8147-11e5-b875-0050568225ca]]></content> </entry> <entry> <title>Medication</title> <category term="Medication" /> <id>tag:atomfeed.ict4h.org:90b986c4-8147-11e5-b875-0050568225ca</id> <updated>2015-11-02T09:53:27Z</updated> <published>2015-11-02T09:53:27Z</published> <content type="application/vnd.atomfeed+xml"><![CDATA[/openmrs/ws/rest/v1/tr/drugs/90b959ba-8147-11e5-b875-0050568225ca]]></content> </entry> <entry> <title>Medication</title> <category term="Medication" /> <id>tag:atomfeed.ict4h.org:90ba14ad-8147-11e5-b875-0050568225ca</id> <updated>2015-11-02T09:53:27Z</updated> <published>2015-11-02T09:53:27Z</published> <content type="application/vnd.atomfeed+xml"><![CDATA[/openmrs/ws/rest/v1/tr/drugs/90b9e710-8147-11e5-b875-0050568225ca]]></content> </entry> <entry> <title>Medication</title> <category term="Medication" /> <id>tag:atomfeed.ict4h.org:97a16317-0cff-4fb1-a880-2b787b86fe1a</id> <updated>2015-11-03T14:03:45Z</updated> <published>2015-11-03T14:03:45Z</published> <content type="application/vnd.atomfeed+xml"><![CDATA[/openmrs/ws/rest/v1/tr/drugs/f2c08ba1-4d91-4803-a54b-6108bc060978]]></content> </entry> <entry> <title>Medication</title> <category term="Medication" /> <id>tag:atomfeed.ict4h.org:81a8e535-c418-434a-9e3e-a8f12e9ad710</id> <updated>2015-11-03T14:08:05Z</updated> <published>2015-11-03T14:08:05Z</published> <content type="application/vnd.atomfeed+xml"><![CDATA[/openmrs/ws/rest/v1/tr/drugs/6d114602-64aa-4eff-9cbc-bbc1eb49d845]]></content> </entry> <entry> <title>Medication</title> <category term="Medication" /> <id>tag:atomfeed.ict4h.org:d0ad63ed-83b0-11e5-b875-0050568225ca</id> <updated>2015-11-05T11:31:54Z</updated> <published>2015-11-05T11:31:54Z</published> <content type="application/vnd.atomfeed+xml"><![CDATA[/openmrs/ws/rest/v1/tr/drugs/d0ad2082-83b0-11e5-b875-0050568225ca]]></content> </entry> <entry> <title>Medication</title> <category term="Medication" /> <id>tag:atomfeed.ict4h.org:d0ae2681-83b0-11e5-b875-0050568225ca</id> <updated>2015-11-05T11:31:54Z</updated> <published>2015-11-05T11:31:54Z</published> <content type="application/vnd.atomfeed+xml"><![CDATA[/openmrs/ws/rest/v1/tr/drugs/d0adea64-83b0-11e5-b875-0050568225ca]]></content> </entry> <entry> <title>Medication</title> <category term="Medication" /> <id>tag:atomfeed.ict4h.org:d0b0b0b6-83b0-11e5-b875-0050568225ca</id> <updated>2015-11-05T11:31:54Z</updated> <published>2015-11-05T11:31:54Z</published> <content type="application/vnd.atomfeed+xml"><![CDATA[/openmrs/ws/rest/v1/tr/drugs/d0b078c9-83b0-11e5-b875-0050568225ca]]></content> </entry> <entry> <title>Medication</title> <category term="Medication" /> <id>tag:atomfeed.ict4h.org:d0b13c74-83b0-11e5-b875-0050568225ca</id> <updated>2015-11-05T11:31:54Z</updated> <published>2015-11-05T11:31:54Z</published> <content type="application/vnd.atomfeed+xml"><![CDATA[/openmrs/ws/rest/v1/tr/drugs/d0b10de2-83b0-11e5-b875-0050568225ca]]></content> </entry> <entry> <title>Medication</title> <category term="Medication" /> <id>tag:atomfeed.ict4h.org:d0b1c75f-83b0-11e5-b875-0050568225ca</id> <updated>2015-11-05T11:31:54Z</updated> <published>2015-11-05T11:31:54Z</published> <content type="application/vnd.atomfeed+xml"><![CDATA[/openmrs/ws/rest/v1/tr/drugs/d0b19a53-83b0-11e5-b875-0050568225ca]]></content> </entry> <entry> <title>Medication</title> <category term="Medication" /> <id>tag:atomfeed.ict4h.org:d0b2e012-83b0-11e5-b875-0050568225ca</id> <updated>2015-11-05T11:31:54Z</updated> <published>2015-11-05T11:31:54Z</published> <content type="application/vnd.atomfeed+xml"><![CDATA[/openmrs/ws/rest/v1/tr/drugs/d0b2322b-83b0-11e5-b875-0050568225ca]]></content> </entry> <entry> <title>Medication</title> <category term="Medication" /> <id>tag:atomfeed.ict4h.org:d0b395ac-83b0-11e5-b875-0050568225ca</id> <updated>2015-11-05T11:31:54Z</updated> <published>2015-11-05T11:31:54Z</published> <content type="application/vnd.atomfeed+xml"><![CDATA[/openmrs/ws/rest/v1/tr/drugs/d0b367a1-83b0-11e5-b875-0050568225ca]]></content> </entry> <entry> <title>Medication</title> <category term="Medication" /> <id>tag:atomfeed.ict4h.org:d0b42c0b-83b0-11e5-b875-0050568225ca</id> <updated>2015-11-05T11:31:54Z</updated> <published>2015-11-05T11:31:54Z</published> <content type="application/vnd.atomfeed+xml"><![CDATA[/openmrs/ws/rest/v1/tr/drugs/d0b3f907-83b0-11e5-b875-0050568225ca]]></content> </entry> <entry> <title>Medication</title> <category term="Medication" /> <id>tag:atomfeed.ict4h.org:d0b4bb76-83b0-11e5-b875-0050568225ca</id> <updated>2015-11-05T11:31:54Z</updated> <published>2015-11-05T11:31:54Z</published> <content type="application/vnd.atomfeed+xml"><![CDATA[/openmrs/ws/rest/v1/tr/drugs/d0b48edf-83b0-11e5-b875-0050568225ca]]></content> </entry> <entry> <title>Medication</title> <category term="Medication" /> <id>tag:atomfeed.ict4h.org:d0b5c1e7-83b0-11e5-b875-0050568225ca</id> <updated>2015-11-05T11:31:54Z</updated> <published>2015-11-05T11:31:54Z</published> <content type="application/vnd.atomfeed+xml"><![CDATA[/openmrs/ws/rest/v1/tr/drugs/d0b593d4-83b0-11e5-b875-0050568225ca]]></content> </entry> <entry> <title>Medication</title> <category term="Medication" /> <id>tag:atomfeed.ict4h.org:d0b64f0f-83b0-11e5-b875-0050568225ca</id> <updated>2015-11-05T11:31:54Z</updated> <published>2015-11-05T11:31:54Z</published> <content type="application/vnd.atomfeed+xml"><![CDATA[/openmrs/ws/rest/v1/tr/drugs/d0b61b98-83b0-11e5-b875-0050568225ca]]></content> </entry> <entry> <title>Medication</title> <category term="Medication" /> <id>tag:atomfeed.ict4h.org:d0b6e439-83b0-11e5-b875-0050568225ca</id> <updated>2015-11-05T11:31:54Z</updated> <published>2015-11-05T11:31:54Z</published> <content type="application/vnd.atomfeed+xml"><![CDATA[/openmrs/ws/rest/v1/tr/drugs/d0b6b248-83b0-11e5-b875-0050568225ca]]></content> </entry> <entry> <title>Medication</title> <category term="Medication" /> <id>tag:atomfeed.ict4h.org:d0b78203-83b0-11e5-b875-0050568225ca</id> <updated>2015-11-05T11:31:54Z</updated> <published>2015-11-05T11:31:54Z</published> <content type="application/vnd.atomfeed+xml"><![CDATA[/openmrs/ws/rest/v1/tr/drugs/d0b753fd-83b0-11e5-b875-0050568225ca]]></content> </entry> <entry> <title>Medication</title> <category term="Medication" /> <id>tag:atomfeed.ict4h.org:d0b80bfe-83b0-11e5-b875-0050568225ca</id> <updated>2015-11-05T11:31:54Z</updated> <published>2015-11-05T11:31:54Z</published> <content type="application/vnd.atomfeed+xml"><![CDATA[/openmrs/ws/rest/v1/tr/drugs/d0b7dce1-83b0-11e5-b875-0050568225ca]]></content> </entry> <entry> <title>Medication</title> <category term="Medication" /> <id>tag:atomfeed.ict4h.org:d0b894bb-83b0-11e5-b875-0050568225ca</id> <updated>2015-11-05T11:31:54Z</updated> <published>2015-11-05T11:31:54Z</published> <content type="application/vnd.atomfeed+xml"><![CDATA[/openmrs/ws/rest/v1/tr/drugs/d0b86718-83b0-11e5-b875-0050568225ca]]></content> </entry> </feed>
- No labels
0 Comments