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": "da0b7144-a4e0-46ed-af72-9d96878f6fea",
"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": "86fb1e07-b49e-4d56-b0c0-66e792d635b6",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "735c9b66-7e15-48ae-84e2-6e7fe90beb9c",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "c7340705-68e8-443b-a843-9b672e5db7cf",
"CreateDate": "2026-08-11T22:25:27.0504645-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-11T22:25:27.0504645-07:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "90e25aa2-da32-42cc-9d67-f6d643b894aa",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-08-11T22:25:27.0504645-07:00",
"MeasurementValueNeededDate": "2026-08-11T22:25:27.0504645-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "4cb6dfa9-d5e0-4c31-bbfa-c837490c55bd",
"CreateDate": "2026-08-11T22:25:27.0504645-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-11T22:25:27.0504645-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "92fc1d81-4402-4917-9031-69be5b14aeee",
"EffectiveDate": "2026-08-11T22:25:27.0504645-07:00",
"StateType": {
"StateTypeId": "01709dac-ba68-4e0c-9e20-2eba1ae43cb2",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "735c9b66-7e15-48ae-84e2-6e7fe90beb9c",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "c7340705-68e8-443b-a843-9b672e5db7cf",
"CreateDate": "2026-08-11T22:25:27.0504645-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-11T22:25:27.0504645-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "ef1d181d-321e-484d-af3a-9b6304414290",
"CreateDate": "2026-08-11T22:25:27.0504645-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-11T22:25:27.0504645-07:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "63f66040-83f4-4a56-a9c4-f7b490e98fc2",
"CreateDate": "2026-08-11T22:25:27.0504645-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-08-11T22:25:27.0504645-07:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "2384e6cc-80a3-4c38-9389-6af1e8e4579b",
"EffectiveDate": "2026-08-11T22:25:27.0504645-07:00",
"StatusType": {
"StatusTypeId": "39dee2d6-b525-43f0-b9e6-8d22115f27b5",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "735c9b66-7e15-48ae-84e2-6e7fe90beb9c",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "c7340705-68e8-443b-a843-9b672e5db7cf",
"CreateDate": "2026-08-11T22:25:27.0504645-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-11T22:25:27.0504645-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "aa5dbfd5-2802-4521-9059-b435dc8ccb0a",
"CreateDate": "2026-08-11T22:25:27.0504645-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-11T22:25:27.0504645-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "2660ddb7-0854-440c-956d-f31d60cafc58",
"CreateDate": "2026-08-11T22:25:27.0504645-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-08-11T22:25:27.0504645-07:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "3a860b93-95ca-4641-9a6a-b42e40372708",
"EffectiveDate": "2026-08-11T22:25:27.0504645-07:00",
"WellPurposeType": {
"WellPurposeTypeId": "6ad7e798-c2f9-4d69-b234-35e020fb3650",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "9a793783-4216-4290-83a7-00b702dc8ef6",
"CreateDate": "2026-08-11T22:25:27.0504645-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-11T22:25:27.0504645-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "821af386-0db4-4c44-811a-86c546ae4764",
"CreateDate": "2026-08-11T22:25:27.0504645-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-08-11T22:25:27.0504645-07:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-08-11T22:25:27.0504645-07:00",
"MeasurementValueNeededDate": "2026-08-11T22:25:27.0504645-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "a651cb69-24b5-4308-aadf-b912b891d5b7",
"CreateDate": "2026-08-11T22:25:27.0504645-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-11T22:25:27.0504645-07:00",
"LastModifiedUser": "sample string 8"
},
"Total": 1,
"Message": "sample string 1"
}