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": "287e59b7-3d42-4f36-9cca-78c6c013df3f",
"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": "aad2ff5e-a4d0-4442-ae04-9eb2955cfdfa",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "875888fa-9fe1-4028-a43c-f9d24d5d9816",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "d6d08fbd-dff6-44c3-80ca-502cdba16cfb",
"CreateDate": "2026-04-18T04:57:36.9544578-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-04-18T04:57:36.9544578-07:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "20aa2e75-d922-4910-9bee-d5c8433a14ba",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-04-18T04:57:36.9544578-07:00",
"MeasurementValueNeededDate": "2026-04-18T04:57:36.9544578-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "434cfe65-e146-4771-8f4b-1b60c5615c60",
"CreateDate": "2026-04-18T04:57:36.9544578-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-04-18T04:57:36.9544578-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "0c591032-3eae-4c34-8068-830cceed6d8e",
"EffectiveDate": "2026-04-18T04:57:36.9544578-07:00",
"StateType": {
"StateTypeId": "6bb7c519-cd40-449b-9ebe-089528396c6e",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "875888fa-9fe1-4028-a43c-f9d24d5d9816",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "d6d08fbd-dff6-44c3-80ca-502cdba16cfb",
"CreateDate": "2026-04-18T04:57:36.9544578-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-04-18T04:57:36.9544578-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "ec9e6803-d9e0-40ed-8935-6adf35abeeb1",
"CreateDate": "2026-04-18T04:57:36.9544578-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-04-18T04:57:36.9544578-07:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "bdbc66dd-c116-4ac1-8690-7727276c1939",
"CreateDate": "2026-04-18T04:57:36.9544578-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-04-18T04:57:36.9544578-07:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "227274de-fbaf-446c-a7ee-1c36d01ec373",
"EffectiveDate": "2026-04-18T04:57:36.9544578-07:00",
"StatusType": {
"StatusTypeId": "5280365f-96cd-4e91-bb3f-be15b10ff89e",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "875888fa-9fe1-4028-a43c-f9d24d5d9816",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "d6d08fbd-dff6-44c3-80ca-502cdba16cfb",
"CreateDate": "2026-04-18T04:57:36.9544578-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-04-18T04:57:36.9544578-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "6acae2cb-da7b-4a57-aad7-de45e4169bb7",
"CreateDate": "2026-04-18T04:57:36.9544578-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-04-18T04:57:36.9544578-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "74d32d60-2379-4c57-a919-d6ee64acc0ab",
"CreateDate": "2026-04-18T04:57:36.9544578-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-04-18T04:57:36.9544578-07:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "e41e7ec8-9791-4e8a-841f-8a59c339589f",
"EffectiveDate": "2026-04-18T04:57:36.9544578-07:00",
"WellPurposeType": {
"WellPurposeTypeId": "872867ed-d7fd-4e3d-a3bf-badc5ae402c3",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "921560fd-8af9-445a-97bf-a07afbc378c2",
"CreateDate": "2026-04-18T04:57:36.9544578-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-04-18T04:57:36.9544578-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "bf7436a5-f785-4907-8e8d-6ce3e3ebdc4d",
"CreateDate": "2026-04-18T04:57:36.9544578-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-04-18T04:57:36.9544578-07:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-04-18T04:57:36.9544578-07:00",
"MeasurementValueNeededDate": "2026-04-18T04:57:36.9544578-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "6942ad6a-9bc4-4d25-b886-e41a8ab5f757",
"CreateDate": "2026-04-18T04:57:36.9544578-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-04-18T04:57:36.9544578-07:00",
"LastModifiedUser": "sample string 8"
},
"Total": 1,
"Message": "sample string 1"
}