Update DB2 Backupset Properties
Select
This operation is used to update the DB2 backupset properties
Path Parameters
- BackupsetID integer required
ID of the backupset
- application/json
Request Body
backupsetProperties object required
backupSetEntity object
clientName stringinstanceName stringdisplayName stringbackupsetId integerID of the backupset for which properties needs to be modified
_type_ stringinstanceId integerID of the instance for which backupset belongs to
backupsetGUID stringclientId integerID of the client for which backupset belongs to
appName stringDB2
backupsetName stringapplicationId integerPossible values: [
62
,37
]application ID for DB2 Unix is 62 and application ID for DB2 windows is 37
entityInfo object
companyId integercompanyName stringmultiCommcellId integerdb2BackupSet object
pass this object if you want to connect to DB2 backupset as a different user
db2SqlConnectInfo object
Pass this object if you want to connect to DB2 Backupset as a different user
userName stringUsername of new user
savedCredential objectpassword stringPassword in base64 encoding
useSQLConnect booleanTrue if you want to connect to DB2 backupset as a different user
commonBackupSet object
isDefaultBackupSet booleanplanEntity object
pass this object if you want to update the plan of backupset
planId integerNew plan ID
planName stringPlan name of the new plan
- 200
- 400
- 401
OK
- application/json
- Schema
- Example (from schema)
- Example 1
Schema
processinginstructioninfo object
attributes object[]
name stringvalue stringresponse object[]
errorCode integerentity object
Common backupset properties for which properties have been modified
clientId integerapplicationId integerbackupsetId integer_type_ integer
{
"processinginstructioninfo": {
"attributes": [
{
"name": "string",
"value": "string"
}
]
},
"response": [
{
"errorCode": 0,
"entity": {
"clientId": 0,
"applicationId": 0,
"backupsetId": 0,
"_type_": 0
}
}
]
}
{
"processinginstructioninfo": {
"attributes": [
{
"name": "exitval",
"value": "0"
}
]
},
"response": [
{
"errorCode": 0,
"entity": {
"clientId": 1272,
"applicationId": 62,
"backupsetId": 8684,
"_type_": 0
}
}
]
}
Bad Request
Unauthorized
- application/json
- Schema
- Example (from schema)
- Example 1
Schema
- errorMessage string
- errorCode integer
{
"errorMessage": "string",
"errorCode": 0
}
{
"errorMessage": "Access denied",
"errorCode": 5
}