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": "0ff2c0ab-0f39-470f-a422-3e3313fd73bf",
  "Barcode": {
    "Format": 0,
    "Code": "sample string 1"
  }
}

Response Information

Resource Description

On success, the updated asset.

NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.