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": "7635d725-0193-4765-9ea3-55bda6de7612",
  "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": "3a62147c-a048-4988-bd75-ce00fd0b7048",
    "Name": "sample string 1",
    "Description": "sample string 2",
    "DisplayOrder": 1,
    "AssetType": {
      "AssetTypeId": "120c5d0c-ce99-4701-b7a5-33c9ace23e9a",
      "Name": "sample string 1",
      "Description": "sample string 2",
      "DisplayColor": "sample string 3",
      "SourceSystemId": "sample string 4",
      "CompanyId": "3b5292fb-0844-4156-aca8-97b2523becce",
      "CreateDate": "2024-12-08T06:35:50.9914219-08:00",
      "CreateUser": "sample string 6",
      "LastModifiedDate": "2024-12-08T06:35:50.9914219-08:00",
      "LastModifiedUser": "sample string 7"
    },
    "AssetGroup": {
      "AssetGroupId": "36271410-3bf9-4666-82db-3892c1f5459b",
      "Name": "sample string 1",
      "Description": "sample string 2",
      "ParentGroup": null,
      "DisplayOrder": 1,
      "FormValueNeededDate": "2024-12-08T06:35:50.9914219-08:00",
      "MeasurementValueNeededDate": "2024-12-08T06:35:50.9914219-08:00",
      "SourceSystemId": "sample string 3",
      "CompanyId": "bd66ab8b-86f3-44e5-980d-10e43d3c0a1f",
      "CreateDate": "2024-12-08T06:35:50.9914219-08:00",
      "CreateUser": "sample string 5",
      "LastModifiedDate": "2024-12-08T06:35:50.9914219-08:00",
      "LastModifiedUser": "sample string 6"
    },
    "ParentAsset": null,
    "Location": "sample string 3",
    "Barcode": {
      "Format": 0,
      "Code": "sample string 1"
    },
    "FormValueNeededDate": "2024-12-08T06:35:50.9914219-08:00",
    "MeasurementValueNeededDate": "2024-12-08T06:35:50.9914219-08:00",
    "HasChildren": true,
    "SourceSystemId": "sample string 5",
    "CompanyId": "dfacda91-4d18-424c-9066-234cf612b707",
    "CreateDate": "2024-12-08T06:35:50.9914219-08:00",
    "CreateUser": "sample string 7",
    "LastModifiedDate": "2024-12-08T06:35:50.9914219-08:00",
    "LastModifiedUser": "sample string 8"
  },
  "Total": 1,
  "Message": "sample string 1"
}