Skip to main content

Add PostgreSQL Instance

This operation adds a PostgreSQL Instance in Client

Request Body
  • instanceProperties object
  • instance object
  • instanceId integer
  • instanceName string required

    Name of the Instance to be created

  • applicationId integer required

    Default value: 125

  • clientId integer
  • clientName string required

    Client Name

  • commCellId integer
  • planEntity object
  • planId integer required
  • postGreSQLInstance object
  • MaintainenceDB string required

    Maintenance DB name

  • BinaryDirectory string required

    Binary Directory path

  • LibDirectory string required

    Library Directory path

  • ArchiveLogDirectory string

    Archive log Directory path

  • port string required

    PostgreSQL database server port

  • SAUser object
  • userName string required

    Database User name

  • password string required

    Database password

  • osUser object
  • userName string

    Os Username

  • standbyOptions object
Responses

OK


Schema
  • processinginstructioninfo object
  • attributes object[]
  • name string
  • value string
  • response object
  • warningCode integer
  • errorCode integer
  • warningMessage string
  • entity object
  • subclientId integer
  • clientId integer
  • instanceName string

    Name of the instance created

  • instanceId integer
  • _type_ integer
POST /instance    

Authorization

type: apiKeyname: Authtokenin: header

Request

Click Edit to configure Base URL
https://CommandCenterHostName/commandcenter/api
token
Content-Type
Body

{
"instanceProperties": {
"instance": {
"instanceId": 0,
"instanceName": "string",
"applicationId": 125,
"clientId": 0,
"clientName": "string",
"commCellId": 0
},
"planEntity": {
"planId": 0
},
"postGreSQLInstance": {
"MaintainenceDB": "string",
"BinaryDirectory": "string",
"LibDirectory": "string",
"ArchiveLogDirectory": "string",
"port": "string",
"SAUser": {
"userName": "string",
"password": "string"
},
"osUser": {
"userName": "string"
},
"standbyOptions": {}
}
}
}
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/Instance' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"instanceProperties": {
"instance": {
"instanceId": 0,
"instanceName": "string",
"applicationId": 125,
"clientId": 0,
"clientName": "string",
"commCellId": 0
},
"planEntity": {
"planId": 0
},
"postGreSQLInstance": {
"MaintainenceDB": "string",
"BinaryDirectory": "string",
"LibDirectory": "string",
"ArchiveLogDirectory": "string",
"port": "string",
"SAUser": {
"userName": "string",
"password": "string"
},
"osUser": {
"userName": "string"
},
"standbyOptions": {}
}
}
}'