Insert Document
PUT
/mongodb/collections/{collectionName}/documents
Insert one Document in given Collection
Authorizations
httpAuth
Type
HTTP (bearer)
or
httpAuth1
Type
HTTP (basic)
or
apiKeyAuth
Type
API Key (header: X-AUTH-APIKEY)
Parameters
Path Parameters
collectionName*
The name of your MongoDb Collection
Type
Requiredstring
Request Body
application/json
JSON "additionalProperties": null
{
}
Responses
application/json
JSON "wasAcknowledged": true, "insertedIds": [ "string" ], "insertedCount": 0, "errors": [ { "index": 0, "code": 0, "message": "string" } ]
{
}
