Insert Many
Inserts many documents
Last updated
Was this helpful?
Inserts many documents
Last updated
Was this helpful?
Use bulk insert when you want to insert many records into the database with one API call. This can be useful when you import data from any other sources.
Check the information about entities on how your class objects are serialized.
Use bulk insert when you want to insert many records into database with one API call. This can be useful when you do import data from any other sources. https://docs.codemash.io/api/database/collections/insert-many
/{version}/db/{CollectionName}/bulk
Collection name - unique, lowercased, collection name without whitespace. E.g., if your collection title you have entered in the CodeMash dashboard is "Business Trips" then collection name would be "business-trips".
The CodeMash API version used to fetch data from the API. If not specified, the last version will be used. E.g.: v2
Accept Header
API key of your cluster. Can be passed in a header as X-CM-Cluster.
ID of your project. Can be passed in a header as X-CM-ProjectId.
Specify culture code when your response from the API should be localised. E.g.: en