GET api/HcpcsTable/GetHcpcsMainTerms?year={year}&type={type}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
year

integer

Required

type

integer

Default value is 0

Body Parameters

None.

Response Information

Resource Description

DetailIndexItemList
NameDescriptionTypeAdditional information
items

Collection of DetailIndexItem

None.

Response Formats

application/json, text/json

Sample:
{
  "items": [
    {
      "level": 1,
      "title": "sample string 2",
      "code": "sample string 3"
    },
    {
      "level": 1,
      "title": "sample string 2",
      "code": "sample string 3"
    }
  ]
}

application/xml, text/xml

Sample:
<DetailIndexItemList xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MediProvider.Models">
  <items>
    <DetailIndexItem>
      <code>sample string 3</code>
      <level>1</level>
      <title>sample string 2</title>
    </DetailIndexItem>
    <DetailIndexItem>
      <code>sample string 3</code>
      <level>1</level>
      <title>sample string 2</title>
    </DetailIndexItem>
  </items>
</DetailIndexItemList>