Routes
Assets
Patch Asset
This request updates an Asset's top level information. See Update Asset Field Value to update an Asset Field's value.
| Parameter | Type | Required | Description |
|---|---|---|---|
| name | String | Optional | The new name of the Asset. |
| hoursPerWeek | Integer | Optional | The new hours of operation per week for this Asset. Use -1 to disable this feature and have it default to the Locations hours of operation. |
| parentAssetID | Int | Optional | The asset's parent. This must be another asset ID and is used to display an Asset hierarchy. You can not have assets be their own ancestor. |
| startedOn | Int | Optional | The new date this Asset was created. Must be a unix, timestamp. |
| geoLocation | geoJSON | Optional | The geoJSON Feature object that can be used to locate an asset on a Map. To remove geoLocation from an Asset pass an empty object ( {}). |
patch/v2/assets/{assetID}
Request
- Base URL{{server}}:{{port}}
- AuthHTTP basic
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Response
The operation completed successfully. The response body is empty.
Changes
No recorded changes to this operation across all 4 revisions of this API.