Request imprintTypes by Enumeration

Request

Request valid imprintTypes using API enumeration resource.

https://rximage.nlm.nih.gov/api/rximage/1/enum/imprintType

Reply, JSON format

{
  "replyStatus": {
    "success": true,
    "date": "2014-06-16 05:28:18 GMT"
  },
  "enum": {
    "imprintType": [
      {
        "name": "DEBOSSED",
        "description": "Imprint is depressed into the surface of the pill"
      },
      {
        "name": "EMBOSSED",
        "description": "Imprint is raised up from the surface of the pill"
      },
      {
        "name": "PRINTED",
        "description": "Imprint is printed onto the surface of the pill"
      }
    ]
  }
}

Reply, XML format

<rxImageAccess 
    xmlns:xsi="https://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://rximage.nlm.nih.gov/rxImageAccess.xsd">
	<replyStatus>
		<success>true</success>
		<date>2014-06-16 05:28:18 GMT</date>
	</replyStatus>
	<enum>
		<imprintType>
			<value description="Imprint is depressed into the surface of the pill">DEBOSSED</value>
			<value description="Imprint is raised up from the surface of the pill">EMBOSSED</value>
			<value description="Imprint is printed onto the surface of the pill">PRINTED</value>
		</imprintType>
	</enum>
</rxImageAccess>

Page Tools