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": "d8bb479e-9ae6-44c2-b346-dc1b95363692", "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": "830a1645-914a-445b-a7c7-dc4ab6bb0c64", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "531e7ecd-b8f7-4adb-9fc1-f355c4c8d9f2", "Name": "sample string 1", "Description": "sample string 2", "DisplayColor": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "3933f74c-9ee7-4408-91e3-dda1f1adb749", "CreateDate": "2024-04-24T15:06:09.3088825-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2024-04-24T15:06:09.3088825-07:00", "LastModifiedUser": "sample string 7" }, "AssetGroup": { "AssetGroupId": "d4192a47-793f-4cdb-9cbd-bba14b2dec2c", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2024-04-24T15:06:09.3088825-07:00", "MeasurementValueNeededDate": "2024-04-24T15:06:09.3088825-07:00", "SourceSystemId": "sample string 3", "CompanyId": "404b7315-6ea2-4e3a-b490-a98d37fbedea", "CreateDate": "2024-04-24T15:06:09.3088825-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2024-04-24T15:06:09.3088825-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "FormValueNeededDate": "2024-04-24T15:06:09.3088825-07:00", "MeasurementValueNeededDate": "2024-04-24T15:06:09.3088825-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "344f179c-b655-48ab-8784-186906bbe3d3", "CreateDate": "2024-04-24T15:06:09.3088825-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2024-04-24T15:06:09.3088825-07:00", "LastModifiedUser": "sample string 8" }, "Total": 1, "Message": "sample string 1" }