Performance - Output Payloads
When running query payloads, you can significantly reduce the size of the output payload by specifying just the elements that you want returned, rather than all of them.
For example, the following <Select>
element for an
Accounts query payload retrieves values for all elements in the payload definition.
<Select>
<Accounts>*</Accounts>
</Select>
The following <Select>
runs much faster and the output
payload is much smaller as only the specified elements are retrieved.
<Select>
<Accounts>
<AccountCode/>
<AccountType/>
<Description/>
</Accounts>
</Select>