Application Development Support: Web Services: RESTful Resources

"/spls/{SETID}/history"

Returns version history for the specified SET ID.
API Version: 2

Path Parameters

  • SETID - The SET ID of a specific SPL. This parameter is required.

Query Parameters

Output Controls

  • pagesize - The number of records returned per page. This parameter is optional (Default 100, Maximum 100).
  • page - The page returned. This parameter is optional (Default 1).

Return Formats

RETURN FORMATS EXAMPLES

  • XML: https://dailymed.nlm.nih.gov/dailymed/services/v2/spls/9aa7140c-012c-4ea6-866d-4732e915dab6/history.xml

    Returns

    <?xml version="1.0" encoding="UTF-8"?>
    <spl>
    	<metadata>
    		<total_elements>3</total_elements>
    		<elements_per_page>100</elements_per_page>
    		<total_pages>1</total_pages>
    		<current_page>1</current_page>
    		<current_url>https://dailymed.nlm.nih.gov/dailymed/services/v2/spls/9aa7140c-012c-4ea6-866d-4732e915dab6/history.xml</current_url>
    		<previous_page>null</previous_page>
    		<previous_page_url>null</previous_page_url>
    		<next_page>null</next_page>
    		<next_page_url>null</next_page_url>
    		<db_published_date>Feb 05, 2014 12:39:52PM EST</db_published_date>
    	</metadata>
    	<setid>9aa7140c-012c-4ea6-866d-4732e915dab6</setid>
    	<title>EDECRIN (ETHACRYNIC ACID) TABLET [ATON PHARMA, INC.]</title>
    	<history>
    		<history_entry>
    			<spl_version>3</spl_version>
    			<published_date>Sep 26, 2012</published_date>
    		</history_entry>
    		<history_entry>
    			<spl_version>2</spl_version>
    			<published_date>Mar 12, 2010</published_date>
    		</history_entry>
    		<history_entry>
    			<spl_version>1</spl_version>
    			<published_date>Jun 30, 2009</published_date>
    		</history_entry>
    	</history>
    </spl>
                                        
    Close
  • JSON: https://dailymed.nlm.nih.gov/dailymed/services/v2/spls/9aa7140c-012c-4ea6-866d-4732e915dab6/history.json

    Returns

    {
    	"metadata": {
    		"elements_per_page": "100",
    		"next_page_url": "null",
    		"total_pages": "1",
    		"total_elements": "3",
    		"current_url": "https://dailymed.nlm.nih.gov/dailymed/services/v2/spls/9aa7140c-012c-4ea6-866d-4732e915dab6/history.json",
    		"db_published_date": "Feb 05, 2014 12:39:52PM EST",
    		"next_page": "null",
    		"previous_page": "null",
    		"previous_page_url": "null",
    		"current_page": "1"
    	},
    	"data": {
    		"history": [{
    			"spl_version": "3",
    			"published_date": "Sep 26, 2012"
    		}, {
    			"spl_version": "2",
    			"published_date": "Mar 12, 2010"
    		}, {
    			"spl_version": "1",
    			"published_date": "Jun 30, 2009"
    		}],
    		"spl": {
    			"setid": "9aa7140c-012c-4ea6-866d-4732e915dab6",
    			"title": "EDECRIN (ETHACRYNIC ACID) TABLET [ATON PHARMA, INC.]"
    		}
    	}
    }
                                        
    Close

RETURN TO WEB SERVICES