Creating PostgreSQL Cluster Client
This operation is used to create PostgreSQL cluster clients
- application/json
Request Body
clientInfo object
entity object
Responses
- 200
- 409
OK
- application/json
- Schema
- Example (from schema)
- Client creation Success
Schema
processinginstructioninfo object
response object
{
"processinginstructioninfo": {
"attributes": [
{
"name": "string",
"value": "string"
}
]
},
"response": {
"errorCode": 0,
"entity": {
"clientId": 0,
"clientName": "string",
"_type_": 0
}
}
}
{
"processinginstructioninfo": {
"attributes": [
{
"name": "string",
"value": "string"
}
]
},
"response": {
"errorCode": 0,
"entity": {
"clientId": 0,
"clientName": "string",
"_type_": 0
}
}
}
Conflict
- application/json
- Schema
- Example (from schema)
- When the client name already exists
Schema
- errorMessage string
- errorCode integer
{
"errorMessage": "string",
"errorCode": 0
}
{
"errorMessage": "Duplicate entry.Client [GK_CLUSTER] already exists. Try with different Client name.",
"errorCode": 3
}
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": 43,
"dbClusterProperties": {
"appType": {
"applicationId": 125
}
},
"plan": {
"planName": "string"
}
},
"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": 43,
"dbClusterProperties": {
"appType": {
"applicationId": 125
}
},
"plan": {
"planName": "string"
}
},
"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": 43,
"dbClusterProperties": {
"appType": {
"applicationId": 125
}
},
"plan": {
"planName": "string"
}
},
"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": 43,
"dbClusterProperties": {
"appType": {
"applicationId": 125
}
},
"plan": {
"planName": "string"
}
},
"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": 43,
"dbClusterProperties": {
"appType": {
"applicationId": 125
}
},
"plan": {
"planName": "string"
}
},
"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": 43,
"dbClusterProperties": {
"appType": {
"applicationId": 125
}
},
"plan": {
"planName": "string"
}
},
"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": 43,
"dbClusterProperties": {
"appType": {
"applicationId": 125
}
},
"plan": {
"planName": "string"
}
},
"entity": {
"clientName": "string"
}
}'