GET api/v{version}/laboratory/{laboratoryId}/subject/{subjectId}/measurement/{measurementId}
Gets the measurement.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
laboratoryId |
The laboratory identifier. |
integer |
Required |
measurementId |
The measurement identifier. |
integer |
Required |
subjectId |
The subject identifier. |
integer |
Default value is -1 |
version | string |
None. |
Body Parameters
None.
Response Information
Resource Description
ResponseOfMeasurementModelName | Description | Type | Additional information |
---|---|---|---|
Data | MeasurementModel |
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": { "measurementGroupID": 1, "noteFragmentID": 2, "measurementTypeName": "sample string 3", "baseline": true, "taskMeasurementTypeID": 5, "quantityString": "sample string 6", "measurementPositionID": 7, "measurementPosition": "sample string 8", "documentID": 9, "singleSelectionID": 10, "sourceRow": 11, "sourceColumn": 12, "taskID": 13, "taskTypeID": 14, "observationDateUtc": "2024-10-30T08:41:57.6777027-07:00", "subjectID": 16, "booleanValue": true, "userProfileID": 18, "measurementValuationMethodID": 19, "unitOfMeasureDescription": "sample string 20", "taskMeasurementTypeFieldLabel": "sample string 21", "aliasName": "sample string 22", "value": "sample string 23", "valueAsDecimal": 24.0, "outOfRange": true, "outsideOfNormalRange": true, "errorMessageText": "sample string 27", "weekStartDate": "2024-10-30T08:41:57.6777027-07:00", "measurementSourceDescription": "sample string 29", "observationInCurrentUsersTimeZone": "2024-10-30T08:41:57.6777027-07:00", "observationInMeasuredUsersTimeZone": "2024-10-30T08:41:57.6777027-07:00", "comparableDecimalValue": 32.0, "sourceID": 33, "sourceDescription": "sample string 34", "createdBy": 35, "changedDate": "2024-10-30T08:41:57.6777027-07:00", "changedBy": 37, "changedByName": "sample string 38", "measurementID": 39, "measurementTypeID": 40, "quantity": 41.0, "observationDate": "2024-10-30T08:41:57.6777027-07:00", "receiptDate": "2024-10-30T08:41:57.6777027-07:00", "measurementSourceID": 44 }, "statusCode": 100, "statusDescription": "sample string 1", "errors": [ "sample string 1", "sample string 2" ] }
application/xml, text/xml
Sample:
<ResponseOfMeasurementModeluskxzdf5 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:MeasurementID>39</d2p1:MeasurementID> <d2p1:MeasurementSourceID>44</d2p1:MeasurementSourceID> <d2p1:MeasurementTypeID>40</d2p1:MeasurementTypeID> <d2p1:ObservationDate>2024-10-30T08:41:57.6777027-07:00</d2p1:ObservationDate> <d2p1:Quantity>41</d2p1:Quantity> <d2p1:ReceiptDate>2024-10-30T08:41:57.6777027-07:00</d2p1:ReceiptDate> <d2p1:SubjectID>0</d2p1:SubjectID> <d2p1:UserProfileID>0</d2p1:UserProfileID> <d2p1:AliasName>sample string 22</d2p1:AliasName> <d2p1:Baseline>true</d2p1:Baseline> <d2p1:BooleanValue>true</d2p1:BooleanValue> <d2p1:ChangedBy>37</d2p1:ChangedBy> <d2p1:ChangedByName>sample string 38</d2p1:ChangedByName> <d2p1:ChangedDate>2024-10-30T08:41:57.6777027-07:00</d2p1:ChangedDate> <d2p1:ComparableDecimalValue>32</d2p1:ComparableDecimalValue> <d2p1:CreatedBy>35</d2p1:CreatedBy> <d2p1:DocumentID>9</d2p1:DocumentID> <d2p1:ErrorMessageText>sample string 27</d2p1:ErrorMessageText> <d2p1:MeasurementGroupID>1</d2p1:MeasurementGroupID> <d2p1:MeasurementPosition>sample string 8</d2p1:MeasurementPosition> <d2p1:MeasurementPositionID>7</d2p1:MeasurementPositionID> <d2p1:MeasurementSourceDescription>sample string 29</d2p1:MeasurementSourceDescription> <d2p1:MeasurementTypeName>sample string 3</d2p1:MeasurementTypeName> <d2p1:MeasurementValuationMethodID>19</d2p1:MeasurementValuationMethodID> <d2p1:NoteFragmentID>2</d2p1:NoteFragmentID> <d2p1:ObservationDateUtc xmlns:d3p1="http://schemas.datacontract.org/2004/07/System"> <d3p1:DateTime>2024-10-30T15:41:57.6777027Z</d3p1:DateTime> <d3p1:OffsetMinutes>-420</d3p1:OffsetMinutes> </d2p1:ObservationDateUtc> <d2p1:ObservationInCurrentUsersTimeZone>2024-10-30T08:41:57.6777027-07:00</d2p1:ObservationInCurrentUsersTimeZone> <d2p1:ObservationInMeasuredUsersTimeZone>2024-10-30T08:41:57.6777027-07:00</d2p1:ObservationInMeasuredUsersTimeZone> <d2p1:OutOfRange>true</d2p1:OutOfRange> <d2p1:OutsideOfNormalRange>true</d2p1:OutsideOfNormalRange> <d2p1:QuantityString>sample string 6</d2p1:QuantityString> <d2p1:SingleSelectionID>10</d2p1:SingleSelectionID> <d2p1:SourceColumn>12</d2p1:SourceColumn> <d2p1:SourceDescription>sample string 34</d2p1:SourceDescription> <d2p1:SourceID>33</d2p1:SourceID> <d2p1:SourceRow>11</d2p1:SourceRow> <d2p1:SubjectID>16</d2p1:SubjectID> <d2p1:TaskID>13</d2p1:TaskID> <d2p1:TaskMeasurementTypeFieldLabel>sample string 21</d2p1:TaskMeasurementTypeFieldLabel> <d2p1:TaskMeasurementTypeID>5</d2p1:TaskMeasurementTypeID> <d2p1:TaskTypeID>14</d2p1:TaskTypeID> <d2p1:UnitOfMeasureDescription>sample string 20</d2p1:UnitOfMeasureDescription> <d2p1:UserProfileID>18</d2p1:UserProfileID> <d2p1:Value>sample string 23</d2p1:Value> <d2p1:ValueAsDecimal>24</d2p1:ValueAsDecimal> <d2p1:WeekStartDate>2024-10-30T08:41:57.6777027-07:00</d2p1:WeekStartDate> </Data> </ResponseOfMeasurementModeluskxzdf5>