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": "62fea844-5433-4402-a85f-f85409ff62d2",
"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": "4886db18-6cb4-4277-ae75-3599b9989e25",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "3b76787d-f1c9-41e1-a846-91b6903ec4f7",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "6f2bcdc7-791e-4ccf-8cd9-3dd40ec9e563",
"CreateDate": "2026-01-07T15:56:40.8574979-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-01-07T15:56:40.8574979-08:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "a5fc953a-09b4-44ae-8388-646285475c78",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-01-07T15:56:40.8574979-08:00",
"MeasurementValueNeededDate": "2026-01-07T15:56:40.8574979-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "13840adb-ed01-4385-8c25-3f872b309cf0",
"CreateDate": "2026-01-07T15:56:40.8574979-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-01-07T15:56:40.8574979-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "3d9d69ed-1454-46eb-b135-2869f1962d5a",
"EffectiveDate": "2026-01-07T15:56:40.8574979-08:00",
"StateType": {
"StateTypeId": "37b26a5d-11ac-4310-a325-464249299ccf",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "3b76787d-f1c9-41e1-a846-91b6903ec4f7",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "6f2bcdc7-791e-4ccf-8cd9-3dd40ec9e563",
"CreateDate": "2026-01-07T15:56:40.8574979-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-01-07T15:56:40.8574979-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "958b20b1-a5e7-4245-8dfa-59792947dff2",
"CreateDate": "2026-01-07T15:56:40.8574979-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-01-07T15:56:40.8574979-08:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "a3684ee6-c8e1-495e-9196-a2f2b7b1a199",
"CreateDate": "2026-01-07T15:56:40.8574979-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-01-07T15:56:40.8574979-08:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "dd04e8c6-e88f-42a3-847f-ba90f603892d",
"EffectiveDate": "2026-01-07T15:56:40.8574979-08:00",
"StatusType": {
"StatusTypeId": "a9ea8a90-f122-47ba-b424-78b0bc4e6479",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "3b76787d-f1c9-41e1-a846-91b6903ec4f7",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "6f2bcdc7-791e-4ccf-8cd9-3dd40ec9e563",
"CreateDate": "2026-01-07T15:56:40.8574979-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-01-07T15:56:40.8574979-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "faeb8b76-41d3-4a2e-b64c-24e84a826bea",
"CreateDate": "2026-01-07T15:56:40.8574979-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-01-07T15:56:40.8574979-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "b9755d2e-88a0-4b6d-b4d9-4b4455d5de43",
"CreateDate": "2026-01-07T15:56:40.8574979-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-01-07T15:56:40.8574979-08:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "ba438213-9f79-4a38-8eef-35dcce8f782d",
"EffectiveDate": "2026-01-07T15:56:40.8574979-08:00",
"WellPurposeType": {
"WellPurposeTypeId": "ed495705-71f4-43e1-82d8-888545d486d1",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "7ad01948-a5a3-4ff1-a8a9-dfd98e75a2ec",
"CreateDate": "2026-01-07T15:56:40.8574979-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-01-07T15:56:40.8574979-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "fd0762f5-1478-4fd2-9b64-d2f69ab66d9d",
"CreateDate": "2026-01-07T15:56:40.8574979-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-01-07T15:56:40.8574979-08:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-01-07T15:56:40.8574979-08:00",
"MeasurementValueNeededDate": "2026-01-07T15:56:40.8574979-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "3308f665-57ec-4c47-a9fb-68cce39c4a27",
"CreateDate": "2026-01-07T15:56:40.8574979-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-01-07T15:56:40.8574979-08:00",
"LastModifiedUser": "sample string 8"
},
"Total": 1,
"Message": "sample string 1"
}