PUT Assets/UpdateBarcode

Updates the given asset's barcode.

Request Information

URI Parameters

None.

Body Parameters

Contains the AssetId and desired barcode

UpdateAssetBarcodeParameters
NameDescriptionTypeAdditional information
AssetId

globally unique identifier

None.

Barcode

Barcode

None.

Request Formats

application/json, text/json

Sample:
{
  "AssetId": "3de38e83-38a1-4718-b0cb-931997882e53",
  "Barcode": {
    "Format": 0,
    "Code": "sample string 1"
  }
}

Response Information

Resource Description

On success, the updated asset.

NameDescriptionTypeAdditional information
Data

Asset

None.

Total

integer

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Data": {
    "AssetId": "93f6e6a0-17da-4bdb-8ce3-87afbd4bde57",
    "Name": "sample string 1",
    "Description": "sample string 2",
    "DisplayOrder": 1,
    "AssetType": {
      "AssetTypeId": "d9519f26-4a6c-4136-ad4a-3515faa8203b",
      "Name": "sample string 1",
      "Description": "sample string 2",
      "DisplayColor": "sample string 3",
      "SourceSystemId": "sample string 4",
      "CompanyId": "a94c23e6-6399-4884-b9f1-63a914ee9a3b",
      "CreateDate": "2024-12-03T09:48:03.2750836-08:00",
      "CreateUser": "sample string 6",
      "LastModifiedDate": "2024-12-03T09:48:03.2750836-08:00",
      "LastModifiedUser": "sample string 7"
    },
    "AssetGroup": {
      "AssetGroupId": "3d9580ae-62d0-46ae-a8ea-ac30a2f39d5a",
      "Name": "sample string 1",
      "Description": "sample string 2",
      "ParentGroup": null,
      "DisplayOrder": 1,
      "FormValueNeededDate": "2024-12-03T09:48:03.2750836-08:00",
      "MeasurementValueNeededDate": "2024-12-03T09:48:03.2750836-08:00",
      "SourceSystemId": "sample string 3",
      "CompanyId": "2322fce3-e831-4ba6-af98-b6ba43dfc6ef",
      "CreateDate": "2024-12-03T09:48:03.2750836-08:00",
      "CreateUser": "sample string 5",
      "LastModifiedDate": "2024-12-03T09:48:03.2750836-08:00",
      "LastModifiedUser": "sample string 6"
    },
    "ParentAsset": null,
    "Location": "sample string 3",
    "Barcode": {
      "Format": 0,
      "Code": "sample string 1"
    },
    "FormValueNeededDate": "2024-12-03T09:48:03.2750836-08:00",
    "MeasurementValueNeededDate": "2024-12-03T09:48:03.2750836-08:00",
    "HasChildren": true,
    "SourceSystemId": "sample string 5",
    "CompanyId": "f5eec399-7055-4b63-8e1f-0bb08a26f3bd",
    "CreateDate": "2024-12-03T09:48:03.2750836-08:00",
    "CreateUser": "sample string 7",
    "LastModifiedDate": "2024-12-03T09:48:03.2750836-08:00",
    "LastModifiedUser": "sample string 8"
  },
  "Total": 1,
  "Message": "sample string 1"
}