GET api/v{version}/laboratory/{laboratoryId}/subject/{subjectId}/measurement/standards

Gets the measurement standards and goals for subject.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
laboratoryId

The laboratory identifier.

integer

Required

subjectId

The subject identifier.

integer

Required

version

string

None.

Body Parameters

None.

Response Information

Resource Description

ResponseOfIEnumerableOfSubjectMeasurementTypeNormModel
NameDescriptionTypeAdditional information
Data

Collection of SubjectMeasurementTypeNormModel

None.

StatusCode

Gets or sets the status code.

HttpStatusCode

None.

StatusDescription

Gets or sets the status description.

string

None.

Errors

Collection of string

None.

Response Formats

application/json, text/json

Sample:
{
  "data": [
    {
      "subjectID": 1,
      "measurementTypeID": 2,
      "normalLow": 3.0,
      "normalHigh": 4.0,
      "goalLow": 5.0,
      "goalHigh": 6.0,
      "unitOfMeasureID": 7,
      "fromStandard": 8,
      "userOrStandard": "sample string 9",
      "measurementTypeName": "sample string 10"
    },
    {
      "subjectID": 1,
      "measurementTypeID": 2,
      "normalLow": 3.0,
      "normalHigh": 4.0,
      "goalLow": 5.0,
      "goalHigh": 6.0,
      "unitOfMeasureID": 7,
      "fromStandard": 8,
      "userOrStandard": "sample string 9",
      "measurementTypeName": "sample string 10"
    }
  ],
  "statusCode": 100,
  "statusDescription": "sample string 1",
  "errors": [
    "sample string 1",
    "sample string 2"
  ]
}

application/xml, text/xml

Sample:
<ResponseOfArrayOfSubjectMeasurementTypeNormModeluskxzdf5 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CancerBytesAPI.Response">
  <Errors xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </Errors>
  <StatusCode>Continue</StatusCode>
  <StatusDescription>sample string 1</StatusDescription>
  <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/CancerBytesAPI.Models">
    <d2p1:SubjectMeasurementTypeNormModel>
      <d2p1:FromStandard>8</d2p1:FromStandard>
      <d2p1:GoalHigh>6</d2p1:GoalHigh>
      <d2p1:GoalLow>5</d2p1:GoalLow>
      <d2p1:MeasurementTypeID>2</d2p1:MeasurementTypeID>
      <d2p1:MeasurementTypeName>sample string 10</d2p1:MeasurementTypeName>
      <d2p1:NormalHigh>4</d2p1:NormalHigh>
      <d2p1:NormalLow>3</d2p1:NormalLow>
      <d2p1:SubjectID>1</d2p1:SubjectID>
      <d2p1:UnitOfMeasureID>7</d2p1:UnitOfMeasureID>
      <d2p1:UserOrStandard>sample string 9</d2p1:UserOrStandard>
    </d2p1:SubjectMeasurementTypeNormModel>
    <d2p1:SubjectMeasurementTypeNormModel>
      <d2p1:FromStandard>8</d2p1:FromStandard>
      <d2p1:GoalHigh>6</d2p1:GoalHigh>
      <d2p1:GoalLow>5</d2p1:GoalLow>
      <d2p1:MeasurementTypeID>2</d2p1:MeasurementTypeID>
      <d2p1:MeasurementTypeName>sample string 10</d2p1:MeasurementTypeName>
      <d2p1:NormalHigh>4</d2p1:NormalHigh>
      <d2p1:NormalLow>3</d2p1:NormalLow>
      <d2p1:SubjectID>1</d2p1:SubjectID>
      <d2p1:UnitOfMeasureID>7</d2p1:UnitOfMeasureID>
      <d2p1:UserOrStandard>sample string 9</d2p1:UserOrStandard>
    </d2p1:SubjectMeasurementTypeNormModel>
  </Data>
</ResponseOfArrayOfSubjectMeasurementTypeNormModeluskxzdf5>