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": "84f36c2d-8a9f-4388-8cab-33f132cb84a7",
"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": "c3dc7fd4-bdd6-4adc-b2f1-b4f338c1e089",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "7c1020ae-6e51-42e4-ae83-096284065d69",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "3f0154c2-b169-4074-990a-ed113b5dc940",
"CreateDate": "2026-02-02T04:53:02.6825024-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-02-02T04:53:02.6825024-08:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "2dd97c1c-c2a1-4495-b7ef-a41abbadc713",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-02-02T04:53:02.6825024-08:00",
"MeasurementValueNeededDate": "2026-02-02T04:53:02.6825024-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "b42d9678-9b42-4521-a5d1-7208f4b937a2",
"CreateDate": "2026-02-02T04:53:02.6825024-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-02-02T04:53:02.6825024-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "e8b2b44b-eaff-4d43-8316-4f1731bb5625",
"EffectiveDate": "2026-02-02T04:53:02.6825024-08:00",
"StateType": {
"StateTypeId": "7ecdf749-1de4-4144-a121-0ef7f727fd68",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "7c1020ae-6e51-42e4-ae83-096284065d69",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "3f0154c2-b169-4074-990a-ed113b5dc940",
"CreateDate": "2026-02-02T04:53:02.6825024-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-02-02T04:53:02.6825024-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "9fe968ec-1d89-4aeb-a7dc-41d1b14af2fa",
"CreateDate": "2026-02-02T04:53:02.6825024-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-02-02T04:53:02.6825024-08:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "890c5a94-073f-44bc-800f-a79181966afd",
"CreateDate": "2026-02-02T04:53:02.6825024-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-02-02T04:53:02.6825024-08:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "6054c8c6-d8fd-427b-8444-3a857408a5b1",
"EffectiveDate": "2026-02-02T04:53:02.6825024-08:00",
"StatusType": {
"StatusTypeId": "dfe8c293-2d09-4d58-93bb-6a48508047cc",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "7c1020ae-6e51-42e4-ae83-096284065d69",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "3f0154c2-b169-4074-990a-ed113b5dc940",
"CreateDate": "2026-02-02T04:53:02.6825024-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-02-02T04:53:02.6825024-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "70636d1a-c4a1-42f0-a8ba-3f1652c68afb",
"CreateDate": "2026-02-02T04:53:02.6825024-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-02-02T04:53:02.6825024-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "e9ab22f4-9e20-46db-9fe3-e9d6381d3c5d",
"CreateDate": "2026-02-02T04:53:02.6825024-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-02-02T04:53:02.6825024-08:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "e26b5772-2943-4b68-a116-58c86e65d8f8",
"EffectiveDate": "2026-02-02T04:53:02.6825024-08:00",
"WellPurposeType": {
"WellPurposeTypeId": "f4ef060d-f9f9-4c4c-8097-2bb4b8bb6b60",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "37a74988-2602-469b-9be4-3c2d37bf4440",
"CreateDate": "2026-02-02T04:53:02.6825024-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-02-02T04:53:02.6825024-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "9b016651-9064-4e9e-b01f-c7704e684abf",
"CreateDate": "2026-02-02T04:53:02.6825024-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-02-02T04:53:02.6825024-08:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-02-02T04:53:02.6825024-08:00",
"MeasurementValueNeededDate": "2026-02-02T04:53:02.6825024-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "b19a8df9-b4a2-4b50-8084-f9b996d11ad2",
"CreateDate": "2026-02-02T04:53:02.6825024-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-02-02T04:53:02.6825024-08:00",
"LastModifiedUser": "sample string 8"
},
"Total": 1,
"Message": "sample string 1"
}