PUT Assets/UpdateBarcode
Updates the given asset's barcode.
Request Information
URI Parameters
None.
Body Parameters
Contains the AssetId and desired barcode
UpdateAssetBarcodeParameters| Name | Description | Type | Additional information |
|---|---|---|---|
| AssetId | globally unique identifier |
None. |
|
| Barcode | Barcode |
None. |
Request Formats
application/json, text/json
Sample:
{
"AssetId": "f62797be-a9cf-4806-b131-e3a8e5856e69",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
}
}
Response Information
Resource Description
On success, the updated asset.
| Name | Description | Type | Additional information |
|---|---|---|---|
| Data | Asset |
None. |
|
| Total | integer |
None. |
|
| Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Data": {
"AssetId": "914334ed-ce87-4fbf-9fc0-40902042ce9d",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "3175fd14-0369-43d4-a240-b19f439a9171",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "e631deab-4e18-4e89-8db9-1190834365c1",
"CreateDate": "2026-08-03T02:26:46.0922437-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-03T02:26:46.0922437-07:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "a02a8505-a5b6-4715-830e-cbb33ca16c71",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-08-03T02:26:46.0922437-07:00",
"MeasurementValueNeededDate": "2026-08-03T02:26:46.0922437-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "1a954963-3f21-4abb-8755-af00f0feef19",
"CreateDate": "2026-08-03T02:26:46.0922437-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-03T02:26:46.0922437-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2026-08-03T02:26:46.0922437-07:00",
"MeasurementValueNeededDate": "2026-08-03T02:26:46.0922437-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "0ed18d4a-5d47-4473-bb33-8b5f5940fa9b",
"CreateDate": "2026-08-03T02:26:46.0922437-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-03T02:26:46.0922437-07:00",
"LastModifiedUser": "sample string 8"
},
"Total": 1,
"Message": "sample string 1"
}