GET Asset/{id}/Calibration
Get calibrations by Asset.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id |
ID of the asset. |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
A enumeration of CalibrationRestItem objects.
CalibrationRestResultName | Description | Type | Additional information |
---|---|---|---|
Calibrations | Collection of CalibrationRestItem |
None. |
Response Formats
application/json, text/json
Sample:
{ "Calibrations": [ { "CalibrationId": 1, "DeviceId": 2, "AssetId": 3, "OdovalueInMeters": 4, "CalibrationDateTime": "2025-01-05T02:49:04.0987605+01:00", "State": 0, "CanBeDeleted": true, "CanBeEdited": true }, { "CalibrationId": 1, "DeviceId": 2, "AssetId": 3, "OdovalueInMeters": 4, "CalibrationDateTime": "2025-01-05T02:49:04.0987605+01:00", "State": 0, "CanBeDeleted": true, "CanBeEdited": true } ] }
application/xml, text/xml
Sample:
<CalibrationRestResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Api360.Models"> <Calibrations> <CalibrationRestItem> <AssetId>3</AssetId> <CalibrationDateTime>2025-01-05T02:49:04.0987605+01:00</CalibrationDateTime> <CalibrationId>1</CalibrationId> <CanBeDeleted>true</CanBeDeleted> <CanBeEdited>true</CanBeEdited> <DeviceId>2</DeviceId> <OdovalueInMeters>4</OdovalueInMeters> <State>Unknown</State> </CalibrationRestItem> <CalibrationRestItem> <AssetId>3</AssetId> <CalibrationDateTime>2025-01-05T02:49:04.0987605+01:00</CalibrationDateTime> <CalibrationId>1</CalibrationId> <CanBeDeleted>true</CanBeDeleted> <CanBeEdited>true</CanBeEdited> <DeviceId>2</DeviceId> <OdovalueInMeters>4</OdovalueInMeters> <State>Unknown</State> </CalibrationRestItem> </Calibrations> </CalibrationRestResult>