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": "a858e7b2-ad1f-40ed-b57b-6e3dfc9b2b90",
"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": "b8a63175-c9b7-48fb-a211-7733b3899fbd",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "7b78c6aa-0205-4eaa-9bc6-596927369096",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "bb81f9e8-ead8-4e5c-bb2b-0aedf06b4c4b",
"CreateDate": "2025-11-17T18:54:58.2275258-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-11-17T18:54:58.2275258-08:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "8fe41c3a-f703-4f3d-b894-94bf3314035a",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2025-11-17T18:54:58.2275258-08:00",
"MeasurementValueNeededDate": "2025-11-17T18:54:58.2275258-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "9ee2aa19-08d4-4dc2-b9e7-6cf8702a2285",
"CreateDate": "2025-11-17T18:54:58.2275258-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-11-17T18:54:58.2275258-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "5bdecf90-767e-4e0a-8164-df4af4d1d7e2",
"EffectiveDate": "2025-11-17T18:54:58.2275258-08:00",
"StateType": {
"StateTypeId": "403b8802-34eb-4350-91f6-a31050c448d7",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "7b78c6aa-0205-4eaa-9bc6-596927369096",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "bb81f9e8-ead8-4e5c-bb2b-0aedf06b4c4b",
"CreateDate": "2025-11-17T18:54:58.2275258-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-11-17T18:54:58.2275258-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "9ba28228-646e-4f2c-956b-4e0ee40d182b",
"CreateDate": "2025-11-17T18:54:58.2275258-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-11-17T18:54:58.2275258-08:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "5a0abbc0-89c2-48f3-8a2a-3e20d7bfa601",
"CreateDate": "2025-11-17T18:54:58.2275258-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2025-11-17T18:54:58.2275258-08:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "394415b8-0050-4868-9ebb-694759215c39",
"EffectiveDate": "2025-11-17T18:54:58.2275258-08:00",
"StatusType": {
"StatusTypeId": "32facf7a-c396-4e3d-a0e6-1137bbc7d1e6",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "7b78c6aa-0205-4eaa-9bc6-596927369096",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "bb81f9e8-ead8-4e5c-bb2b-0aedf06b4c4b",
"CreateDate": "2025-11-17T18:54:58.2275258-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-11-17T18:54:58.2275258-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "acaef374-ae59-4497-907a-17336faf46c8",
"CreateDate": "2025-11-17T18:54:58.2275258-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-11-17T18:54:58.2275258-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "a875f605-e846-4804-bd8c-955c48eee88f",
"CreateDate": "2025-11-17T18:54:58.2275258-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2025-11-17T18:54:58.2275258-08:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "9727adf4-841b-4518-b089-5c939cbade7d",
"EffectiveDate": "2025-11-17T18:54:58.2275258-08:00",
"WellPurposeType": {
"WellPurposeTypeId": "d0f303af-5dba-46e7-85d9-2c1eabe56942",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "0672d1a9-a1e1-4e65-a860-4cb937d6a384",
"CreateDate": "2025-11-17T18:54:58.2275258-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-11-17T18:54:58.2275258-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "3d0da58f-6e68-4b2c-b398-f1aef8283637",
"CreateDate": "2025-11-17T18:54:58.2275258-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2025-11-17T18:54:58.2275258-08:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2025-11-17T18:54:58.2275258-08:00",
"MeasurementValueNeededDate": "2025-11-17T18:54:58.2275258-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "43e2e3bc-a3ab-4388-911e-d8d670ec299a",
"CreateDate": "2025-11-17T18:54:58.2275258-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-11-17T18:54:58.2275258-08:00",
"LastModifiedUser": "sample string 8"
},
"Total": 1,
"Message": "sample string 1"
}