Use API_CreateDatabase to create a new Quick Base application. Quick Base creates the main application table populated only with built-in fields and returns an application token for your API application. After you create the application, you'll need to:
add fields using API_AddField
set field properties using API_SetFieldProperties
add more tables using API_CreateTable
Quick Base returns the application-level dbid (appdbid) in the response to API_CreateDatabase. Some API calls require the use of the application-level dbid, and some require a table-level dbid. Calls requiring application-level dbids are application-wide calls; calls requiring table-level dbids are those that manipulate tables. If you are going to manipulate the table or application after creating it, you will find it useful to extract and save these values from the response values.
The name of the new application
The description for the new application.
The ticket needed for application access.
Set this parameter to 1 to generate an application token for your applications.
App tokens can also be generated from within Quick Base, but this method is provided for your convenience.
A string value that you want returned. It will not be handled by Quick Base but it will be returned in the response.
Echoes the originating request, for example, API_CreateDatabase.
Identifies the error code, if any. (See the Error Codes appendix for a list of possible error codes.)
0 indicates that no error was encountered.
Text that explains the error code.
"No error" indicates that no error was encountered.
Contains any udata value supplied in the request.
The table-level dbid of the new application’s default table.
The application-level dbid of the new application.
An application token for your application to use in subsequent interactions with the Quick Base you just created. Returned only if you specified createapptoken with a value of 1 in the request.
POST https://target_domain/db/main HTTP/1.0
<dbdesc>Vehicle and Fuel Cost Tracker</dbdesc>
&dbname=FuelCharter&dbdesc=Vehicle and Fuel Cost Tracker&createapptoken=1
where target_domain is the domain against which you are invoking this call, for example, quickbase.com. Read about this notation.
<?xml version="1.0" ?>
Did this help you? Give us a rating:
© 1999-2020 QuickBase, Inc. All rights reserved. Legal Notices.