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": "cc2ca918-bc80-4cb3-afbe-fced3fd51fbc",
"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": "9fcb8661-0398-4086-bae7-e276e35b1db0",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "0ab71738-5716-4015-a04c-eb8c26c29569",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "8d3a0bc1-1cae-48f4-bbd1-5190e4b1193d",
"CreateDate": "2026-06-01T20:25:37.0594332-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-01T20:25:37.0594332-07:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "44a4d416-67f0-426f-8167-5cd6628f7fc0",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-06-01T20:25:37.0594332-07:00",
"MeasurementValueNeededDate": "2026-06-01T20:25:37.0594332-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "35d02e1c-6873-4597-a931-80a6c0e3c35a",
"CreateDate": "2026-06-01T20:25:37.0594332-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-01T20:25:37.0594332-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "e5f6663d-4694-4478-87f7-44aa759f380d",
"EffectiveDate": "2026-06-01T20:25:37.0594332-07:00",
"StateType": {
"StateTypeId": "2e57c768-7bd0-4fd7-b858-17d7b33676f8",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "0ab71738-5716-4015-a04c-eb8c26c29569",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "8d3a0bc1-1cae-48f4-bbd1-5190e4b1193d",
"CreateDate": "2026-06-01T20:25:37.0594332-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-01T20:25:37.0594332-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "b1f6632b-2ef5-4300-ada9-0ed4411618c6",
"CreateDate": "2026-06-01T20:25:37.0594332-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-06-01T20:25:37.0594332-07:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "6120fbbc-af3c-4a9f-b5dc-b94cce5290ae",
"CreateDate": "2026-06-01T20:25:37.0594332-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-06-01T20:25:37.0594332-07:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "0095d7a8-883f-4bc3-a64a-e88cb78b4785",
"EffectiveDate": "2026-06-01T20:25:37.0594332-07:00",
"StatusType": {
"StatusTypeId": "b7da4477-f37b-4bf8-b8ea-3361be5855d7",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "0ab71738-5716-4015-a04c-eb8c26c29569",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "8d3a0bc1-1cae-48f4-bbd1-5190e4b1193d",
"CreateDate": "2026-06-01T20:25:37.0594332-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-01T20:25:37.0594332-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "cfdaad6a-2315-4bd3-b81d-b2d64860a0f7",
"CreateDate": "2026-06-01T20:25:37.0594332-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-01T20:25:37.0594332-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "fa329541-f5bf-43d2-84f4-eb6eb6b8542f",
"CreateDate": "2026-06-01T20:25:37.0594332-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-06-01T20:25:37.0594332-07:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "53a65a4a-f18b-4111-baed-6e0b7b58f8ec",
"EffectiveDate": "2026-06-01T20:25:37.0594332-07:00",
"WellPurposeType": {
"WellPurposeTypeId": "d7727c5d-eba0-4b92-90e6-7aabb4442355",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "3a1ccc29-3aa2-42fd-9f3a-81785b51711f",
"CreateDate": "2026-06-01T20:25:37.0594332-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-06-01T20:25:37.0594332-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "d3b9db9a-fe67-44e4-980d-df4bdca95c1b",
"CreateDate": "2026-06-01T20:25:37.0594332-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-06-01T20:25:37.0594332-07:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-06-01T20:25:37.0594332-07:00",
"MeasurementValueNeededDate": "2026-06-01T20:25:37.0594332-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "f6e48313-68d8-4426-8daa-c9aa4186e3fa",
"CreateDate": "2026-06-01T20:25:37.0594332-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-06-01T20:25:37.0594332-07:00",
"LastModifiedUser": "sample string 8"
},
"Total": 1,
"Message": "sample string 1"
}