PUT Calibration/{id}
Update calibration.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | integer |
Required |
Body Parameters
CalibrationRestItemName | Description | Type | Additional information |
---|---|---|---|
CalibrationId | integer |
None. |
|
AssetId | integer |
None. |
|
OdovalueInMeters | integer |
None. |
|
CalibrationDateTime | date |
None. |
|
State | CalibrationState |
None. |
|
CanBeDeleted | boolean |
None. |
|
CanBeEdited | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "CalibrationId": 1, "DeviceId": 2, "AssetId": 3, "OdovalueInMeters": 4, "CalibrationDateTime": "2025-01-05T02:42:44.6423876+01:00", "State": 0, "CanBeDeleted": true, "CanBeEdited": true }
application/xml, text/xml
Sample:
<CalibrationRestItem xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Api360.Models"> <AssetId>3</AssetId> <CalibrationDateTime>2025-01-05T02:42:44.6423876+01:00</CalibrationDateTime> <CalibrationId>1</CalibrationId> <CanBeDeleted>true</CanBeDeleted> <CanBeEdited>true</CanBeEdited> <DeviceId>2</DeviceId> <OdovalueInMeters>4</OdovalueInMeters> <State>Unknown</State> </CalibrationRestItem>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
A enumeration of CalibrationRestItem objects.
CalibrationRestItemName | Description | Type | Additional information |
---|---|---|---|
CalibrationId | integer |
None. |
|
AssetId | integer |
None. |
|
OdovalueInMeters | integer |
None. |
|
CalibrationDateTime | date |
None. |
|
State | CalibrationState |
None. |
|
CanBeDeleted | boolean |
None. |
|
CanBeEdited | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{ "CalibrationId": 1, "DeviceId": 2, "AssetId": 3, "OdovalueInMeters": 4, "CalibrationDateTime": "2025-01-05T02:42:44.6423876+01:00", "State": 0, "CanBeDeleted": true, "CanBeEdited": true }
application/xml, text/xml
Sample:
<CalibrationRestItem xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Api360.Models"> <AssetId>3</AssetId> <CalibrationDateTime>2025-01-05T02:42:44.6423876+01:00</CalibrationDateTime> <CalibrationId>1</CalibrationId> <CanBeDeleted>true</CanBeDeleted> <CanBeEdited>true</CanBeEdited> <DeviceId>2</DeviceId> <OdovalueInMeters>4</OdovalueInMeters> <State>Unknown</State> </CalibrationRestItem>