GET api/v1/resources/lab-panels/{panelId}

Returns a specific lab panel by id

Request Information

URI Parameters

NameDescriptionTypeAdditional information
panelId

integer

Required

Body Parameters

None.

Response Information

Resource Description

The specific lab panel and all of it's tests

LabPanel
NameDescriptionTypeAdditional information
panelId

integer

None.

panelName

string

None.

items

Collection of LabPanelTest

None.

_links

Collection of Link

None.

_languages

Collection of LanguagesLink

None.

Response Codes

CodeDescriptionAdditional information
200OKThe request returned without error
204No ContentThe request was successful but no results were returned
400Bad RequestA parameter was missing or invalid
404Not FoundThe requested resource was not found

Response Formats

application/json, text/json

Sample:
{
  "panelId": 1,
  "panelName": "sample string 2",
  "items": [
    {
      "testId": 1,
      "testName": "sample string 2",
      "items": [
        {
          "section": "sample string 1",
          "traditionalUnits": "sample string 2",
          "scientificUnits": "sample string 3",
          "comments": "sample string 4"
        },
        {
          "section": "sample string 1",
          "traditionalUnits": "sample string 2",
          "scientificUnits": "sample string 3",
          "comments": "sample string 4"
        }
      ],
      "_links": [
        {
          "rel": "sample string 1",
          "locale": "sample string 4",
          "href": "sample string 2",
          "templated": true
        },
        {
          "rel": "sample string 1",
          "locale": "sample string 4",
          "href": "sample string 2",
          "templated": true
        }
      ],
      "_languages": [
        {
          "rel": "sample string 1",
          "locale": "sample string 3",
          "name": "sample string 4",
          "href": "sample string 2"
        },
        {
          "rel": "sample string 1",
          "locale": "sample string 3",
          "name": "sample string 4",
          "href": "sample string 2"
        }
      ]
    },
    {
      "testId": 1,
      "testName": "sample string 2",
      "items": [
        {
          "section": "sample string 1",
          "traditionalUnits": "sample string 2",
          "scientificUnits": "sample string 3",
          "comments": "sample string 4"
        },
        {
          "section": "sample string 1",
          "traditionalUnits": "sample string 2",
          "scientificUnits": "sample string 3",
          "comments": "sample string 4"
        }
      ],
      "_links": [
        {
          "rel": "sample string 1",
          "locale": "sample string 4",
          "href": "sample string 2",
          "templated": true
        },
        {
          "rel": "sample string 1",
          "locale": "sample string 4",
          "href": "sample string 2",
          "templated": true
        }
      ],
      "_languages": [
        {
          "rel": "sample string 1",
          "locale": "sample string 3",
          "name": "sample string 4",
          "href": "sample string 2"
        },
        {
          "rel": "sample string 1",
          "locale": "sample string 3",
          "name": "sample string 4",
          "href": "sample string 2"
        }
      ]
    }
  ],
  "_links": [
    {
      "rel": "sample string 1",
      "locale": "sample string 4",
      "href": "sample string 2",
      "templated": true
    },
    {
      "rel": "sample string 1",
      "locale": "sample string 4",
      "href": "sample string 2",
      "templated": true
    }
  ],
  "_languages": [
    {
      "rel": "sample string 1",
      "locale": "sample string 3",
      "name": "sample string 4",
      "href": "sample string 2"
    },
    {
      "rel": "sample string 1",
      "locale": "sample string 3",
      "name": "sample string 4",
      "href": "sample string 2"
    }
  ]
}

application/xml, text/xml

Sample:
<labPanel xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
  <_languages>
    <languageslink>
      <rel>sample string 1</rel>
      <locale>sample string 3</locale>
      <name>sample string 4</name>
      <href>sample string 2</href>
    </languageslink>
    <languageslink>
      <rel>sample string 1</rel>
      <locale>sample string 3</locale>
      <name>sample string 4</name>
      <href>sample string 2</href>
    </languageslink>
  </_languages>
  <_links>
    <link>
      <rel>sample string 1</rel>
      <locale>sample string 4</locale>
      <href>sample string 2</href>
      <templated>true</templated>
    </link>
    <link>
      <rel>sample string 1</rel>
      <locale>sample string 4</locale>
      <href>sample string 2</href>
      <templated>true</templated>
    </link>
  </_links>
  <items>
    <labPanelTest>
      <_languages>
        <languageslink>
          <rel>sample string 1</rel>
          <locale>sample string 3</locale>
          <name>sample string 4</name>
          <href>sample string 2</href>
        </languageslink>
        <languageslink>
          <rel>sample string 1</rel>
          <locale>sample string 3</locale>
          <name>sample string 4</name>
          <href>sample string 2</href>
        </languageslink>
      </_languages>
      <_links>
        <link>
          <rel>sample string 1</rel>
          <locale>sample string 4</locale>
          <href>sample string 2</href>
          <templated>true</templated>
        </link>
        <link>
          <rel>sample string 1</rel>
          <locale>sample string 4</locale>
          <href>sample string 2</href>
          <templated>true</templated>
        </link>
      </_links>
      <items>
        <labPanelItem>
          <comments>sample string 4</comments>
          <scientificUnits>sample string 3</scientificUnits>
          <section>sample string 1</section>
          <traditionalUnits>sample string 2</traditionalUnits>
        </labPanelItem>
        <labPanelItem>
          <comments>sample string 4</comments>
          <scientificUnits>sample string 3</scientificUnits>
          <section>sample string 1</section>
          <traditionalUnits>sample string 2</traditionalUnits>
        </labPanelItem>
      </items>
      <testId>1</testId>
      <testName>sample string 2</testName>
    </labPanelTest>
    <labPanelTest>
      <_languages>
        <languageslink>
          <rel>sample string 1</rel>
          <locale>sample string 3</locale>
          <name>sample string 4</name>
          <href>sample string 2</href>
        </languageslink>
        <languageslink>
          <rel>sample string 1</rel>
          <locale>sample string 3</locale>
          <name>sample string 4</name>
          <href>sample string 2</href>
        </languageslink>
      </_languages>
      <_links>
        <link>
          <rel>sample string 1</rel>
          <locale>sample string 4</locale>
          <href>sample string 2</href>
          <templated>true</templated>
        </link>
        <link>
          <rel>sample string 1</rel>
          <locale>sample string 4</locale>
          <href>sample string 2</href>
          <templated>true</templated>
        </link>
      </_links>
      <items>
        <labPanelItem>
          <comments>sample string 4</comments>
          <scientificUnits>sample string 3</scientificUnits>
          <section>sample string 1</section>
          <traditionalUnits>sample string 2</traditionalUnits>
        </labPanelItem>
        <labPanelItem>
          <comments>sample string 4</comments>
          <scientificUnits>sample string 3</scientificUnits>
          <section>sample string 1</section>
          <traditionalUnits>sample string 2</traditionalUnits>
        </labPanelItem>
      </items>
      <testId>1</testId>
      <testName>sample string 2</testName>
    </labPanelTest>
  </items>
  <panelId>1</panelId>
  <panelName>sample string 2</panelName>
</labPanel>