Connect to CCDB and return index of CCDB connected
NOTE:This allows user to perform operations on more than one CCDB using its index. This index is RepIndex, which is used in all endpoints. It is an integer value returned from POST operation on Repository endpoint.
Name: POST
Format: JSON
Example:
{ "server" : "server091", "instance" : "NQAATEST", "database": "NQCCDB356", "user": "sa", "password": "Control123" }
/Repository
Example:
http://hostname/NQAppManagerAPI/Service.svc/Repository
NOTE:“NQAppManagerAPI” is the site created in IIS
Repository
(i.e.,CCDB)
List all connected CCDBs
Name: GET
Format: JSON
Example:
{ server: "server776" database: "NQCCDB" repositoryindex: 0 version: "9.2.0.569" }
/Repository
Example:
http://hostname/NQAppManagerAPI/Service.svc/Repository
NOTE:“NQAppManagerAPI” is the site created in IIS. The “Service.svc” is a common attribute, which needs to be present in all endpoints.
Repository
(i.e., CCDB)