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": "b027a714-cc4c-47ac-a8ab-353d25f3e4f9",
"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": "f20381b8-090c-4d12-86ef-1dfa1c44c0fe",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "4a3d4522-0471-4215-b9d6-e877cdff6b98",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "a9356d78-1931-433b-9dbb-3e9b38869210",
"CreateDate": "2026-08-04T17:26:47.2380032-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-04T17:26:47.2380032-07:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "1af91672-cd72-487d-b1dd-f765a2ebeb16",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-08-04T17:26:47.2380032-07:00",
"MeasurementValueNeededDate": "2026-08-04T17:26:47.2380032-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "4ec769e1-f657-4748-9aec-2ef968ad58b1",
"CreateDate": "2026-08-04T17:26:47.2380032-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-04T17:26:47.2380032-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "298316ef-2bad-46a2-a43a-2ad2c82df00f",
"EffectiveDate": "2026-08-04T17:26:47.2380032-07:00",
"StateType": {
"StateTypeId": "27cea9a3-82af-488f-b0fa-f564f2828b9d",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "4a3d4522-0471-4215-b9d6-e877cdff6b98",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "a9356d78-1931-433b-9dbb-3e9b38869210",
"CreateDate": "2026-08-04T17:26:47.2380032-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-04T17:26:47.2380032-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "4fef6771-625c-41fd-bc3e-79d154d7e858",
"CreateDate": "2026-08-04T17:26:47.2380032-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-08-04T17:26:47.2380032-07:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "ae1083dd-35e0-4c03-9f48-8ace0453c177",
"CreateDate": "2026-08-04T17:26:47.2380032-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-08-04T17:26:47.2380032-07:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "9cebbc00-1e99-4049-a573-68437c39299d",
"EffectiveDate": "2026-08-04T17:26:47.2380032-07:00",
"StatusType": {
"StatusTypeId": "26b1e5de-bf27-46d3-990d-330a0b38271c",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "4a3d4522-0471-4215-b9d6-e877cdff6b98",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "a9356d78-1931-433b-9dbb-3e9b38869210",
"CreateDate": "2026-08-04T17:26:47.2380032-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-04T17:26:47.2380032-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "44764442-4a16-422f-beb5-674cc0b5ce19",
"CreateDate": "2026-08-04T17:26:47.2380032-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-04T17:26:47.2380032-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "2dfe1629-530a-49f0-9ac1-4816cf5aa9ed",
"CreateDate": "2026-08-04T17:26:47.2380032-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-08-04T17:26:47.2380032-07:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "0ab7a1de-a1f3-43f8-b705-a87a993c60f4",
"EffectiveDate": "2026-08-04T17:26:47.2380032-07:00",
"WellPurposeType": {
"WellPurposeTypeId": "a1a99e85-9d70-41c7-a496-dbf4adbae187",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "016e6ab2-a890-472b-9960-43bf1d02e6b3",
"CreateDate": "2026-08-04T17:26:47.2380032-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-08-04T17:26:47.2380032-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "f5ade697-466a-4f73-820d-ec3c05980be3",
"CreateDate": "2026-08-04T17:26:47.2380032-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-08-04T17:26:47.2380032-07:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-08-04T17:26:47.2380032-07:00",
"MeasurementValueNeededDate": "2026-08-04T17:26:47.2380032-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "4c0aaac7-6123-42f4-9457-129f3c9fcbd1",
"CreateDate": "2026-08-04T17:26:47.2380032-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-08-04T17:26:47.2380032-07:00",
"LastModifiedUser": "sample string 8"
},
"Total": 1,
"Message": "sample string 1"
}