Create a MongoDB instance
Select
SaaS
Customer Managed
This operation is used to create a MongoDB instance.
- application/json
Request Body
clientInfo object
entity object
Responses
- 200
- 400
- 401
OK
- application/json
- Schema
- Example (from schema)
- Example
Schema
response object
{
"response": {
"errorCode": 0,
"entity": {
"clientId": 0,
"clientName": "string",
"instanceId": 0,
"_type_": 0
}
}
}
{
"response": {
"errorCode": 0,
"entity": {
"clientId": 825,
"clientName": "MongoDBInstance",
"instanceId": 723,
"_type_": 3
}
}
}
Bad Request
- application/json
- Schema
- Example
Schema
- string
Request body is empty or format is invalid
Unauthorized
- application/json
- Schema
- Example (from schema)
- Example
Schema
- errorMessage string
- errorCode integer
{
"errorMessage": "string",
"errorCode": 0
}
{
"errorMessage": "Access Denied",
"errorCode": 5
}
POST /pseudoclient
Authorization
type: apiKeyname: Authtokenin: header
Request
Request
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/pseudoClient' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"clientInfo": {
"clientType": "DISTRIBUTED_IDA",
"distributedClusterInstanceProperties": {
"instance": {
"instanceId": 0,
"instanceName": "string",
"applicationId": 64,
"clientName": "string"
},
"opType": "SET",
"clusterType": "MONGODB",
"clusterConfig": {
"mdbConfig": {
"adminUser": {
"userName": "string",
"password": "string"
},
"masterNode": {
"client": {
"clientId": 0,
"clientName": "string"
},
"hostName": "string",
"portNumber": 0,
"osUser": "string",
"binPath": "string"
}
}
}
},
"plan": {
"planId": 0,
"planName": "string",
"planType": 0,
"planSubtype": 0,
"planSummary": "string",
"entityInfo": {
"companyId": 0,
"companyName": "string",
"multiCommcellId": 0
}
}
},
"entity": {
"clientName": "string"
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/pseudoClient' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"clientInfo": {
"clientType": "DISTRIBUTED_IDA",
"distributedClusterInstanceProperties": {
"instance": {
"instanceId": 0,
"instanceName": "string",
"applicationId": 64,
"clientName": "string"
},
"opType": "SET",
"clusterType": "MONGODB",
"clusterConfig": {
"mdbConfig": {
"adminUser": {
"userName": "string",
"password": "string"
},
"masterNode": {
"client": {
"clientId": 0,
"clientName": "string"
},
"hostName": "string",
"portNumber": 0,
"osUser": "string",
"binPath": "string"
}
}
}
},
"plan": {
"planId": 0,
"planName": "string",
"planType": 0,
"planSubtype": 0,
"planSummary": "string",
"entityInfo": {
"companyId": 0,
"companyName": "string",
"multiCommcellId": 0
}
}
},
"entity": {
"clientName": "string"
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/pseudoClient' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"clientInfo": {
"clientType": "DISTRIBUTED_IDA",
"distributedClusterInstanceProperties": {
"instance": {
"instanceId": 0,
"instanceName": "string",
"applicationId": 64,
"clientName": "string"
},
"opType": "SET",
"clusterType": "MONGODB",
"clusterConfig": {
"mdbConfig": {
"adminUser": {
"userName": "string",
"password": "string"
},
"masterNode": {
"client": {
"clientId": 0,
"clientName": "string"
},
"hostName": "string",
"portNumber": 0,
"osUser": "string",
"binPath": "string"
}
}
}
},
"plan": {
"planId": 0,
"planName": "string",
"planType": 0,
"planSubtype": 0,
"planSummary": "string",
"entityInfo": {
"companyId": 0,
"companyName": "string",
"multiCommcellId": 0
}
}
},
"entity": {
"clientName": "string"
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/pseudoClient' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"clientInfo": {
"clientType": "DISTRIBUTED_IDA",
"distributedClusterInstanceProperties": {
"instance": {
"instanceId": 0,
"instanceName": "string",
"applicationId": 64,
"clientName": "string"
},
"opType": "SET",
"clusterType": "MONGODB",
"clusterConfig": {
"mdbConfig": {
"adminUser": {
"userName": "string",
"password": "string"
},
"masterNode": {
"client": {
"clientId": 0,
"clientName": "string"
},
"hostName": "string",
"portNumber": 0,
"osUser": "string",
"binPath": "string"
}
}
}
},
"plan": {
"planId": 0,
"planName": "string",
"planType": 0,
"planSubtype": 0,
"planSummary": "string",
"entityInfo": {
"companyId": 0,
"companyName": "string",
"multiCommcellId": 0
}
}
},
"entity": {
"clientName": "string"
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/pseudoClient' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"clientInfo": {
"clientType": "DISTRIBUTED_IDA",
"distributedClusterInstanceProperties": {
"instance": {
"instanceId": 0,
"instanceName": "string",
"applicationId": 64,
"clientName": "string"
},
"opType": "SET",
"clusterType": "MONGODB",
"clusterConfig": {
"mdbConfig": {
"adminUser": {
"userName": "string",
"password": "string"
},
"masterNode": {
"client": {
"clientId": 0,
"clientName": "string"
},
"hostName": "string",
"portNumber": 0,
"osUser": "string",
"binPath": "string"
}
}
}
},
"plan": {
"planId": 0,
"planName": "string",
"planType": 0,
"planSubtype": 0,
"planSummary": "string",
"entityInfo": {
"companyId": 0,
"companyName": "string",
"multiCommcellId": 0
}
}
},
"entity": {
"clientName": "string"
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/pseudoClient' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"clientInfo": {
"clientType": "DISTRIBUTED_IDA",
"distributedClusterInstanceProperties": {
"instance": {
"instanceId": 0,
"instanceName": "string",
"applicationId": 64,
"clientName": "string"
},
"opType": "SET",
"clusterType": "MONGODB",
"clusterConfig": {
"mdbConfig": {
"adminUser": {
"userName": "string",
"password": "string"
},
"masterNode": {
"client": {
"clientId": 0,
"clientName": "string"
},
"hostName": "string",
"portNumber": 0,
"osUser": "string",
"binPath": "string"
}
}
}
},
"plan": {
"planId": 0,
"planName": "string",
"planType": 0,
"planSubtype": 0,
"planSummary": "string",
"entityInfo": {
"companyId": 0,
"companyName": "string",
"multiCommcellId": 0
}
}
},
"entity": {
"clientName": "string"
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/pseudoClient' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"clientInfo": {
"clientType": "DISTRIBUTED_IDA",
"distributedClusterInstanceProperties": {
"instance": {
"instanceId": 0,
"instanceName": "string",
"applicationId": 64,
"clientName": "string"
},
"opType": "SET",
"clusterType": "MONGODB",
"clusterConfig": {
"mdbConfig": {
"adminUser": {
"userName": "string",
"password": "string"
},
"masterNode": {
"client": {
"clientId": 0,
"clientName": "string"
},
"hostName": "string",
"portNumber": 0,
"osUser": "string",
"binPath": "string"
}
}
}
},
"plan": {
"planId": 0,
"planName": "string",
"planType": 0,
"planSubtype": 0,
"planSummary": "string",
"entityInfo": {
"companyId": 0,
"companyName": "string",
"multiCommcellId": 0
}
}
},
"entity": {
"clientName": "string"
}
}'