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": "0bff4c47-2f42-45b8-99ae-e53a503db12a",
  "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": "19f6a6e5-ca70-4a49-8129-7d8c3605ffbf",
    "Name": "sample string 1",
    "Description": "sample string 2",
    "DisplayOrder": 1,
    "AssetType": {
      "AssetTypeId": "8f1bca0a-2747-4b76-80d8-7e60e815e2df",
      "Name": "sample string 1",
      "Description": "sample string 2",
      "DisplayColor": "sample string 3",
      "SourceSystemId": "sample string 4",
      "CompanyId": "1bffc577-6ab1-40c9-9430-3186bd8df177",
      "CreateDate": "2024-10-10T03:30:29.0443307-07:00",
      "CreateUser": "sample string 6",
      "LastModifiedDate": "2024-10-10T03:30:29.0443307-07:00",
      "LastModifiedUser": "sample string 7"
    },
    "AssetGroup": {
      "AssetGroupId": "554a051a-4ba8-4357-9b7a-475f6865c2dc",
      "Name": "sample string 1",
      "Description": "sample string 2",
      "ParentGroup": null,
      "DisplayOrder": 1,
      "FormValueNeededDate": "2024-10-10T03:30:29.0443307-07:00",
      "MeasurementValueNeededDate": "2024-10-10T03:30:29.0443307-07:00",
      "SourceSystemId": "sample string 3",
      "CompanyId": "780ccecc-0714-49ee-bb3c-d36f5a15d753",
      "CreateDate": "2024-10-10T03:30:29.0443307-07:00",
      "CreateUser": "sample string 5",
      "LastModifiedDate": "2024-10-10T03:30:29.0443307-07:00",
      "LastModifiedUser": "sample string 6"
    },
    "ParentAsset": null,
    "Location": "sample string 3",
    "Barcode": {
      "Format": 0,
      "Code": "sample string 1"
    },
    "FormValueNeededDate": "2024-10-10T03:30:29.0443307-07:00",
    "MeasurementValueNeededDate": "2024-10-10T03:30:29.0443307-07:00",
    "HasChildren": true,
    "SourceSystemId": "sample string 5",
    "CompanyId": "bd9577d3-08a2-4ab4-93eb-8359130e8241",
    "CreateDate": "2024-10-10T03:30:29.0443307-07:00",
    "CreateUser": "sample string 7",
    "LastModifiedDate": "2024-10-10T03:30:29.0443307-07:00",
    "LastModifiedUser": "sample string 8"
  },
  "Total": 1,
  "Message": "sample string 1"
}