Add Informix Instance
This operation adds a Informix Instance in Client
- application/json
Request Body
instance object
instanceId integerinstanceName string requiredName of the instance
applicationId integer requiredDefault value:
3
Application ID
clientId integerclientName stringName of the client
commCellId integerplanEntity object
planId integerPlan ID to be associated to the Instance
informixInstance object
informixUser object
userName string requiredInformix user name
informixDir string requiredInformix ho
onConfigFile string requiredonconfig file name
sqlHostfile string requiredSQLHOSTS file path
informixStorageDevice object
dataBackupStoragePolicy object
storagePolicyId integercommandLineStoragePolicy object
storagePolicyId integerlogBackupStoragePolicy object
storagePolicyId integer
Responses
- 200
- 400
- 401
- 409
- 500
OK
- application/json
- Schema
- Example (from schema)
- Example
Schema
processinginstructioninfo object
attributes object[]
name stringvalue stringresponse object
warningCode integererrorCode integerwarningMessage stringentity object
subclientId integerclientId integerinstanceName stringName of the instance created
instanceId integer_type_ integer
{
"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": 6,
"instanceName": "ol_informix1210",
"instanceId": 6933,
"_type_": 0
}
}
}
Bad Request
Response Headers
- 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
}
Conflict
- application/json
- Schema
- Example (from schema)
- Example 2
Schema
- errorMessage string
- errorCode integer
entity object
subclientId integerclientId integerinstanceName stringinstanceId integer_type_ integer
{
"errorMessage": "string",
"errorCode": 0,
"entity": {
"subclientId": 0,
"clientId": 0,
"instanceName": "string",
"instanceId": 0,
"_type_": 0
}
}
{
"errorMessage": "An instance by this name already exists.",
"errorCode": 3,
"entity": {
"subclientId": 0,
"clientId": 5,
"instanceName": "ol_informix1210",
"instanceId": -1,
"_type_": 0
}
}
Internal Server Error
- application/json
- Schema
- Example (from schema)
- Invalid information
Schema
- errorMessage string
- errorCode integer
entity object
subclientId integerclientId integerinstanceName stringinstanceId integer_type_ integer
{
"errorMessage": "string",
"errorCode": 0,
"entity": {
"subclientId": 0,
"clientId": 0,
"instanceName": "string",
"instanceId": 0,
"_type_": 0
}
}
{
"errorMessage": "Not a valid Informix Home Directory - Please Re-enter.",
"errorCode": 1,
"entity": {
"subclientId": 0,
"clientId": 6,
"instanceName": "ol_informix1210",
"instanceId": 6996,
"_type_": 0
}
}
Loading...