Create Sybase Subclient
Select
SaaS
Customer Managed
This operation creates a Sybase Subclient for an Instance
- application/json
Request Body
subClientProperties object
Responses
- 200
- 400
- 401
OK
- application/json
- Schema
- Example (from schema)
- Example 1
- Example 2
Schema
processinginstructioninfo object
response object
{
"processinginstructioninfo": {
"attributes": [
{
"name": "string",
"value": "string"
}
]
},
"response": {
"warningCode": 0,
"errorCode": 0,
"warningMessage": "string",
"entity": {
"subclientId": 0,
"_type_": 0
}
}
}
{
"processinginstructioninfo": {
"attributes": [
{
"name": "string",
"value": "string"
}
]
},
"response": {
"warningCode": 0,
"errorCode": 0,
"warningMessage": "string",
"entity": {
"subclientId": 0,
"_type_": 0
}
}
}
{
"processinginstructioninfo": {
"attributes": [
{
"name": "exitval",
"value": "0"
}
]
},
"response": {
"warningCode": 0,
"errorCode": 0,
"warningMessage": "",
"entity": {
"subclientId": 1017,
"_type_": 0
}
}
}
Bad Request
Unauthorized
POST /subclient
Authorization
type: apiKeyname: Authtokenin: header
Request
Request
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/Subclient' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"subClientProperties": {
"subClientEntity": {
"subclientId": -1,
"subclientName": "string",
"instanceId": 0,
"instanceName": "string",
"applicationId": "5 for Sybase",
"appName": "Sybase",
"clientId": 0,
"clientName": "string",
"entityInfo": {
"companyId": 0,
"companyName": "string",
"multiCommcellId": 0
}
},
"commonProperties": {},
"content": [
{
"sybaseContent": {
"databaseId": 0,
"owner": "string",
"databaseName": "string"
}
}
],
"contentOperationType": "ADD",
"sybaseSubclientProp": {
"numberOfBackupStreams": 0,
"numberOfTransactionLogStreams": 0
},
"planEntity": {
"planId": 0
}
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/Subclient' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"subClientProperties": {
"subClientEntity": {
"subclientId": -1,
"subclientName": "string",
"instanceId": 0,
"instanceName": "string",
"applicationId": "5 for Sybase",
"appName": "Sybase",
"clientId": 0,
"clientName": "string",
"entityInfo": {
"companyId": 0,
"companyName": "string",
"multiCommcellId": 0
}
},
"commonProperties": {},
"content": [
{
"sybaseContent": {
"databaseId": 0,
"owner": "string",
"databaseName": "string"
}
}
],
"contentOperationType": "ADD",
"sybaseSubclientProp": {
"numberOfBackupStreams": 0,
"numberOfTransactionLogStreams": 0
},
"planEntity": {
"planId": 0
}
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/Subclient' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"subClientProperties": {
"subClientEntity": {
"subclientId": -1,
"subclientName": "string",
"instanceId": 0,
"instanceName": "string",
"applicationId": "5 for Sybase",
"appName": "Sybase",
"clientId": 0,
"clientName": "string",
"entityInfo": {
"companyId": 0,
"companyName": "string",
"multiCommcellId": 0
}
},
"commonProperties": {},
"content": [
{
"sybaseContent": {
"databaseId": 0,
"owner": "string",
"databaseName": "string"
}
}
],
"contentOperationType": "ADD",
"sybaseSubclientProp": {
"numberOfBackupStreams": 0,
"numberOfTransactionLogStreams": 0
},
"planEntity": {
"planId": 0
}
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/Subclient' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"subClientProperties": {
"subClientEntity": {
"subclientId": -1,
"subclientName": "string",
"instanceId": 0,
"instanceName": "string",
"applicationId": "5 for Sybase",
"appName": "Sybase",
"clientId": 0,
"clientName": "string",
"entityInfo": {
"companyId": 0,
"companyName": "string",
"multiCommcellId": 0
}
},
"commonProperties": {},
"content": [
{
"sybaseContent": {
"databaseId": 0,
"owner": "string",
"databaseName": "string"
}
}
],
"contentOperationType": "ADD",
"sybaseSubclientProp": {
"numberOfBackupStreams": 0,
"numberOfTransactionLogStreams": 0
},
"planEntity": {
"planId": 0
}
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/Subclient' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"subClientProperties": {
"subClientEntity": {
"subclientId": -1,
"subclientName": "string",
"instanceId": 0,
"instanceName": "string",
"applicationId": "5 for Sybase",
"appName": "Sybase",
"clientId": 0,
"clientName": "string",
"entityInfo": {
"companyId": 0,
"companyName": "string",
"multiCommcellId": 0
}
},
"commonProperties": {},
"content": [
{
"sybaseContent": {
"databaseId": 0,
"owner": "string",
"databaseName": "string"
}
}
],
"contentOperationType": "ADD",
"sybaseSubclientProp": {
"numberOfBackupStreams": 0,
"numberOfTransactionLogStreams": 0
},
"planEntity": {
"planId": 0
}
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/Subclient' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"subClientProperties": {
"subClientEntity": {
"subclientId": -1,
"subclientName": "string",
"instanceId": 0,
"instanceName": "string",
"applicationId": "5 for Sybase",
"appName": "Sybase",
"clientId": 0,
"clientName": "string",
"entityInfo": {
"companyId": 0,
"companyName": "string",
"multiCommcellId": 0
}
},
"commonProperties": {},
"content": [
{
"sybaseContent": {
"databaseId": 0,
"owner": "string",
"databaseName": "string"
}
}
],
"contentOperationType": "ADD",
"sybaseSubclientProp": {
"numberOfBackupStreams": 0,
"numberOfTransactionLogStreams": 0
},
"planEntity": {
"planId": 0
}
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/Subclient' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"subClientProperties": {
"subClientEntity": {
"subclientId": -1,
"subclientName": "string",
"instanceId": 0,
"instanceName": "string",
"applicationId": "5 for Sybase",
"appName": "Sybase",
"clientId": 0,
"clientName": "string",
"entityInfo": {
"companyId": 0,
"companyName": "string",
"multiCommcellId": 0
}
},
"commonProperties": {},
"content": [
{
"sybaseContent": {
"databaseId": 0,
"owner": "string",
"databaseName": "string"
}
}
],
"contentOperationType": "ADD",
"sybaseSubclientProp": {
"numberOfBackupStreams": 0,
"numberOfTransactionLogStreams": 0
},
"planEntity": {
"planId": 0
}
}
}'