Application Development Support: Web Services: RESTful Resources

"/spls/{SETID}/packaging"

Returns all product packaging descriptions for specific 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/l51b031a0-bc40-4159-a434-d48c3eadd2ca/packaging.xml?pagesize=10

    Returns

    <?xml version="1.0" encoding="UTF-8" ?>
    <spl>
    	<metadata>
    		<current_url>https://dailymed.nlm.nih.gov/dailymed/services/v2/spls/l51b031a0-bc40-4159-a434-d48c3eadd2ca/packaging.xml</current_url>
    		<db_published_date>May 28, 2014 02:59:40PM EST</db_published_date>
    	</metadata>
    	<setid>l51b031a0-bc40-4159-a434-d48c3eadd2ca</setid>
    	<spl_version>1</spl_version>
    	<title>LEVULAN KERASTICK (AMINOLEVULINIC ACID HYDROCHLORIDE) [DUSA]</title>
    	<published_date>Apr 20, 2007</published_date>
    	<products>
    		<product>
    			<product_code>67308-101</product_code>
    			<product_name>LEVULAN KERASTICK</product_name>
    			<product_name_generic>Aminolevulinic acid hydrochloride</product_name_generic>
    			<packaging>
    				<package>
    					<ndc>67308-101-01</ndc>
    					<package_descriptions>
    						<package_description>1 in 1 APPLICATOR</package_description>
    					</package_descriptions>
    				</package>
    				<package>
    					<ndc>67308-101-06</ndc>
    					<package_descriptions>
    						<package_description>6 in 1 CARTON</package_description>
    					</package_descriptions>
    				</package>
    			</packaging>
    			<active_ingredients>
    				<active_ingredient>
    					<name>Aminolevulinic acid hydrochloride</name>
    					<strength>354 MILLIGRAM In 1.5 MILLILITER</strength>
    				</active_ingredient>
    			</active_ingredients>
    			<parts>
    				<part>
    					<part_number>1</part_number>
    					<part_code />
    					<part_name>LEVULAN</part_name>
    					<part_name_generic>aminolevulinic acid hydrochloride</part_name_generic>
    					<package_quantity>2 AMPULE</package_quantity>
    					<total_product_quantity>1.5 mL</total_product_quantity>
    					<packaging>
    						<package>
    							<ndc />
    							<package_descriptions>
    								<package_description>1 in 1 AMPULE</package_description>
    							</package_descriptions>
    						</package>
    					</packaging>
    					<active_ingredients>
    						<active_ingredient>
    							<name>Aminolevulinic acid hydrochloride</name>
    							<strength>354 mg</strength>
    						</active_ingredient>
    					</active_ingredients>
    				</part>
    				<part>
    					<part_number>2</part_number>
    					<part_code />
    					<part_name>Diluent</part_name>
    					<part_name_generic>Diluent</part_name_generic>
    					<package_quantity>2 AMPULE</package_quantity>
    					<total_product_quantity>1.5 mL</total_product_quantity>
    					<packaging>
    						<package>
    							<ndc />
    							<package_descriptions>
    								<package_description>1 in 1 AMPULE</package_description>
    							</package_descriptions>
    						</package>
    					</packaging>
    					<active_ingredients />
    				</part>
    			</parts>
    		</product>
    	</products>
    </spl>
    													
    Close
  • JSON: https://dailymed.nlm.nih.gov/dailymed/services/v2/spls/l51b031a0-bc40-4159-a434-d48c3eadd2ca/packaging.json?pagesize=10

    Returns

    {
    	"metadata": {
    		"current_url": "https://dailymed.nlm.nih.gov/dailymed/services/v2/spls/l51b031a0-bc40-4159-a434-d48c3eadd2ca/packaging.json",
    		"db_published_date": "May 28, 2014 02:59:40PM EST"
    	},
    	"data": {
    		"spl_version": "1",
    		"products": [{
    			"parts": {
    				"2": {
    					"part_number": "2",
    					"active_ingredients": [
    
    					],
    					"total_product_quantity": "1.5 mL",
    					"packaging": [{
    						"ndc": "",
    						"package_descriptions": [
    							"1  in 1 AMPULE"
    						]
    					}],
    					"part_name": "Diluent",
    					"part_code": "",
    					"package_quantity": "2 AMPULE",
    					"part_name_generic": "Diluent"
    				},
    				"1": {
    					"part_number": "1",
    					"active_ingredients": [{
    						"name": "Aminolevulinic acid hydrochloride",
    						"strength": "354 mg"
    					}],
    					"total_product_quantity": "1.5 mL",
    					"packaging": [{
    						"ndc": "",
    						"package_descriptions": [
    							"1  in 1 AMPULE"
    						]
    					}],
    					"part_name": "LEVULAN",
    					"part_code": "",
    					"package_quantity": "2 AMPULE",
    					"part_name_generic": "aminolevulinic acid hydrochloride"
    				}
    			},
    			"active_ingredients": [{
    				"name": "Aminolevulinic acid hydrochloride",
    				"strength": "354 MILLIGRAM In 1.5 MILLILITER"
    			}],
    			"product_name": "LEVULAN KERASTICK",
    			"packaging": [{
    				"ndc": "67308-101-01",
    				"package_descriptions": [
    					"1  in 1 APPLICATOR"
    				]
    			}, {
    				"ndc": "67308-101-06",
    				"package_descriptions": [
    					"6  in 1 CARTON"
    				]
    			}],
    			"product_code": "67308-101",
    			"product_name_generic": "Aminolevulinic acid hydrochloride"
    		}],
    		"published_date": "Apr 20, 2007",
    		"setid": "l51b031a0-bc40-4159-a434-d48c3eadd2ca",
    		"title": "LEVULAN KERASTICK (AMINOLEVULINIC ACID HYDROCHLORIDE) [DUSA]"
    	}
    }
    													
    Close

RETURN TO WEB SERVICES