Modify Informix Instance
This operation is used to modify Informix instance property
Path Parameters
- instanceId integer required
InstanceId of the Informix Instance
- application/json
Request Body
instanceProperties object
Responses
- 200
- 400
- 401
- 403
- 500
OK
- application/json
- Schema
- Example (from schema)
- Example
Schema
processinginstructioninfo object
response object[]
{
"processinginstructioninfo": {
"attributes": [
{
"name": "string",
"value": "string"
}
]
},
"response": [
{
"warningCode": 0,
"errorCode": 0,
"warningMessage": "string",
"entity": {
"subclientId": 0,
"clientId": 0,
"instanceName": "string",
"instanceId": 0,
"_type_": 0
}
}
]
}
{
"processinginstructioninfo": {
"attributes": [
{
"name": "exitval",
"value": "0"
}
]
},
"response": [
{
"warningCode": 0,
"errorCode": 0,
"warningMessage": "",
"entity": {
"subclientId": 0,
"clientId": 0,
"instanceName": "",
"instanceId": 0,
"_type_": 0
}
}
]
}
Bad Request
- application/json
- Schema
- Example
Schema
- string
Request body is empty or format is invalid.
Unauthorized
- application/json
- Schema
- Example (from schema)
- Example
Schema
- errorMessage string
- errorCode integer
{
"errorMessage": "string",
"errorCode": 0
}
{
"errorMessage": "Access Denied",
"errorCode": 5
}
Forbidden
- application/json
- Schema
- Example (from schema)
- Example 2
Schema
- errorMessage string
- errorCode integer
{
"errorMessage": "string",
"errorCode": 0
}
{
"errorMessage": "User does not have permission on the entity.",
"errorCode": 587205847
}
Internal Server Error
- application/json
- Schema
- Example (from schema)
- Example
Schema
- errorMessage string
- errorCode integer
{
"errorMessage": "string",
"errorCode": 0
}
{
"errorMessage": "Failed to update properties because jobs are in progress for the Instance",
"errorCode": 1
}
POST /instance/:instanceid
Authorization
type: apiKeyname: Authtokenin: header
Request
Request
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/instance/:instanceId' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"instanceProperties": {
"instance": {
"instanceId": 0,
"instanceName": "string",
"applicationId": 3,
"clientId": 0,
"clientName": "string",
"commCellId": 0
},
"planEntity": {
"planId": 0
},
"informixInstance": {
"informixUser": {
"userName": "string"
},
"informixDir": "string",
"onConfigFile": "string",
"sqlHostfile": "string"
}
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/instance/:instanceId' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"instanceProperties": {
"instance": {
"instanceId": 0,
"instanceName": "string",
"applicationId": 3,
"clientId": 0,
"clientName": "string",
"commCellId": 0
},
"planEntity": {
"planId": 0
},
"informixInstance": {
"informixUser": {
"userName": "string"
},
"informixDir": "string",
"onConfigFile": "string",
"sqlHostfile": "string"
}
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/instance/:instanceId' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"instanceProperties": {
"instance": {
"instanceId": 0,
"instanceName": "string",
"applicationId": 3,
"clientId": 0,
"clientName": "string",
"commCellId": 0
},
"planEntity": {
"planId": 0
},
"informixInstance": {
"informixUser": {
"userName": "string"
},
"informixDir": "string",
"onConfigFile": "string",
"sqlHostfile": "string"
}
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/instance/:instanceId' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"instanceProperties": {
"instance": {
"instanceId": 0,
"instanceName": "string",
"applicationId": 3,
"clientId": 0,
"clientName": "string",
"commCellId": 0
},
"planEntity": {
"planId": 0
},
"informixInstance": {
"informixUser": {
"userName": "string"
},
"informixDir": "string",
"onConfigFile": "string",
"sqlHostfile": "string"
}
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/instance/:instanceId' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"instanceProperties": {
"instance": {
"instanceId": 0,
"instanceName": "string",
"applicationId": 3,
"clientId": 0,
"clientName": "string",
"commCellId": 0
},
"planEntity": {
"planId": 0
},
"informixInstance": {
"informixUser": {
"userName": "string"
},
"informixDir": "string",
"onConfigFile": "string",
"sqlHostfile": "string"
}
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/instance/:instanceId' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"instanceProperties": {
"instance": {
"instanceId": 0,
"instanceName": "string",
"applicationId": 3,
"clientId": 0,
"clientName": "string",
"commCellId": 0
},
"planEntity": {
"planId": 0
},
"informixInstance": {
"informixUser": {
"userName": "string"
},
"informixDir": "string",
"onConfigFile": "string",
"sqlHostfile": "string"
}
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/instance/:instanceId' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"instanceProperties": {
"instance": {
"instanceId": 0,
"instanceName": "string",
"applicationId": 3,
"clientId": 0,
"clientName": "string",
"commCellId": 0
},
"planEntity": {
"planId": 0
},
"informixInstance": {
"informixUser": {
"userName": "string"
},
"informixDir": "string",
"onConfigFile": "string",
"sqlHostfile": "string"
}
}
}'