Create Data Source

HTTPS Method

POST

URI

https://<server>/adminapi/dataSource

Example URI

https://uccx-server/adminapi/dataSource

Content Type

Application/XML, Application/JSON

HTTPS Success Code

201

HTTPS Failure Code

400, 401, 405

Error Codes

HTTPS/1.1 400 Bad Request

Success Response

HTTPS/1.1 201 Created

Sample Input XML—Create DataSource (POST)


<?xml version="1.0" encoding="UTF-8"?> 
<DataSource>     
    <name>oracle1</name> 
    <userName>System</userName> 
    <password>MTJDY2J1MTI=</password> 
    <maxConnection>10</maxConnection> 
    <driver>oracle.jdbc.driver.OracleDriver</driver> 
    <jdbcURL>jdbc:oracle:thin://@uccx-server:1521/XE</jdbcURL> 
</DataSource>