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": "2d8fa168-d2ae-44c9-8452-42e90e95f52e",
"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": "624d6210-4368-4bd7-83c7-68d3d5149191",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "84d52361-d200-4e1c-9b48-fd95478963fb",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "74d7a7be-d1a6-4d4d-adaa-d72eec2bb707",
"CreateDate": "2026-08-09T23:42:51.344818-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-09T23:42:51.344818-07:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "91ac4e0f-1a1f-4787-854b-e2e5c1bafc18",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-08-09T23:42:51.344818-07:00",
"MeasurementValueNeededDate": "2026-08-09T23:42:51.344818-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "40155252-7d4a-49fb-af01-bf6760207cf2",
"CreateDate": "2026-08-09T23:42:51.344818-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-09T23:42:51.344818-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2026-08-09T23:42:51.344818-07:00",
"MeasurementValueNeededDate": "2026-08-09T23:42:51.344818-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "642689b4-4897-40d2-9b60-5ea4be3d76fa",
"CreateDate": "2026-08-09T23:42:51.344818-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-09T23:42:51.344818-07:00",
"LastModifiedUser": "sample string 8"
},
"Total": 1,
"Message": "sample string 1"
}