POST

Insert Data Items


Developer Preview

This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.

Adds one or more items to a collection.

A data item object contains the _id and _owner fields. The response array must include the same items that were inserted, and each returned item must be added the _createdDate and _updatedDate fields.

However, data items can also be inserted without an _id field. In that case, it is the service provider's responsibility to generate a unique ID for each item.

Endpoint
POST
{DEPLOYMENT-URI}/v3/items/insert
Body Params
collectionIdstringRequired

ID of the collection in which to insert the items.


itemsArray <object>RequiredminItems 1

Items to insert.

Response Object
resultsArray <DataItemModificationResult>

Response must include either the inserted item or an error.

Request
cURL
Response
JSON
Did this help?