v1

latestOpenAPI 3.1.02026-08-0420819698.7 KB
Routes
Assets

New Asset

This request creates a new blank Asset.

Parameter: name, Type: String, Required?: Required, Description: The new name of the Asset. Parameter: hoursPerWeek, Type: Integer, Required?: Optional, Description: The new hours of operation per week for this Asset. Use -1 to disable this feature. Parameter: parentAssetID, Type: Int, Required?: Optional, Description: The asset's parent. This makes it so assets can be nested in the web application. Parameter: locationID, Type: Int, Required?: Required, Description: The ID of the location this asset is located at. Parameter: geoLocation, Type: geoJSON, Required?: Optional, Description: The geoJSON Feature object that can be used to locate an asset on a Map.

post/v2/assets

Response

New Asset

assetIDstring utc-millisec