GET api/MeterCalibr/{MeterID}
Returns calibration data based on Meter ID
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
MeterID |
The Meter ID for calibration data needed. |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
MeterCalibrModelName | Description | Type | Additional information |
---|---|---|---|
CalibrationDate |
The date of the last calibration. |
string |
None. |
DaysElapsed |
The time (in days) between the calibration date and current date. |
string |
None. |
TechName |
The name of the technician who last calibrated. |
string |
None. |
AsFound |
Description needed. |
string |
None. |
AsLeft |
Description needed. |
string |
None. |
DeviceID |
The Beamex unit that was used to calibrate |
string |
None. |
MaxErrorPercent |
Description Needed |
string |
None. |
CalibrationNum |
Description Needed |
string |
None. |
CurrentTimeStamp |
Date/time query was accessed |
string |
None. |
Response Formats
application/json, text/json
Sample:
{ "CalibrationDate": "sample string 1", "DaysElapsed": "sample string 2", "TechName": "sample string 3", "AsFound": "sample string 4", "AsLeft": "sample string 5", "DeviceID": "sample string 6", "MaxErrorPercent": "sample string 7", "CalibrationNum": "sample string 8", "CurrentTimeStamp": "sample string 9" }
application/xml, text/xml
Sample:
<MeterCalibrModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WINSWebAPI.Models"> <AsFound>sample string 4</AsFound> <AsLeft>sample string 5</AsLeft> <CalibrationDate>sample string 1</CalibrationDate> <CalibrationNum>sample string 8</CalibrationNum> <CurrentTimeStamp>sample string 9</CurrentTimeStamp> <DaysElapsed>sample string 2</DaysElapsed> <DeviceID>sample string 6</DeviceID> <MaxErrorPercent>sample string 7</MaxErrorPercent> <TechName>sample string 3</TechName> </MeterCalibrModel>