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": "15489309-42e8-439a-a4e6-e3642e6ad7f4", "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": "42fb4187-92d4-406f-8cd3-daad1642af74", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "56082053-1c29-4647-9ac0-8658b888135b", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "f40c87a9-13d2-45d4-aec7-a7fece450032", "CreateDate": "2025-01-20T20:09:43.5445608-08:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-01-20T20:09:43.5445608-08:00", "LastModifiedUser": "sample string 7" }, "AssetGroup": { "AssetGroupId": "27d0e250-0b15-45c2-b735-e33f4df264f5", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-01-20T20:09:43.5445608-08:00", "MeasurementValueNeededDate": "2025-01-20T20:09:43.5445608-08:00", "SourceSystemId": "sample string 3", "CompanyId": "881c8ae4-1371-4432-8507-cf22bfc3e303", "CreateDate": "2025-01-20T20:09:43.5445608-08:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-01-20T20:09:43.5445608-08:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "FormValueNeededDate": "2025-01-20T20:09:43.5445608-08:00", "MeasurementValueNeededDate": "2025-01-20T20:09:43.5445608-08:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "6648a9b1-91ad-4a5b-8b58-76f996d83d9b", "CreateDate": "2025-01-20T20:09:43.5445608-08:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-01-20T20:09:43.5445608-08:00", "LastModifiedUser": "sample string 8" }, "Total": 1, "Message": "sample string 1" }