Submitting a Query
POST https://{{vaultDNS}}/api/{{version}}/query
https://developer.veevavault.com/api/22.1/#submitting-a-query
https://developer.veevavault.com/vql/#introduction-to-vault-queries
When an application invokes a query call, it passes in a Vault Query Language (VQL) statement (a SQL-like statement) that specifies the object to query (in the FROM clause), the fields to retrieve (in the SELECT clause), and any optional filters to apply (in the WHERE and FIND clauses) to narrow your results.
Request Body
[{"name"=>"q", "value"=>"select id, name__v from documents", "datatype"=>"string"}, {"name"=>"q", "value"=>"select id, name__v from user__sys", "datatype"=>"string"}, {"name"=>"q", "value"=>"", "datatype"=>"null"}]
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Authorization | string | ||
Accept | string | ||
X-VaultAPI-DescribeQuery | boolean | ||
Content-Type | string |