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": "4ed8300c-3485-4472-ba0f-4aecf82d195b",
"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": "3342ce5f-d9f1-4e79-8853-7de9c7180e6e",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "336a825d-d413-49bd-8874-e1461a06b611",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "aa93e0a4-2cba-42d6-8493-ccdd83b44083",
"CreateDate": "2025-12-12T19:05:08.2831914-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-12-12T19:05:08.2831914-08:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "08bdbb33-7038-459b-a507-799704dcc2a1",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2025-12-12T19:05:08.2831914-08:00",
"MeasurementValueNeededDate": "2025-12-12T19:05:08.2831914-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "3729596d-d98c-4a2d-b528-3d3af76f7a45",
"CreateDate": "2025-12-12T19:05:08.2831914-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-12T19:05:08.2831914-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "bae3ce9e-f661-4be3-8679-e8cd7412c7a8",
"EffectiveDate": "2025-12-12T19:05:08.2831914-08:00",
"StateType": {
"StateTypeId": "2994a7ef-b3aa-40ff-9dc2-d0953457cbb7",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "336a825d-d413-49bd-8874-e1461a06b611",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "aa93e0a4-2cba-42d6-8493-ccdd83b44083",
"CreateDate": "2025-12-12T19:05:08.2831914-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-12-12T19:05:08.2831914-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "13d4e72a-cc71-4c47-860a-da74265bc9b1",
"CreateDate": "2025-12-12T19:05:08.2831914-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-12-12T19:05:08.2831914-08:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "46f4e60b-12a3-43bb-8dd0-98ce7e53ccb1",
"CreateDate": "2025-12-12T19:05:08.2831914-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2025-12-12T19:05:08.2831914-08:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "47c9eefb-72bd-40c2-a9ff-bbf35d465220",
"EffectiveDate": "2025-12-12T19:05:08.2831914-08:00",
"StatusType": {
"StatusTypeId": "9fc78d02-38b8-4a9c-98d3-7450fd54713e",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "336a825d-d413-49bd-8874-e1461a06b611",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "aa93e0a4-2cba-42d6-8493-ccdd83b44083",
"CreateDate": "2025-12-12T19:05:08.2831914-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-12-12T19:05:08.2831914-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "24b56c97-bbc1-47f0-9f3b-17404bb8359a",
"CreateDate": "2025-12-12T19:05:08.2831914-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-12-12T19:05:08.2831914-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "95beccb2-f715-459d-9dc5-16dfd930a2d6",
"CreateDate": "2025-12-12T19:05:08.2831914-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2025-12-12T19:05:08.2831914-08:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "f5765a83-f6e2-4ddf-ad16-9598d13c5237",
"EffectiveDate": "2025-12-12T19:05:08.2831914-08:00",
"WellPurposeType": {
"WellPurposeTypeId": "4a744cfa-f7b4-4e35-aab2-2a6c114e5234",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "e065e9cd-af61-4eea-9bcd-0622107e2c7f",
"CreateDate": "2025-12-12T19:05:08.2831914-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-12-12T19:05:08.2831914-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "92ffdf46-b6db-4e9c-81d9-060dcf553077",
"CreateDate": "2025-12-12T19:05:08.2831914-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2025-12-12T19:05:08.2831914-08:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2025-12-12T19:05:08.2831914-08:00",
"MeasurementValueNeededDate": "2025-12-12T19:05:08.2831914-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "8e484609-e07e-400e-8efb-465831ff6ba6",
"CreateDate": "2025-12-12T19:05:08.2831914-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-12-12T19:05:08.2831914-08:00",
"LastModifiedUser": "sample string 8"
},
"Total": 1,
"Message": "sample string 1"
}