"/spls/{SETID}/ndcs"
Returns all ndcs 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
- XML: https://dailymed.nlm.nih.gov/dailymed/services/v2/spls/{SETID}/ndcs.xml
- JSON: https://dailymed.nlm.nih.gov/dailymed/services/v2/spls/{SETID}/ndcs.json
RETURN FORMATS EXAMPLES
-
XML: https://dailymed.nlm.nih.gov/dailymed/services/v2/spls/428ec205-a3be-434a-99c4-a8c4abe8e9b8/ndcs.xml?pagesize=10
Returns
<?xml version="1.0" encoding="UTF-8"?> <spl> <metadata> <total_elements>13</total_elements> <elements_per_page>100</elements_per_page> <total_pages>2</total_pages> <current_page>1</current_page> <current_url>https://dailymed.nlm.nih.gov/dailymed/services/v2/spls/428ec205-a3be-434a-99c4-a8c4abe8e9b8/ndcs.xml?pagesize=10</current_url> <previous_page>null</previous_page> <previous_page_url>null</previous_page_url> <next_page>2</next_page> <next_page_url>https://dailymed.nlm.nih.gov/dailymed/services/v2/spls/428ec205-a3be-434a-99c4-a8c4abe8e9b8/ndcs.xml?pagesize=10&page=2</next_page_url> <db_published_date>Mar 14, 2014 03:25:55PM EST</db_published_date> </metadata> <setid>428ec205-a3be-434a-99c4-a8c4abe8e9b8</setid> <spl_version>2</spl_version> <title>TYLENOL ARTHRITIS PAIN (ACETAMINOPHEN) TABLET, FILM COATED, EXTENDED RELEASE [MCNEIL CONSUMER HEALTHCARE DIV MCNEIL-PPC, INC]</title> <published_date>Sep 09, 2009</published_date> <ndcs> <ndc>50580-112-02</ndc> <ndc>50580-112-06</ndc> <ndc>50580-112-10</ndc> <ndc>50580-112-12</ndc> <ndc>50580-112-15</ndc> <ndc>50580-112-21</ndc> <ndc>50580-112-22</ndc> <ndc>50580-112-24</ndc> <ndc>50580-112-25</ndc> <ndc>50580-112-29</ndc> </ndcs> </spl>
Close -
JSON: https://dailymed.nlm.nih.gov/dailymed/services/v2/spls/428ec205-a3be-434a-99c4-a8c4abe8e9b8/ndcs.json?pagesize=10
Returns
{ "metadata": { "elements_per_page": "10", "next_page_url": "https://dailymed.nlm.nih.gov/dailymed/services/v2/spls/428ec205-a3be-434a-99c4-a8c4abe8e9b8/ndcs.json?pagesize=10&page=2", "total_pages": "2", "total_elements": "13", "current_url": "https://dailymed.nlm.nih.gov/dailymed/services/v2/spls/428ec205-a3be-434a-99c4-a8c4abe8e9b8/ndcs.json?pagesize=10", "db_published_date": "Mar 14, 2014 03:25:55PM EST", "next_page": "2", "previous_page": "null", "previous_page_url": "null", "current_page": "1" }, "data": { "ndcs": [{ "ndc": "50580-112-02" }, { "ndc": "50580-112-06" }, { "ndc": "50580-112-10" }, { "ndc": "50580-112-12" }, { "ndc": "50580-112-15" }, { "ndc": "50580-112-21" }, { "ndc": "50580-112-22" }, { "ndc": "50580-112-24" }, { "ndc": "50580-112-25" }, { "ndc": "50580-112-29" }], "spl_version": "2", "published_date": "Sep 09, 2009", "setid": "428ec205-a3be-434a-99c4-a8c4abe8e9b8", "title": "TYLENOL ARTHRITIS PAIN (ACETAMINOPHEN) TABLET, FILM COATED, EXTENDED RELEASE [MCNEIL CONSUMER HEALTHCARE DIV MCNEIL-PPC, INC]" } }
Close