DB Details
Datbase Details
URL
ctpldbconnectiondetails/dbdetails
Method
POST
Request Media type
application/json
Response Media type
application/json
Request Parameters
| Parameter | Data Type | Min | Max | M/O | Sample Value | Comments |
|---|---|---|---|---|---|---|
| productid | String | M | IQM_V3 | Product ID of Appserver | ||
| clientid | String | M | CTPL | Client ID from Appserver |
Response Values
| Name | Data Type | Min Length | Max Length | M/O | Sample Value | Comments |
|---|---|---|---|---|---|---|
| server | String | M | 192.168.0.1 | Database Server IP Details | ||
| serverport | Integer | M | 1433 | Database Server port | ||
| login | String | M | sa | Log In User | ||
| password | String | M | 123456 | Login Password | ||
| databasename | String | M | iqm_v3 | Database Name |
Sample Request
{
"productid": "IQM_V3",
"clientid": "CTPL"
}
Sample Success Response
{
"server": "192.168.0.1",
"serverport": "1433",
"login": "sa",
"password": "123456",
"databasename": "iqm_v3",
"e": 200,
"msg": "Success"
}
Sample Failure Responses
{
"e": 401,
"msg": "Invalid authentication credentials."
}