preview_fetchxml_query
Preview the first FetchXML query result using the same state and filter logic as full query execution, returning effective query and paging details without treating the sample as a complete result set.
Instructions
Preview the first result using the same FetchXML state/filter logic as query_by_fetchxml. Returns effective query and paging information without claiming the sample is a full result set.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fetch_xml | Yes | The FetchXML string to preview | |
| state_mode | No | legacy preserves valid implicit statecode=0 filtering; all adds no state filter; values uses state_values validated against this table. | |
| state_values | No | Explicit numeric state values; requires state_mode=values. | |
| formatted_values | No | Include formatted labels and display values returned by CRM. |