POST V2/Mongo/Insert

Request Information

URI Parameters

None.

Body Parameters

ConnModel
NameDescriptionTypeAdditional information
key

string

None.

db

string

None.

tb

string

None.

col

string

None.

Request Formats

application/json, text/json

Sample:
{
  "key": "sample string 1",
  "db": "sample string 2",
  "tb": "sample string 3",
  "col": "sample string 4"
}

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'ConnModel'.

Response Information

Resource Description

SystemResult
NameDescriptionTypeAdditional information
Succeeded

boolean

None.

Message

string

None.

ReturnValue

Object

None.

Code

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "Succeeded": true,
  "Message": "sample string 2",
  "ReturnValue": {},
  "Code": 4
}