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": "6f8b48d2-da7a-4114-8281-60a73b700c3f",
"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": "7e2e4361-e74c-4a1e-a97d-883e2eeefa3d",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "75277a36-881d-447f-91d0-4659873c6634",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "f8642445-76b8-478c-b0b6-7642ce972bd0",
"CreateDate": "2025-11-04T17:06:27.3986574-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-11-04T17:06:27.3986574-08:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "27f484f6-c275-4f19-a036-8fbb5e68cf4e",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2025-11-04T17:06:27.3986574-08:00",
"MeasurementValueNeededDate": "2025-11-04T17:06:27.3986574-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "02c3e565-c04f-4cd3-ab20-e60d81860d13",
"CreateDate": "2025-11-04T17:06:27.3986574-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-11-04T17:06:27.3986574-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "717f57fd-e2d3-4655-b94f-ef7cef82823c",
"EffectiveDate": "2025-11-04T17:06:27.3986574-08:00",
"StateType": {
"StateTypeId": "626c78dd-e76f-44fe-934f-c0cea20216cf",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "75277a36-881d-447f-91d0-4659873c6634",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "f8642445-76b8-478c-b0b6-7642ce972bd0",
"CreateDate": "2025-11-04T17:06:27.3986574-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-11-04T17:06:27.3986574-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "150a8afe-8865-4f18-b7bf-434956695296",
"CreateDate": "2025-11-04T17:06:27.3986574-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2025-11-04T17:06:27.3986574-08:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "e090db1b-70a4-49e2-bdb5-3826496c0000",
"CreateDate": "2025-11-04T17:06:27.3986574-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2025-11-04T17:06:27.3986574-08:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "fce94974-516e-4eec-a249-914c2e14f8a5",
"EffectiveDate": "2025-11-04T17:06:27.3986574-08:00",
"StatusType": {
"StatusTypeId": "3824b2b9-bea7-4c87-9c76-0c9a52cacdfb",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "75277a36-881d-447f-91d0-4659873c6634",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "f8642445-76b8-478c-b0b6-7642ce972bd0",
"CreateDate": "2025-11-04T17:06:27.3986574-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-11-04T17:06:27.3986574-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "0fbb7c64-c0f2-4f75-b6c6-e87b1a8959d9",
"CreateDate": "2025-11-04T17:06:27.3986574-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-11-04T17:06:27.3986574-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "e6ec828a-0f5e-4fb1-a4cd-77b62c10bde1",
"CreateDate": "2025-11-04T17:06:27.3986574-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2025-11-04T17:06:27.3986574-08:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "b36580e6-2a62-4582-82b8-d8e7d32a4fbd",
"EffectiveDate": "2025-11-04T17:06:27.3986574-08:00",
"WellPurposeType": {
"WellPurposeTypeId": "10621201-59c2-41bc-81c8-40390242176d",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "92d941ed-e5b8-4ab2-b08a-5fc1acee3805",
"CreateDate": "2025-11-04T17:06:27.3986574-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2025-11-04T17:06:27.3986574-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "75e69213-f164-4f45-968d-3d654a12987e",
"CreateDate": "2025-11-04T17:06:27.3986574-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2025-11-04T17:06:27.3986574-08:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2025-11-04T17:06:27.3986574-08:00",
"MeasurementValueNeededDate": "2025-11-04T17:06:27.3986574-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "2b52e072-e8be-4d0e-b964-8d73651c0db5",
"CreateDate": "2025-11-04T17:06:27.3986574-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2025-11-04T17:06:27.3986574-08:00",
"LastModifiedUser": "sample string 8"
},
"Total": 1,
"Message": "sample string 1"
}