PUT Assets/UpdateBarcode
Updates the given asset's barcode.
Request Information
URI Parameters
None.
Body Parameters
Contains the AssetId and desired barcode
UpdateAssetBarcodeParametersName | Description | Type | Additional information |
---|---|---|---|
AssetId | globally unique identifier |
None. |
|
Barcode | Barcode |
None. |
Request Formats
application/json, text/json
Sample:
{ "AssetId": "87ce48ca-3912-4cb5-975e-d43055051cbc", "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": "a72190b7-3360-411c-b94b-ede2c5475056", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "96c2ae82-6543-48d6-85cf-43400da47c79", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "b9dd5a5a-984c-47fb-852b-fa705c7e8163", "CreateDate": "2025-04-30T14:20:27.3179047-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-04-30T14:20:27.3179047-07:00", "LastModifiedUser": "sample string 7" }, "AssetGroup": { "AssetGroupId": "a0b6f16a-417e-4baf-8dff-d0930868bb92", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-04-30T14:20:27.3179047-07:00", "MeasurementValueNeededDate": "2025-04-30T14:20:27.3179047-07:00", "SourceSystemId": "sample string 3", "CompanyId": "31264136-af1e-431d-81a3-c1ae14a8f8dc", "CreateDate": "2025-04-30T14:20:27.3179047-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-04-30T14:20:27.3179047-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "FormValueNeededDate": "2025-04-30T14:20:27.3179047-07:00", "MeasurementValueNeededDate": "2025-04-30T14:20:27.3179047-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "232a2fe0-e509-4748-ad52-e0f8a0858883", "CreateDate": "2025-04-30T14:20:27.3179047-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-04-30T14:20:27.3179047-07:00", "LastModifiedUser": "sample string 8" }, "Total": 1, "Message": "sample string 1" }