Data Types & Formats
VQL defines supported data types, standardized date and time formats, and response structures for querying Vault data.
Date & Time Formats
Section link for Date & Time FormatsDateandDateTimefield values are entered and returned inUTC(Coordinated Universal Time), not the user’s time zone.- The
Dateformat isYYYY-MM-DD. For example:'2016-01-16'. - The
Dateformat assumes a time of midnight on the specified date (00:00:00). - The
DateTimeformat isYYYY-MM-DDTHH:MM:SS.SSSZ. For example:'2016-01-15T07:30:00.000Z'. - The
DateTimeformat must end with the.000ZUTCexpression. The zeros may be any number. DatesandDateTimesmust be surrounded by single quotes in the query string.
Field Type Specifications
Section link for Field Type Specifications[Link to Explanations > Querying Specific Field Types]
| Field Type | Specification / Constraint | Return Format |
|---|---|---|
| Long Text | Wildcard (*) searching on spaces is not supported. | String |
| Rich Text | Default return is 250 characters. Supports up to 32,000 plaintext characters. | String (with HTML) |
| Formula | Evaluated at runtime. Not searchable, cannot be used with FIND, ORDER BY, or WHERE. | Value or null |
| Lookup | ORDER BY and WHERE only supported for searchable lookups. | Read-only Value |
| Currency | Includes trailing decimal places based on currency type. | String (e.g., "$10.00") |
Response Formats
Section link for Response Formats- Vault queries support both JSON and XML response formats.
- JSON (
application/json) is the default response format. - To request an XML response, set the
HTTPRequest HeaderAccepttoapplication/xml.