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": "f5b8590f-5c72-4d80-b535-507b9060bbde",
"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": "2425379a-4e89-455e-895c-ccdffb53b09f",
"Name": "sample string 1",
"Description": "sample string 2",
"DisplayOrder": 1,
"AssetType": {
"AssetTypeId": "10624f4e-ce3d-4ad5-83e5-ab180917060c",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "2dcb059e-fdb7-479c-8e8a-c372dddd51d0",
"CreateDate": "2026-11-01T08:09:27.0614067-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-01T08:09:27.0614067-08:00",
"LastModifiedUser": "sample string 8"
},
"AssetGroup": {
"AssetGroupId": "be16c870-2470-4f13-803c-e0c72c3ddc60",
"Name": "sample string 1",
"Description": "sample string 2",
"ParentGroup": null,
"DisplayOrder": 1,
"FormValueNeededDate": "2026-11-01T08:09:27.0614067-08:00",
"MeasurementValueNeededDate": "2026-11-01T08:09:27.0614067-08:00",
"SourceSystemId": "sample string 3",
"CompanyId": "ab20796e-46c4-4d55-a559-7c5fcdfaeb80",
"CreateDate": "2026-11-01T08:09:27.0614067-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-01T08:09:27.0614067-08:00",
"LastModifiedUser": "sample string 6"
},
"ParentAsset": null,
"Location": "sample string 3",
"Barcode": {
"Format": 0,
"Code": "sample string 1"
},
"State": {
"StateId": "4f84b8b9-1e00-4051-b984-35ef7f75f098",
"EffectiveDate": "2026-11-01T08:09:27.0614067-08:00",
"StateType": {
"StateTypeId": "db05484c-f4fd-44da-a515-e3931803d160",
"Name": "sample string 1",
"IsOperational": true,
"AssetType": {
"AssetTypeId": "10624f4e-ce3d-4ad5-83e5-ab180917060c",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "2dcb059e-fdb7-479c-8e8a-c372dddd51d0",
"CreateDate": "2026-11-01T08:09:27.0614067-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-01T08:09:27.0614067-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 3",
"CompanyId": "de9c2df1-94f2-4496-bc88-d94dc703f9ab",
"CreateDate": "2026-11-01T08:09:27.0614067-08:00",
"CreateUser": "sample string 5",
"LastModifiedDate": "2026-11-01T08:09:27.0614067-08:00",
"LastModifiedUser": "sample string 6"
},
"SourceSystemId": "sample string 1",
"CompanyId": "89984cac-2b48-4a7c-ad97-eddd8c52a016",
"CreateDate": "2026-11-01T08:09:27.0614067-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-11-01T08:09:27.0614067-08:00",
"LastModifiedUser": "sample string 4"
},
"Status": {
"StatusId": "b0ca7ae1-b9c7-4cf3-8bd5-d74c07b94448",
"EffectiveDate": "2026-11-01T08:09:27.0614067-08:00",
"StatusType": {
"StatusTypeId": "317bacac-b766-4725-93e9-910a4c0e1e37",
"Name": "sample string 1",
"IsProducing": true,
"IsInjecting": true,
"AssetType": {
"AssetTypeId": "10624f4e-ce3d-4ad5-83e5-ab180917060c",
"Name": "sample string 1",
"Description": "sample string 2",
"IsWell": true,
"DisplayColor": "sample string 4",
"SourceSystemId": "sample string 5",
"CompanyId": "2dcb059e-fdb7-479c-8e8a-c372dddd51d0",
"CreateDate": "2026-11-01T08:09:27.0614067-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-01T08:09:27.0614067-08:00",
"LastModifiedUser": "sample string 8"
},
"SourceSystemId": "sample string 4",
"CompanyId": "928b1aaa-e3e3-4b55-94b2-ee56c34aa379",
"CreateDate": "2026-11-01T08:09:27.0614067-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-01T08:09:27.0614067-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "51357a01-7fff-4129-8ed4-a040e7675fcb",
"CreateDate": "2026-11-01T08:09:27.0614067-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-11-01T08:09:27.0614067-08:00",
"LastModifiedUser": "sample string 4"
},
"WellPurpose": {
"WellPurposeId": "d1a9f8ff-fa0b-49f4-9d13-a107d1fa0c98",
"EffectiveDate": "2026-11-01T08:09:27.0614067-08:00",
"WellPurposeType": {
"WellPurposeTypeId": "1f83e5e3-ca1e-4af1-aeb9-7864862bdaa7",
"IsProducer": true,
"IsInjector": true,
"Name": "sample string 3",
"SourceSystemId": "sample string 4",
"CompanyId": "e9870482-f508-46d6-805d-31bad8cf7d75",
"CreateDate": "2026-11-01T08:09:27.0614067-08:00",
"CreateUser": "sample string 6",
"LastModifiedDate": "2026-11-01T08:09:27.0614067-08:00",
"LastModifiedUser": "sample string 7"
},
"SourceSystemId": "sample string 1",
"CompanyId": "dbd13183-5e93-40c8-bba7-313e6981d867",
"CreateDate": "2026-11-01T08:09:27.0614067-08:00",
"CreateUser": "sample string 3",
"LastModifiedDate": "2026-11-01T08:09:27.0614067-08:00",
"LastModifiedUser": "sample string 4"
},
"FormValueNeededDate": "2026-11-01T08:09:27.0614067-08:00",
"MeasurementValueNeededDate": "2026-11-01T08:09:27.0614067-08:00",
"HasChildren": true,
"SourceSystemId": "sample string 5",
"CompanyId": "31bafd92-2175-4896-ae1c-fc4929502a47",
"CreateDate": "2026-11-01T08:09:27.0614067-08:00",
"CreateUser": "sample string 7",
"LastModifiedDate": "2026-11-01T08:09:27.0614067-08:00",
"LastModifiedUser": "sample string 8"
},
"Total": 1,
"Message": "sample string 1"
}