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": "a0a8c581-c3b7-4a0d-8634-aa8743c0aca6",
"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": "8edcc38a-0640-45db-9e09-be9933dcbaf5",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "5189379b-0314-49b9-9119-a9f33230c5d6",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "70ac5806-d4a5-4e68-b6c7-c45d491cc318",
"CreateDate": "2026-03-30T16:49:14.3340785-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-30T16:49:14.3340785-07:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "75f5bebc-2c3e-4815-bce1-78d26212e576",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-03-30T16:49:14.3340785-07:00",
"MeasurementValueNeededDate": "2026-03-30T16:49:14.3340785-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "ae1d1c6f-afe7-4e55-86e1-1be192c01d8d",
"CreateDate": "2026-03-30T16:49:14.3340785-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-30T16:49:14.3340785-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "24d1248d-8491-402e-a6dc-a53350110586",
"EffectiveDate": "2026-03-30T16:49:14.3340785-07:00",
"StateType": {
"StateTypeId": "c2ac8493-ea21-454d-8494-12db90778af0",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "5189379b-0314-49b9-9119-a9f33230c5d6",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "70ac5806-d4a5-4e68-b6c7-c45d491cc318",
"CreateDate": "2026-03-30T16:49:14.3340785-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-30T16:49:14.3340785-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "d2ad8c0f-8156-4714-90d7-b11c51b03724",
"CreateDate": "2026-03-30T16:49:14.3340785-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-03-30T16:49:14.3340785-07:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "b3918171-56bf-4b49-900b-eb40f2c505a1",
"CreateDate": "2026-03-30T16:49:14.3340785-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-03-30T16:49:14.3340785-07:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "d91089c7-8751-4ea8-b48c-04b182d1dc1f",
"EffectiveDate": "2026-03-30T16:49:14.3340785-07:00",
"StatusType": {
"StatusTypeId": "bd2db8ac-3242-46cb-bbf6-d22d3e2c0f15",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "5189379b-0314-49b9-9119-a9f33230c5d6",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "70ac5806-d4a5-4e68-b6c7-c45d491cc318",
"CreateDate": "2026-03-30T16:49:14.3340785-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-30T16:49:14.3340785-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "1737b9aa-cf9e-4091-9b5d-a7f39fe81718",
"CreateDate": "2026-03-30T16:49:14.3340785-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-03-30T16:49:14.3340785-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "ee57bb16-b35e-4c9a-9d3d-77e7d7a87925",
"CreateDate": "2026-03-30T16:49:14.3340785-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-03-30T16:49:14.3340785-07:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "fda01b7d-9081-4ddb-9c9a-61f5a73cd4a5",
"EffectiveDate": "2026-03-30T16:49:14.3340785-07:00",
"WellPurposeType": {
"WellPurposeTypeId": "9095f388-74d6-4415-af65-fbc77028df0c",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "d93b414e-0662-42fd-bcfc-85a0b8f3c297",
"CreateDate": "2026-03-30T16:49:14.3340785-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-03-30T16:49:14.3340785-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "565adae7-abef-4c12-99e8-ca4f976e3af5",
"CreateDate": "2026-03-30T16:49:14.3340785-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-03-30T16:49:14.3340785-07:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-03-30T16:49:14.3340785-07:00",
"MeasurementValueNeededDate": "2026-03-30T16:49:14.3340785-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "89dd56a8-4c3c-40fd-9cca-1282c904d16e",
"CreateDate": "2026-03-30T16:49:14.3340785-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-03-30T16:49:14.3340785-07:00",
"LastModifiedUser": "sample string 8"
},
"Total": 1,
"Message": "sample string 1"
}