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": "4fbfe08f-600e-4259-9af8-bb397fc9a149",
"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": "e615d833-76d5-42db-9986-96092aa2d459",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "8f951fa7-71de-47e6-a118-487091751d38",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "b94eaf9e-4d53-456e-abc6-194286d25c68",
"CreateDate": "2026-09-26T13:58:23.0179074-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-09-26T13:58:23.0179074-07:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "96629b65-3c4f-4ccb-a2d8-12b083f99d7c",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-09-26T13:58:23.0179074-07:00",
"MeasurementValueNeededDate": "2026-09-26T13:58:23.0179074-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "bf675a43-32d5-4254-9882-e48f6fab6876",
"CreateDate": "2026-09-26T13:58:23.0179074-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-26T13:58:23.0179074-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "6045bf44-986c-4097-984f-e712d4da9e68",
"EffectiveDate": "2026-09-26T13:58:23.0179074-07:00",
"StateType": {
"StateTypeId": "85a117c7-11c4-44c7-8146-2a6a4eb89066",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "8f951fa7-71de-47e6-a118-487091751d38",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "b94eaf9e-4d53-456e-abc6-194286d25c68",
"CreateDate": "2026-09-26T13:58:23.0179074-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-09-26T13:58:23.0179074-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "6e36eb31-8ff2-46e8-bc6c-8fd87b669b57",
"CreateDate": "2026-09-26T13:58:23.0179074-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-09-26T13:58:23.0179074-07:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "893b42a8-4761-4afe-97b2-a5e7b6f237fe",
"CreateDate": "2026-09-26T13:58:23.0179074-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-09-26T13:58:23.0179074-07:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "26240d0d-7a75-4607-a667-ea74b3c43b0b",
"EffectiveDate": "2026-09-26T13:58:23.0179074-07:00",
"StatusType": {
"StatusTypeId": "18bbc6a6-a74e-4b4d-b9a8-150c9c95560b",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "8f951fa7-71de-47e6-a118-487091751d38",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "b94eaf9e-4d53-456e-abc6-194286d25c68",
"CreateDate": "2026-09-26T13:58:23.0179074-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-09-26T13:58:23.0179074-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "5f979e73-b5ef-4871-9af0-e075dbb14e13",
"CreateDate": "2026-09-26T13:58:23.0179074-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-09-26T13:58:23.0179074-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "836adf8f-11d7-44db-9057-c8c87beddd35",
"CreateDate": "2026-09-26T13:58:23.0179074-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-09-26T13:58:23.0179074-07:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "80e43880-93d4-4154-a595-7915a835fb1b",
"EffectiveDate": "2026-09-26T13:58:23.0179074-07:00",
"WellPurposeType": {
"WellPurposeTypeId": "988bc6ff-83fa-4fa9-b105-1ab7ceb86b67",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "9d053f84-1d9c-489e-a183-0e63a74827a4",
"CreateDate": "2026-09-26T13:58:23.0179074-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-09-26T13:58:23.0179074-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "b94e8448-df67-40af-81bc-a9f158a8ff76",
"CreateDate": "2026-09-26T13:58:23.0179074-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-09-26T13:58:23.0179074-07:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-09-26T13:58:23.0179074-07:00",
"MeasurementValueNeededDate": "2026-09-26T13:58:23.0179074-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "d534b242-ca47-40a8-855d-1c0a416f96b1",
"CreateDate": "2026-09-26T13:58:23.0179074-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-09-26T13:58:23.0179074-07:00",
"LastModifiedUser": "sample string 8"
},
"Total": 1,
"Message": "sample string 1"
}