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": "bc51fa11-42c7-4d0d-a502-9dcd8bc7f419",
"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": "e388bd9b-9e64-4120-8182-10514e422cba",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "09d8b440-af57-473d-a79f-cbc7b66c8672",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "90185ac9-c469-4df9-9896-9a1d9e9507df",
"CreateDate": "2026-07-15T13:21:19.6856873-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-07-15T13:21:19.6856873-07:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "f062fd98-ab6c-4ba2-89e2-d9a976d39f89",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-07-15T13:21:19.6856873-07:00",
"MeasurementValueNeededDate": "2026-07-15T13:21:19.6856873-07:00",
"SourceSystemId": "sample string 3",
"CompanyId": "82bcc21c-e83a-4ee6-9ea4-f1cf96e45afc",
"CreateDate": "2026-07-15T13:21:19.6856873-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-07-15T13:21:19.6856873-07:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "30f78ca1-c85a-497b-b5a7-1cb81a11c0a9",
"EffectiveDate": "2026-07-15T13:21:19.6856873-07:00",
"StateType": {
"StateTypeId": "efed0df4-b26b-4ad2-bd84-980ceaf7a482",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "09d8b440-af57-473d-a79f-cbc7b66c8672",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "90185ac9-c469-4df9-9896-9a1d9e9507df",
"CreateDate": "2026-07-15T13:21:19.6856873-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-07-15T13:21:19.6856873-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "8985b58a-e7d0-481f-8b1f-251a88fd80c6",
"CreateDate": "2026-07-15T13:21:19.6856873-07:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-07-15T13:21:19.6856873-07:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "c709d535-e00e-40a9-b370-97c2c88cedc6",
"CreateDate": "2026-07-15T13:21:19.6856873-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-07-15T13:21:19.6856873-07:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "218a70b5-820d-4199-961a-56d57fedf303",
"EffectiveDate": "2026-07-15T13:21:19.6856873-07:00",
"StatusType": {
"StatusTypeId": "7e0b345d-6ef8-422f-babb-72e7ec2f3c4f",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "09d8b440-af57-473d-a79f-cbc7b66c8672",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "90185ac9-c469-4df9-9896-9a1d9e9507df",
"CreateDate": "2026-07-15T13:21:19.6856873-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-07-15T13:21:19.6856873-07:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "66df518d-10b7-488f-895d-31baef562034",
"CreateDate": "2026-07-15T13:21:19.6856873-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-07-15T13:21:19.6856873-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "9c4240b2-0755-422e-bae1-5442910fe905",
"CreateDate": "2026-07-15T13:21:19.6856873-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-07-15T13:21:19.6856873-07:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "7ade0601-7de3-4723-a898-a7fda9a98aec",
"EffectiveDate": "2026-07-15T13:21:19.6856873-07:00",
"WellPurposeType": {
"WellPurposeTypeId": "87798e04-12da-46e4-b92a-5e986b795287",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "3d8fd6f1-46a2-49eb-add3-8cbdf286f980",
"CreateDate": "2026-07-15T13:21:19.6856873-07:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-07-15T13:21:19.6856873-07:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "bb74bb89-7e9f-4b9f-91c5-873628ad7297",
"CreateDate": "2026-07-15T13:21:19.6856873-07:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-07-15T13:21:19.6856873-07:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-07-15T13:21:19.6856873-07:00",
"MeasurementValueNeededDate": "2026-07-15T13:21:19.6856873-07:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "6851e768-85f6-4879-b423-2192d8640197",
"CreateDate": "2026-07-15T13:21:19.6856873-07:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-07-15T13:21:19.6856873-07:00",
"LastModifiedUser": "sample string 8"
},
"Total": 1,
"Message": "sample string 1"
}