Modify HANA instance
HANA instance modify Get Client ID
Path Parameters
- instanceId string required
HANA instance ID
- application/json
Request Body
instanceProperties object
association object
Responses
- 200
OK
- application/json
- Schema
- Example (from schema)
- Example 1
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
}
}
]
}
POST /instance/:instanceid
Authorization
type: apiKeyname: Authtokenin: header
Request
Request
curl -L -X POST 'https://localhost/commandcenter/api/instance/:instanceId' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"instanceProperties": {
"instance": {
"instanceId": 0,
"applicationId": 135,
"clientId": 0
},
"saphanaInstance": {
"SAPHANAUser": {
"userName": "string"
},
"hdbsqlLocationDirectory": "string",
"DBInstances": [
{
"clientId": 0,
"clientName": "string",
"displayName": "string"
}
],
"dbInstanceNumber": "string",
"dbUser": {
"userName": "string",
"password": "string"
},
"isUsehdbStoreKey": false,
"sslEnabled": false,
"sslProvider": "commoncrypto",
"sslTrustStore": "sapcli.pse"
},
"planEntity": {
"planId": 0
}
},
"association": {
"entity": [
{
"displayName": "string",
"clientId": 0,
"instanceName": "string",
"appName": "SAP HANA",
"applicationId": 135,
"clientName": "string",
"instanceId": 0
}
]
}
}'
curl -L -X POST 'https://localhost/commandcenter/api/instance/:instanceId' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"instanceProperties": {
"instance": {
"instanceId": 0,
"applicationId": 135,
"clientId": 0
},
"saphanaInstance": {
"SAPHANAUser": {
"userName": "string"
},
"hdbsqlLocationDirectory": "string",
"DBInstances": [
{
"clientId": 0,
"clientName": "string",
"displayName": "string"
}
],
"dbInstanceNumber": "string",
"dbUser": {
"userName": "string",
"password": "string"
},
"isUsehdbStoreKey": false,
"sslEnabled": false,
"sslProvider": "commoncrypto",
"sslTrustStore": "sapcli.pse"
},
"planEntity": {
"planId": 0
}
},
"association": {
"entity": [
{
"displayName": "string",
"clientId": 0,
"instanceName": "string",
"appName": "SAP HANA",
"applicationId": 135,
"clientName": "string",
"instanceId": 0
}
]
}
}'
curl -L -X POST 'https://localhost/commandcenter/api/instance/:instanceId' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"instanceProperties": {
"instance": {
"instanceId": 0,
"applicationId": 135,
"clientId": 0
},
"saphanaInstance": {
"SAPHANAUser": {
"userName": "string"
},
"hdbsqlLocationDirectory": "string",
"DBInstances": [
{
"clientId": 0,
"clientName": "string",
"displayName": "string"
}
],
"dbInstanceNumber": "string",
"dbUser": {
"userName": "string",
"password": "string"
},
"isUsehdbStoreKey": false,
"sslEnabled": false,
"sslProvider": "commoncrypto",
"sslTrustStore": "sapcli.pse"
},
"planEntity": {
"planId": 0
}
},
"association": {
"entity": [
{
"displayName": "string",
"clientId": 0,
"instanceName": "string",
"appName": "SAP HANA",
"applicationId": 135,
"clientName": "string",
"instanceId": 0
}
]
}
}'
curl -L -X POST 'https://localhost/commandcenter/api/instance/:instanceId' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"instanceProperties": {
"instance": {
"instanceId": 0,
"applicationId": 135,
"clientId": 0
},
"saphanaInstance": {
"SAPHANAUser": {
"userName": "string"
},
"hdbsqlLocationDirectory": "string",
"DBInstances": [
{
"clientId": 0,
"clientName": "string",
"displayName": "string"
}
],
"dbInstanceNumber": "string",
"dbUser": {
"userName": "string",
"password": "string"
},
"isUsehdbStoreKey": false,
"sslEnabled": false,
"sslProvider": "commoncrypto",
"sslTrustStore": "sapcli.pse"
},
"planEntity": {
"planId": 0
}
},
"association": {
"entity": [
{
"displayName": "string",
"clientId": 0,
"instanceName": "string",
"appName": "SAP HANA",
"applicationId": 135,
"clientName": "string",
"instanceId": 0
}
]
}
}'
curl -L -X POST 'https://localhost/commandcenter/api/instance/:instanceId' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"instanceProperties": {
"instance": {
"instanceId": 0,
"applicationId": 135,
"clientId": 0
},
"saphanaInstance": {
"SAPHANAUser": {
"userName": "string"
},
"hdbsqlLocationDirectory": "string",
"DBInstances": [
{
"clientId": 0,
"clientName": "string",
"displayName": "string"
}
],
"dbInstanceNumber": "string",
"dbUser": {
"userName": "string",
"password": "string"
},
"isUsehdbStoreKey": false,
"sslEnabled": false,
"sslProvider": "commoncrypto",
"sslTrustStore": "sapcli.pse"
},
"planEntity": {
"planId": 0
}
},
"association": {
"entity": [
{
"displayName": "string",
"clientId": 0,
"instanceName": "string",
"appName": "SAP HANA",
"applicationId": 135,
"clientName": "string",
"instanceId": 0
}
]
}
}'
curl -L -X POST 'https://localhost/commandcenter/api/instance/:instanceId' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"instanceProperties": {
"instance": {
"instanceId": 0,
"applicationId": 135,
"clientId": 0
},
"saphanaInstance": {
"SAPHANAUser": {
"userName": "string"
},
"hdbsqlLocationDirectory": "string",
"DBInstances": [
{
"clientId": 0,
"clientName": "string",
"displayName": "string"
}
],
"dbInstanceNumber": "string",
"dbUser": {
"userName": "string",
"password": "string"
},
"isUsehdbStoreKey": false,
"sslEnabled": false,
"sslProvider": "commoncrypto",
"sslTrustStore": "sapcli.pse"
},
"planEntity": {
"planId": 0
}
},
"association": {
"entity": [
{
"displayName": "string",
"clientId": 0,
"instanceName": "string",
"appName": "SAP HANA",
"applicationId": 135,
"clientName": "string",
"instanceId": 0
}
]
}
}'
curl -L -X POST 'https://localhost/commandcenter/api/instance/:instanceId' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"instanceProperties": {
"instance": {
"instanceId": 0,
"applicationId": 135,
"clientId": 0
},
"saphanaInstance": {
"SAPHANAUser": {
"userName": "string"
},
"hdbsqlLocationDirectory": "string",
"DBInstances": [
{
"clientId": 0,
"clientName": "string",
"displayName": "string"
}
],
"dbInstanceNumber": "string",
"dbUser": {
"userName": "string",
"password": "string"
},
"isUsehdbStoreKey": false,
"sslEnabled": false,
"sslProvider": "commoncrypto",
"sslTrustStore": "sapcli.pse"
},
"planEntity": {
"planId": 0
}
},
"association": {
"entity": [
{
"displayName": "string",
"clientId": 0,
"instanceName": "string",
"appName": "SAP HANA",
"applicationId": 135,
"clientName": "string",
"instanceId": 0
}
]
}
}'