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": "c3a3ae74-46a1-4a2e-be48-039c643d3422", "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": "e924d15a-0d03-46e1-88d6-521b7259f2fd", "Name": "sample string 1", "Description": "sample string 2", "DisplayOrder": 1, "AssetType": { "AssetTypeId": "869556f4-0782-47be-a0c2-32eaaf2f6770", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "f9b57b26-e22f-40da-9f4c-c42c25d62b3a", "CreateDate": "2025-09-13T11:38:07.4042617-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-09-13T11:38:07.4042617-07:00", "LastModifiedUser": "sample string 8" }, "AssetGroup": { "AssetGroupId": "cfbf5e5e-68c5-4ca8-9347-f19454258d70", "Name": "sample string 1", "Description": "sample string 2", "ParentGroup": null, "DisplayOrder": 1, "FormValueNeededDate": "2025-09-13T11:38:07.4042617-07:00", "MeasurementValueNeededDate": "2025-09-13T11:38:07.4042617-07:00", "SourceSystemId": "sample string 3", "CompanyId": "3a0180bf-e2e4-413c-b0da-03f43494587c", "CreateDate": "2025-09-13T11:38:07.4042617-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-09-13T11:38:07.4042617-07:00", "LastModifiedUser": "sample string 6" }, "ParentAsset": null, "Location": "sample string 3", "Barcode": { "Format": 0, "Code": "sample string 1" }, "State": { "StateId": "f370e2df-1afc-4c93-922e-2a7fd1e069e5", "EffectiveDate": "2025-09-13T11:38:07.4042617-07:00", "StateType": { "StateTypeId": "402629bc-233f-4182-a571-2180f7dc71a0", "Name": "sample string 1", "IsOperational": true, "AssetType": { "AssetTypeId": "869556f4-0782-47be-a0c2-32eaaf2f6770", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "f9b57b26-e22f-40da-9f4c-c42c25d62b3a", "CreateDate": "2025-09-13T11:38:07.4042617-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-09-13T11:38:07.4042617-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 3", "CompanyId": "1b397b89-66b9-4e80-ac37-39b0a1ff1e6b", "CreateDate": "2025-09-13T11:38:07.4042617-07:00", "CreateUser": "sample string 5", "LastModifiedDate": "2025-09-13T11:38:07.4042617-07:00", "LastModifiedUser": "sample string 6" }, "SourceSystemId": "sample string 1", "CompanyId": "43977e91-32cf-4def-bbf6-a88237d7a0b9", "CreateDate": "2025-09-13T11:38:07.4042617-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-09-13T11:38:07.4042617-07:00", "LastModifiedUser": "sample string 4" }, "Status": { "StatusId": "8ae0d43a-fa38-457f-be89-600898513ad7", "EffectiveDate": "2025-09-13T11:38:07.4042617-07:00", "StatusType": { "StatusTypeId": "ea3fa662-0c16-4cf2-b6f2-9cbc424eadd6", "Name": "sample string 1", "IsProducing": true, "IsInjecting": true, "AssetType": { "AssetTypeId": "869556f4-0782-47be-a0c2-32eaaf2f6770", "Name": "sample string 1", "Description": "sample string 2", "IsWell": true, "DisplayColor": "sample string 4", "SourceSystemId": "sample string 5", "CompanyId": "f9b57b26-e22f-40da-9f4c-c42c25d62b3a", "CreateDate": "2025-09-13T11:38:07.4042617-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-09-13T11:38:07.4042617-07:00", "LastModifiedUser": "sample string 8" }, "SourceSystemId": "sample string 4", "CompanyId": "a27de7e7-5139-4f06-a7de-07d45a2191b2", "CreateDate": "2025-09-13T11:38:07.4042617-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-09-13T11:38:07.4042617-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "afaff39f-df09-482a-83f4-6960c4a7fb0d", "CreateDate": "2025-09-13T11:38:07.4042617-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-09-13T11:38:07.4042617-07:00", "LastModifiedUser": "sample string 4" }, "WellPurpose": { "WellPurposeId": "205af8de-b44b-4636-a6ae-ffec8ef6cbaf", "EffectiveDate": "2025-09-13T11:38:07.4042617-07:00", "WellPurposeType": { "WellPurposeTypeId": "d7797960-38a2-43e3-9e1c-648307c9dd53", "IsProducer": true, "IsInjector": true, "Name": "sample string 3", "SourceSystemId": "sample string 4", "CompanyId": "45675b60-14e0-4f34-96e0-7d22d3b2e315", "CreateDate": "2025-09-13T11:38:07.4042617-07:00", "CreateUser": "sample string 6", "LastModifiedDate": "2025-09-13T11:38:07.4042617-07:00", "LastModifiedUser": "sample string 7" }, "SourceSystemId": "sample string 1", "CompanyId": "b0ad72f1-3a0b-4d56-ace0-d513a84ca485", "CreateDate": "2025-09-13T11:38:07.4042617-07:00", "CreateUser": "sample string 3", "LastModifiedDate": "2025-09-13T11:38:07.4042617-07:00", "LastModifiedUser": "sample string 4" }, "FormValueNeededDate": "2025-09-13T11:38:07.4042617-07:00", "MeasurementValueNeededDate": "2025-09-13T11:38:07.4042617-07:00", "HasChildren": true, "SourceSystemId": "sample string 5", "CompanyId": "e7eb3d2e-e5b9-431a-954a-e10e64e8ff9e", "CreateDate": "2025-09-13T11:38:07.4042617-07:00", "CreateUser": "sample string 7", "LastModifiedDate": "2025-09-13T11:38:07.4042617-07:00", "LastModifiedUser": "sample string 8" }, "Total": 1, "Message": "sample string 1" }