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": "1fc9290f-f856-4026-9269-8c208dedd9ec",
"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": "cecad09c-bae6-4f53-a9f2-93df8d55ef09",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "de5c390d-67d9-4ef7-9816-fcd24e317ed4",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "0bc0d2f3-bd12-4a78-a733-4f89614ccde0",
"CreateDate": "2026-11-21T11:57:11.2187424-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-21T11:57:11.2187424-08:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "e2025faa-db9d-4589-8e4d-4aaa61cea9ad",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-11-21T11:57:11.2187424-08:00",
"MeasurementValueNeededDate": "2026-11-21T11:57:11.2187424-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "23f35077-8135-47e4-8258-fa83eaeb35db",
"CreateDate": "2026-11-21T11:57:11.2187424-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-21T11:57:11.2187424-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "8f03c2b3-80af-4684-9d5f-7d205bedc828",
"EffectiveDate": "2026-11-21T11:57:11.2187424-08:00",
"StateType": {
"StateTypeId": "5b788355-535f-4f8e-a0d2-1bc6c5289c7f",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "de5c390d-67d9-4ef7-9816-fcd24e317ed4",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "0bc0d2f3-bd12-4a78-a733-4f89614ccde0",
"CreateDate": "2026-11-21T11:57:11.2187424-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-21T11:57:11.2187424-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "43aa36ea-9b61-40b4-a0c7-c4d14031b33a",
"CreateDate": "2026-11-21T11:57:11.2187424-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-21T11:57:11.2187424-08:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "1931b472-f490-44c9-964c-013d2c3b0d08",
"CreateDate": "2026-11-21T11:57:11.2187424-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-11-21T11:57:11.2187424-08:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "ac3ce673-ea43-4191-b691-7aaa02b745d7",
"EffectiveDate": "2026-11-21T11:57:11.2187424-08:00",
"StatusType": {
"StatusTypeId": "0c93b632-a536-432d-b4c8-b41362ef54fc",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "de5c390d-67d9-4ef7-9816-fcd24e317ed4",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "0bc0d2f3-bd12-4a78-a733-4f89614ccde0",
"CreateDate": "2026-11-21T11:57:11.2187424-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-21T11:57:11.2187424-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "d1b734da-402a-4207-9b07-1bf25beb8d56",
"CreateDate": "2026-11-21T11:57:11.2187424-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-21T11:57:11.2187424-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "f57c24aa-379e-4607-9478-9e1a167a76ab",
"CreateDate": "2026-11-21T11:57:11.2187424-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-11-21T11:57:11.2187424-08:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "564240bd-9c2f-4348-885e-460e7f213d24",
"EffectiveDate": "2026-11-21T11:57:11.2187424-08:00",
"WellPurposeType": {
"WellPurposeTypeId": "36080a53-80aa-42c4-adc9-3e23dc9cacb0",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "3605edaf-b2d9-4649-94e7-48befa1edca1",
"CreateDate": "2026-11-21T11:57:11.2187424-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-21T11:57:11.2187424-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "41577bfd-370d-4d58-8fd1-e29b625573fb",
"CreateDate": "2026-11-21T11:57:11.2187424-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-11-21T11:57:11.2187424-08:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-11-21T11:57:11.2187424-08:00",
"MeasurementValueNeededDate": "2026-11-21T11:57:11.2187424-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "9bf5bfbb-8ad2-4d58-8109-d3820c033b86",
"CreateDate": "2026-11-21T11:57:11.2187424-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-21T11:57:11.2187424-08:00",
"LastModifiedUser": "sample string 8"
},
"Total": 1,
"Message": "sample string 1"
}