Create Pseudo Client
Select
SaaS
Customer Managed
This operation is used to create a Pseudo Client for DB2 Multinode environment
- application/json
Request Body
clientInfo object required
entity object required
Responses
- 200
- 401
- 409
- 500
OK
- application/json
- Schema
- Example (from schema)
- Example 1
Schema
processinginstructioninfo object
response object
{
"processinginstructioninfo": {
"attributes": [
{
"name": "string",
"value": "string"
}
]
},
"response": {
"errorCode": 0,
"entity": {
"clientId": 0,
"clientName": "string",
"_type_": 0
}
}
}
{
"processinginstructioninfo": {
"attributes": [
{
"name": "exitval",
"value": "0"
}
]
},
"response": {
"errorCode": 0,
"entity": {
"clientId": 1483,
"clientName": "vikramdpf",
"_type_": 3
}
}
}
Unauthorized
- application/json
- Schema
- Example (from schema)
- Example 1
Schema
- errorMessage string
- errorCode integer
{
"errorMessage": "string",
"errorCode": 0
}
{
"errorMessage": "Access denied",
"errorCode": 5
}
Conflict
- application/json
- Schema
- Example (from schema)
- Example 1
Schema
- errorMessage string
- errorCode integer
{
"errorMessage": "string",
"errorCode": 0
}
{
"errorMessage": "Duplicate entry.Client [vikrampseudo] already exists. Try with different Client name.",
"errorCode": 3
}
Internal Server Error
- application/json
- Schema
- Example (from schema)
- Example 1
Schema
- errorMessage string
- errorCode integer
{
"errorMessage": "string",
"errorCode": 0
}
{
"errorMessage": "XML error: please refer to logs for more details.",
"errorCode": 1
}
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": 4,
"plan": {
"planName": "string",
"planId": 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": 4,
"plan": {
"planName": "string",
"planId": 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": 4,
"plan": {
"planName": "string",
"planId": 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": 4,
"plan": {
"planName": "string",
"planId": 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": 4,
"plan": {
"planName": "string",
"planId": 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": 4,
"plan": {
"planName": "string",
"planId": 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": 4,
"plan": {
"planName": "string",
"planId": 0
}
},
"entity": {
"clientName": "string"
}
}'