Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » Elevate Web Builder Technical Support » Product Manuals » Elevate Web Builder 3 Manual » Using the Web Server » Web Server Administration API - Databases |
Type | Engine |
0 | ElevateDB |
1 | DBISAM |
2 | ADO/ODBC |
https://localhost/administration?method=testdatabase
{ "Name": "Invoicing", "Description": "Invoicing Database", "EngineType": 0, "Properties": { "CharacterSet": 1, "DatabaseName": "Test", "LoginPassword": "DBUser123456", "LoginUser": "DBUser", "RemoteAddress": "127.0.0.1", "SessionDescription": "EWB Session", "SessionName": "EWB", "SessionType": 1 } }
{ "Result": true, "Message": "" }
https://localhost/administration?method=adddatabase
{ "Name": "Invoicing", "Description": "Invoicing Database", "EngineType": 0, "Properties": { "CharacterSet": 1, "DatabaseName": "Test", "LoginPassword": "DBUser123456", "LoginUser": "DBUser", "RemoteAddress": "127.0.0.1", "SessionDescription": "EWB Session", "SessionName": "EWB", "SessionType": 1 } }
https://localhost/administration?method=updatedatabase
{ "Name": "Invoicing", "Description": "Invoicing Database", "EngineType": 0, "Properties": { "CharacterSet": 1, "DatabaseName": "Test", "LoginPassword": "DBUser123456", "LoginUser": "DBUser", "RemoteAddress": "127.0.0.1", "SessionDescription": "EWB Session", "SessionName": "EWB", "SessionType": 1 } }
https://localhost/administration?method=renamedatabase
{ "Name": "Invoicing", "NewName": "InvoicingDB" }
https://localhost/administration?method=removedatabase
{ "Name": "Invoicing" }
https://localhost/administration?method=getdatabaseprivileges
{ "Name": "Invoicing" }
{ "Privilege": "InvoicingData"] }
https://localhost/administration?method=setdatabaseprivileges
{ "Name": "Invoicing", "Privilege": "InvoicingData" }
https://localhost/administration?method=getdatabasetables
{ "Name": "Invoicing" }
{ "Tables": ["Customer", "InvoiceHeader", "InvoiceDetail"] }
https://localhost/administration?method=getdatabases
{ "Databases": [ { "Name": "Invoicing", "Description": "Invoicing Database", "EngineType": 0, "Properties": { "CharacterSet": 1, "DatabaseName": "Test", "LoginPassword": "DBUser123456", "LoginUser": "DBUser", "RemoteAddress": "127.0.0.1", "SessionDescription": "EWB Session", "SessionName": "EWB", "SessionType": 1 }, "DataSets": [{ "Name": "Customers", "Description": "Customers DataSet", "LocalizeDateTimes": false, "Commands": [{ "Name": "Select", "Description": "", "SQL": "SELECT * FROM customer", "Logged": false, "Privilege": "" }, { "Name": "Insert", "Description": "", "SQL": "INSERT INTO customer VALUES (:CustNo, :InvoiceNo, :InvoiceDate)", "Logged": false, "Privilege": "" }] }] }] }
https://localhost/administration?method=adddataset
{ "Database": "Invoicing", "Name": "Customers", "Description": "Customers DataSet", "LocalizeDateTimes": false }
https://localhost/administration?method=updatedataset
{ "Database": "Invoicing", "Name": "Customers", "Description": "Customers DataSet", "LocalizeDateTimes": false }
https://localhost/administration?method=renamedataset
{ "Database": "Invoicing", "Name": "Customers", "NewName": "Customer" }
https://localhost/administration?method=removedataset
{ "Database": "Invoicing", "Name": "Customers" }
https://localhost/administration?method=generatedatasetcommands
{ "Database": "Invoicing", "Name": "Customers", "BaseTableName": "Customer", "SelectCommand": true, "InsertCommand": true, "UpdateCommand": true, "DeleteCommand": true, "BLOBSelectCommands": true, "BLOBUpdateCommands": true }
https://localhost/administration?method=adddatasetcommand
{ "Database": "Invoicing", "DataSet": "Customers", "Name": "Select", "Description": "", "SQL": "SELECT * FROM customer", "Logged": false }
https://localhost/administration?method=updatedatasetcommand
{ "Database": "Invoicing", "DataSet": "Customers", "Name": "Select", "Description": "", "SQL": "SELECT * FROM customer", "Logged": false }
https://localhost/administration?method=renamedatasetcommand
{ "Database": "Invoicing", "DataSet": "Customers", "Name": "Select", "NewName": "SelectCommand" }
https://localhost/administration?method=removedatasetcommand
{ "Database": "Invoicing", "DataSet": "Customers", "Name": "Select" }
https://localhost/administration?method=getdatasetcommandprivileges
{ "Database": "Invoicing", "DataSet": "Customers", "Name": "Select" }
{ "Privilege": "" }
https://localhost/administration?method=setdatasetcommandprivileges
{ "Database": "Invoicing", "DataSet": "Customers", "Name": "Select", "Privilege": "ViewCustomers", }
This web page was last updated on Thursday, November 16, 2023 at 10:39 AM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |