Skip to content

Factory Asset Import ​

Bulk create or update factory assets with their associated smart devices. Designed for factory-level asset registration before deployment to outlets.

See Overview for authentication, file formats, response structure, and import order.

Endpoint ​

http
POST https://portal.coolrgroup.com/Controllers/Import.ashx?type=FactoryAsset

UI access ​

  • Portal: Asset Management → Factory Assets → Select Import Type: "Factory Asset"

Columns ​

Formats: .csv, .xlsx / .xls, .json — Download template

ColumnAliasRequiredType / Max LengthValidationNotes
Asset serial numberAssetSerialNumberYesString, max 200Must be non-emptyUnique identifier for the asset
Asset TypeAssetTypeYesString, max 200Must match an existing Asset TypeAsset Type must be created first
Smart Device serialSmartDeviceSerialNumberYesString, max 200Must be non-emptySerial number of the linked smart device
Outlet CodeLocationCodeNoString, max 50Must match an existing outletPre-assigns asset to an outlet on import
Tag NumberTagNumberNoString, max 200—Reference tag number

Examples ​

CSV ​

csv
Asset serial number,Asset Type,Smart Device serial,Outlet Code,Tag Number
SN123456789,Vertical Cooler,SD-987654321,NYC-001,TAG-001
SN123456790,Horizontal Freezer,SD-987654322,,TAG-002

JSON ​

json
{
  "data": [
    {
      "AssetSerialNumber": "SN123456789",
      "AssetType": "Vertical Cooler",
      "SmartDeviceSerialNumber": "SD-987654321",
      "LocationCode": "NYC-001",
      "TagNumber": "TAG-001"
    },
    {
      "AssetSerialNumber": "SN123456790",
      "AssetType": "Horizontal Freezer",
      "SmartDeviceSerialNumber": "SD-987654322",
      "TagNumber": "TAG-002"
    }
  ]
}

API import ​

bash
curl -X POST 'https://portal.coolrgroup.com/Controllers/Import.ashx?type=FactoryAsset' \
  -H 'Cookie: .ASPXAUTH=your-auth-token' \
  -F 'file=@factory-assets.csv'

Replace factory-assets.csv with factory-assets.xlsx or factory-assets.json as needed.

Response ​

See Overview - Response format for response structure and error handling.

Common errors ​

ErrorCauseFix
Missing required field: Asset serial numberEmpty asset serial numberFill in Asset serial number for every row
Missing required field: Asset TypeEmpty asset typeFill in Asset Type for every row
Missing required field: Smart Device serialEmpty smart device serialFill in Smart Device serial for every row
Asset Type '[name]' not found in systemAsset Type doesn't existCreate the Asset Type first via Asset Type Import
Outlet Code '[code]' not foundOutlet doesn't existCreate the outlet first via Outlet Import

For support, contact support@coolrgroup.com