Add SAP HANA instance
SAP HANA Instance creation. Get Client ID
- application/json
Request Body
instanceProperties object
Responses
- 200
- 400
- 401
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": "string",
"value": "string"
}
]
},
"response": {
"warningCode": 0,
"errorCode": 0,
"warningMessage": "string",
"entity": {
"subclientId": 0,
"clientId": 0,
"instanceName": "string",
"instanceId": 0,
"_type_": 0
}
}
}
Bad Request
- application/json
- Schema
- Example 1
Schema
- string
Request body is empty or format is invalid
Unauthorized
- application/json
- Schema
- Example (from schema)
- Example 1
Schema
- errorMessage string
- errorCode integer
{
"errorMessage": "string",
"errorCode": 0
}
{
"errorMessage": "Access Denied",
"errorCode": 5
}
POST /instance
Authorization
type: apiKeyname: Authtokenin: header
Request
Request
curl -L -X POST 'https://localhost/commandcenter/api/Instance' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"instanceProperties": {
"instance": {
"instanceName": "string",
"applicationId": 135,
"clientId": 0,
"clientName": "string",
"commCellId": 2
},
"saphanaInstance": {
"SAPHANAUser": {
"userName": "string"
},
"hdbsqlLocationDirectory": "string",
"DBInstances": [
{
"clientId": 0,
"clientName": "string",
"displayName": "string"
}
],
"dbInstanceNumber": 0,
"dbUser": {
"userName": "string",
"password": "string"
},
"isUsehdbStoreKey": "string",
"sslEnabled": false,
"sslProvider": "commoncrypto",
"sslTrustStore": "sapcli.pse"
},
"planEntity": {
"planId": 0
}
}
}'
curl -L -X POST 'https://localhost/commandcenter/api/Instance' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"instanceProperties": {
"instance": {
"instanceName": "string",
"applicationId": 135,
"clientId": 0,
"clientName": "string",
"commCellId": 2
},
"saphanaInstance": {
"SAPHANAUser": {
"userName": "string"
},
"hdbsqlLocationDirectory": "string",
"DBInstances": [
{
"clientId": 0,
"clientName": "string",
"displayName": "string"
}
],
"dbInstanceNumber": 0,
"dbUser": {
"userName": "string",
"password": "string"
},
"isUsehdbStoreKey": "string",
"sslEnabled": false,
"sslProvider": "commoncrypto",
"sslTrustStore": "sapcli.pse"
},
"planEntity": {
"planId": 0
}
}
}'
curl -L -X POST 'https://localhost/commandcenter/api/Instance' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"instanceProperties": {
"instance": {
"instanceName": "string",
"applicationId": 135,
"clientId": 0,
"clientName": "string",
"commCellId": 2
},
"saphanaInstance": {
"SAPHANAUser": {
"userName": "string"
},
"hdbsqlLocationDirectory": "string",
"DBInstances": [
{
"clientId": 0,
"clientName": "string",
"displayName": "string"
}
],
"dbInstanceNumber": 0,
"dbUser": {
"userName": "string",
"password": "string"
},
"isUsehdbStoreKey": "string",
"sslEnabled": false,
"sslProvider": "commoncrypto",
"sslTrustStore": "sapcli.pse"
},
"planEntity": {
"planId": 0
}
}
}'
curl -L -X POST 'https://localhost/commandcenter/api/Instance' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"instanceProperties": {
"instance": {
"instanceName": "string",
"applicationId": 135,
"clientId": 0,
"clientName": "string",
"commCellId": 2
},
"saphanaInstance": {
"SAPHANAUser": {
"userName": "string"
},
"hdbsqlLocationDirectory": "string",
"DBInstances": [
{
"clientId": 0,
"clientName": "string",
"displayName": "string"
}
],
"dbInstanceNumber": 0,
"dbUser": {
"userName": "string",
"password": "string"
},
"isUsehdbStoreKey": "string",
"sslEnabled": false,
"sslProvider": "commoncrypto",
"sslTrustStore": "sapcli.pse"
},
"planEntity": {
"planId": 0
}
}
}'
curl -L -X POST 'https://localhost/commandcenter/api/Instance' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"instanceProperties": {
"instance": {
"instanceName": "string",
"applicationId": 135,
"clientId": 0,
"clientName": "string",
"commCellId": 2
},
"saphanaInstance": {
"SAPHANAUser": {
"userName": "string"
},
"hdbsqlLocationDirectory": "string",
"DBInstances": [
{
"clientId": 0,
"clientName": "string",
"displayName": "string"
}
],
"dbInstanceNumber": 0,
"dbUser": {
"userName": "string",
"password": "string"
},
"isUsehdbStoreKey": "string",
"sslEnabled": false,
"sslProvider": "commoncrypto",
"sslTrustStore": "sapcli.pse"
},
"planEntity": {
"planId": 0
}
}
}'
curl -L -X POST 'https://localhost/commandcenter/api/Instance' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"instanceProperties": {
"instance": {
"instanceName": "string",
"applicationId": 135,
"clientId": 0,
"clientName": "string",
"commCellId": 2
},
"saphanaInstance": {
"SAPHANAUser": {
"userName": "string"
},
"hdbsqlLocationDirectory": "string",
"DBInstances": [
{
"clientId": 0,
"clientName": "string",
"displayName": "string"
}
],
"dbInstanceNumber": 0,
"dbUser": {
"userName": "string",
"password": "string"
},
"isUsehdbStoreKey": "string",
"sslEnabled": false,
"sslProvider": "commoncrypto",
"sslTrustStore": "sapcli.pse"
},
"planEntity": {
"planId": 0
}
}
}'
curl -L -X POST 'https://localhost/commandcenter/api/Instance' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"instanceProperties": {
"instance": {
"instanceName": "string",
"applicationId": 135,
"clientId": 0,
"clientName": "string",
"commCellId": 2
},
"saphanaInstance": {
"SAPHANAUser": {
"userName": "string"
},
"hdbsqlLocationDirectory": "string",
"DBInstances": [
{
"clientId": 0,
"clientName": "string",
"displayName": "string"
}
],
"dbInstanceNumber": 0,
"dbUser": {
"userName": "string",
"password": "string"
},
"isUsehdbStoreKey": "string",
"sslEnabled": false,
"sslProvider": "commoncrypto",
"sslTrustStore": "sapcli.pse"
},
"planEntity": {
"planId": 0
}
}
}'