Create Objects
Create objects within your organization's AmniSphere library.
Headers
x-api-key
Your organization's active API Key.
Request
This endpoint expects a list of objects.
label
The name of the object you'd like to create within your organization's library.
organization_id
Your organization's unique identifier.
attributes
A map of attributes associated with the object to be created within your organization's library. At least one attribute is required to create an object.
detection_item_folder_id
The folder id of the folder you'd like your object to be created in within your organization's library. If this value is left empty, the object will be created in the "Unclassified" folder.
collection_note
A collection note to be shown to users when they begin collecting this object.
created_by
The email of the user creating the folder. If this parameter is left empty, the value will default to 'API'.
Response
201 - Object creation successful
label
The name of the object you've successfully created within your organization's library.
organization_id
Your organization's unique identifier.
attributes
A map of attributes associated with the newly created object. These attributes will match the attributes within the library for this object.
collection_note
A collection note to be shown to users when they begin collecting this object. This value will be null if a collection note was not entered during object creation.
detection_item_folder_id
The folder id of the folder your newly created object resides in within your organization's library. If you did not specify a folder during object creation, this value will be null.
created_by
The name of the object you'd like to create within your organization's library.