Create Salesforce Organization
Select
SaaS
Customer Managed
This operation is used to create Salesforce organization
- application/json
Request Body
- organizationName string required
Name of the Organization
plan object
accessNodes object[]
salesforceAccount object
- downloadCachePath string required
Download cache path
syncDatabase object
- useResourcePoolInfo boolean
Default value:
false
Use Resource Pool linked with Plan
Responses
- 200
- 400
- 401
- 409
OK
- application/json
- Schema
- Example (from schema)
Schema
processinginstructioninfo object
response object
{
"processinginstructioninfo": {
"attributes": [
{
"name": "string",
"value": "string"
}
]
},
"response": {
"errorCode": 0,
"entity": {
"clientId": 0,
"clientName": "string",
"_type_": 0
}
}
}
Bad Request
Unauthorized
Conflict
- application/json
- Schema
- Example (from schema)
Schema
- errorMessage string
- errorCode integer
{
"errorMessage": "string",
"errorCode": 0
}
POST /salesforce/organization
Authorization
type: apiKeyname: Authtokenin: header
Request
Request
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/Salesforce/Organization' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"organizationName": "string",
"plan": {
"planName": "string",
"planId": 0,
"entityInfo": {
"companyId": 0,
"companyName": "Commcell",
"multiCommcellId": 0
}
},
"accessNodes": [
{
"client": {
"clientId": 0,
"clientName": "string",
"_type_": 0,
"clientGroupName": "string",
"clientGroupId": 0
}
}
],
"salesforceAccount": {
"environmentType": 1,
"authenticationType": 0,
"userCredentials": {
"userName": "string",
"password": "string"
},
"consumerId": "string",
"consumerSecret": "string",
"endpoint": "\"https://login.salesforce.com\", \"https://test.salesforce.com\"",
"token": "string"
},
"downloadCachePath": "/tmp",
"syncDatabase": {
"dbEnabled": true,
"dbType": "SQLServer-\"2\", PostgreSQL-\"3\"",
"dbHost": "string",
"dbPort": "string",
"dbName": "string",
"dbUserPassword": {
"userName": "string",
"password": "string"
},
"dbInstance": "string"
},
"useResourcePoolInfo": false
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/Salesforce/Organization' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"organizationName": "string",
"plan": {
"planName": "string",
"planId": 0,
"entityInfo": {
"companyId": 0,
"companyName": "Commcell",
"multiCommcellId": 0
}
},
"accessNodes": [
{
"client": {
"clientId": 0,
"clientName": "string",
"_type_": 0,
"clientGroupName": "string",
"clientGroupId": 0
}
}
],
"salesforceAccount": {
"environmentType": 1,
"authenticationType": 0,
"userCredentials": {
"userName": "string",
"password": "string"
},
"consumerId": "string",
"consumerSecret": "string",
"endpoint": "\"https://login.salesforce.com\", \"https://test.salesforce.com\"",
"token": "string"
},
"downloadCachePath": "/tmp",
"syncDatabase": {
"dbEnabled": true,
"dbType": "SQLServer-\"2\", PostgreSQL-\"3\"",
"dbHost": "string",
"dbPort": "string",
"dbName": "string",
"dbUserPassword": {
"userName": "string",
"password": "string"
},
"dbInstance": "string"
},
"useResourcePoolInfo": false
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/Salesforce/Organization' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"organizationName": "string",
"plan": {
"planName": "string",
"planId": 0,
"entityInfo": {
"companyId": 0,
"companyName": "Commcell",
"multiCommcellId": 0
}
},
"accessNodes": [
{
"client": {
"clientId": 0,
"clientName": "string",
"_type_": 0,
"clientGroupName": "string",
"clientGroupId": 0
}
}
],
"salesforceAccount": {
"environmentType": 1,
"authenticationType": 0,
"userCredentials": {
"userName": "string",
"password": "string"
},
"consumerId": "string",
"consumerSecret": "string",
"endpoint": "\"https://login.salesforce.com\", \"https://test.salesforce.com\"",
"token": "string"
},
"downloadCachePath": "/tmp",
"syncDatabase": {
"dbEnabled": true,
"dbType": "SQLServer-\"2\", PostgreSQL-\"3\"",
"dbHost": "string",
"dbPort": "string",
"dbName": "string",
"dbUserPassword": {
"userName": "string",
"password": "string"
},
"dbInstance": "string"
},
"useResourcePoolInfo": false
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/Salesforce/Organization' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"organizationName": "string",
"plan": {
"planName": "string",
"planId": 0,
"entityInfo": {
"companyId": 0,
"companyName": "Commcell",
"multiCommcellId": 0
}
},
"accessNodes": [
{
"client": {
"clientId": 0,
"clientName": "string",
"_type_": 0,
"clientGroupName": "string",
"clientGroupId": 0
}
}
],
"salesforceAccount": {
"environmentType": 1,
"authenticationType": 0,
"userCredentials": {
"userName": "string",
"password": "string"
},
"consumerId": "string",
"consumerSecret": "string",
"endpoint": "\"https://login.salesforce.com\", \"https://test.salesforce.com\"",
"token": "string"
},
"downloadCachePath": "/tmp",
"syncDatabase": {
"dbEnabled": true,
"dbType": "SQLServer-\"2\", PostgreSQL-\"3\"",
"dbHost": "string",
"dbPort": "string",
"dbName": "string",
"dbUserPassword": {
"userName": "string",
"password": "string"
},
"dbInstance": "string"
},
"useResourcePoolInfo": false
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/Salesforce/Organization' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"organizationName": "string",
"plan": {
"planName": "string",
"planId": 0,
"entityInfo": {
"companyId": 0,
"companyName": "Commcell",
"multiCommcellId": 0
}
},
"accessNodes": [
{
"client": {
"clientId": 0,
"clientName": "string",
"_type_": 0,
"clientGroupName": "string",
"clientGroupId": 0
}
}
],
"salesforceAccount": {
"environmentType": 1,
"authenticationType": 0,
"userCredentials": {
"userName": "string",
"password": "string"
},
"consumerId": "string",
"consumerSecret": "string",
"endpoint": "\"https://login.salesforce.com\", \"https://test.salesforce.com\"",
"token": "string"
},
"downloadCachePath": "/tmp",
"syncDatabase": {
"dbEnabled": true,
"dbType": "SQLServer-\"2\", PostgreSQL-\"3\"",
"dbHost": "string",
"dbPort": "string",
"dbName": "string",
"dbUserPassword": {
"userName": "string",
"password": "string"
},
"dbInstance": "string"
},
"useResourcePoolInfo": false
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/Salesforce/Organization' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"organizationName": "string",
"plan": {
"planName": "string",
"planId": 0,
"entityInfo": {
"companyId": 0,
"companyName": "Commcell",
"multiCommcellId": 0
}
},
"accessNodes": [
{
"client": {
"clientId": 0,
"clientName": "string",
"_type_": 0,
"clientGroupName": "string",
"clientGroupId": 0
}
}
],
"salesforceAccount": {
"environmentType": 1,
"authenticationType": 0,
"userCredentials": {
"userName": "string",
"password": "string"
},
"consumerId": "string",
"consumerSecret": "string",
"endpoint": "\"https://login.salesforce.com\", \"https://test.salesforce.com\"",
"token": "string"
},
"downloadCachePath": "/tmp",
"syncDatabase": {
"dbEnabled": true,
"dbType": "SQLServer-\"2\", PostgreSQL-\"3\"",
"dbHost": "string",
"dbPort": "string",
"dbName": "string",
"dbUserPassword": {
"userName": "string",
"password": "string"
},
"dbInstance": "string"
},
"useResourcePoolInfo": false
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/Salesforce/Organization' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"organizationName": "string",
"plan": {
"planName": "string",
"planId": 0,
"entityInfo": {
"companyId": 0,
"companyName": "Commcell",
"multiCommcellId": 0
}
},
"accessNodes": [
{
"client": {
"clientId": 0,
"clientName": "string",
"_type_": 0,
"clientGroupName": "string",
"clientGroupId": 0
}
}
],
"salesforceAccount": {
"environmentType": 1,
"authenticationType": 0,
"userCredentials": {
"userName": "string",
"password": "string"
},
"consumerId": "string",
"consumerSecret": "string",
"endpoint": "\"https://login.salesforce.com\", \"https://test.salesforce.com\"",
"token": "string"
},
"downloadCachePath": "/tmp",
"syncDatabase": {
"dbEnabled": true,
"dbType": "SQLServer-\"2\", PostgreSQL-\"3\"",
"dbHost": "string",
"dbPort": "string",
"dbName": "string",
"dbUserPassword": {
"userName": "string",
"password": "string"
},
"dbInstance": "string"
},
"useResourcePoolInfo": false
}'