Creates a custom asset.
The asset is created at a location of the client it belongs to, with one of the service provider’s custom asset types as its hardware type. Its creation is recorded on the asset’s timeline, as it is when the asset is created in the app.
Autorizações
Your Gorelo API key. See Generate API key. If your data is hosted in Australia, click the base URL at the top of this page and select https://api.aue.gorelo.io.
Corpo
Custom asset details.
Request body for creating a custom asset. The owning service provider is resolved from the request context, not from the body.
Display name of the asset. Required, max 300 characters, cannot be blank.
"Reception printer"
Identifier of the client the asset belongs to. Required; the client must be active.
3521
Identifier of the client location the asset sits at. Required; must be an active location of
ClientId.
4410
Identifier of the asset's hardware type, one of the service provider's active custom asset types. Required.
118
Free-text description. Optional, max 1000 characters.
"HP LaserJet on the front desk"
Identifier of the contact the asset is assigned to. Optional; must be an active contact of
ClientId.
7962
Date the warranty ends, a calendar date in the form yyyy-MM-dd. A value with a time or a time zone is rejected. Optional.
"2027-03-31"
IPv4 address of the asset, such as 192.168.1.20. Optional. The same name an agent asset publishes.
"192.168.1.20"
IPv4 address of the asset. Optional. Deprecated: use LocalIPAddress. Still accepted;
sending both with different values is a 400.
"192.168.1.20"
Hardware serial number. Optional, max 250 characters.
"CNB1K23456"
Date the warranty starts, a calendar date in the form yyyy-MM-dd. A value with a time or a time zone is rejected. Optional. Not shown in the Gorelo app.
"2024-03-31"
Manufacturer. Optional, max 300 characters. Not shown in the Gorelo app.
"Ubiquiti"
Model. Optional, max 300 characters. Not shown in the Gorelo app.
"UniFi Dream Machine Pro"
Resposta
OK
100, 101, 102, 103, 200, 201, 202, 203, 204, 205, 206, 207, 208, 226, 300, 301, 302, 303, 304, 305, 306, 307, 308, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 421, 422, 423, 424, 426, 428, 429, 431, 451, 500, 501, 502, 503, 504, 505, 506, 507, 508, 510, 511 The identifier of the created custom asset.
null