v1

latestOpenAPI 3.1.02026-08-0420819698.7 KB
Routes
Assets
Fields

New Asset Suggested Field

This request creates a new Suggested Field.

Suggested Fields are the full list of possible Fields that can be added to Assets at that Location.

Parameter: locationID, Type: Int, Required?: Required, Description: The location ID of the Asset to add the new Field to. Parameter: name, Type: String, Required?: Required, Description: The name of the new Field. Some custom field names such as "Asset" are not allowed and reserved for internal use. This will result in a 409 error. Parameter: fieldType, Type: Int, Required?: Required, Description: The type of the new Field. You can choose from Text (1), Date (2), Pictures (3), Documents (4), Number (5), Currency (6), Dropdown (7).

Parameter: options, Type: Array of objects with a "name" property, Required?: Optional (only valid when fieldType is 7), Description: Initial list of options for a Dropdown field. Each option must have a "name" string.

post/v2/assets/fields

Response

New Asset Suggested Field

fieldIDstring color