Articles of interest to QuickBase folks
Articles
Format Parameter: Structured vs. Unstructured
One useful feature youll want to use in the API_DoQuery call is the <fmt>structured</fmt> parameter. By default the query returns are not structured. Basically, youll just get the table name, any DBVars, and the record data with the fields you specified, all with the field names, like this:
<record>
<business_phone_number>(123) 103-1234 x12345</business_phone_number>
<email>b@c.com</email>
<file>car.jpg</file>
<text>justatest</text>
<update_id>1206568990479</update_id>
</record
Downloading Files.)
<record>
<f id="5">112149.bhsv</f>
<f id="6">(650) 123-1234</f>
<f id="7">cu@later.com</f>
<f id="22"> Model_T.jpg
<url>https://qbdp.quickbase.com/up/bdb5rjd6g/g/rz/ey/va/Model_T.jpg</ url>
</f>
<update_id>1206568990479</update_id>
</record>
Using structured format, youll also get some of the same information about the table as if you called API_GetSchema: table dbid, metadata information, a list of all saved queries you can use, the field properties (including field help, which could be used for tooltips) and the default values for all the fields you asked for in your query. Then, in the field returns themselves, the field data is presented in a more compact form so you can immediately spot the fid and the actual field value.
- 31316 reads
Rate This
Similar Articles
Interact
Browse by Category
Knowledge Base Categories
- Accounts (35)
- Application (45)
- E-Mail (7)
- Fields (41)
- Forms (20)
- Formulas (18)
- General (68)
- Other Product (7)
- Pages (1)
- Product (5)
- Reports (15)
- Roles (4)
- Search (1)
- Tables (6)



Comments
Post new comment