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": "b4862bb0-2836-4e51-8271-43c16d15b53d",
"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": "594804db-dc2c-41df-aba0-bfb1f4979462",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "422fe8ac-5728-4438-9a6c-deea645d3726",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayColor": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "d20e0beb-2e9a-450c-8451-5179584c5507",
"CreateDate": "2025-12-13T02:59:38.0529849-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-12-13T02:59:38.0529849-08:00",
"LastModifiedUser": "sample string 7"
},
"AssetGroup": {
"AssetGroupId": "9cb062bc-333d-49ec-b589-17b65407f217",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2025-12-13T02:59:38.0529849-08:00",
"MeasurementValueNeededDate": "2025-12-13T02:59:38.0529849-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "7f9575db-ab9f-4f04-bd03-4c7fb790e7f1",
"CreateDate": "2025-12-13T02:59:38.0529849-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-13T02:59:38.0529849-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"FormValueNeededDate": "2025-12-13T02:59:38.0529849-08:00",
"MeasurementValueNeededDate": "2025-12-13T02:59:38.0529849-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "3fc134a8-b1b6-4de1-930d-f2dbc7453819",
"CreateDate": "2025-12-13T02:59:38.0529849-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-12-13T02:59:38.0529849-08:00",
"LastModifiedUser": "sample string 8"
},
"Total": 1,
"Message": "sample string 1"
}