<turbo-stream action="update" target="wiki_card"><template>

<h1>REST API Data Errors</h1>
<div class="trix-content"><div>Data errors stores information on the errors encountered on Transfers for which the 'continue on error' feature is enabled. <a href="https://myrapidi.com/wiki/data_errors">Read more about Data Errors<br><br></a><br></div><div>&nbsp;<br><br></div><div><figure class="attachment attachment--content"><table class="table table-bordered"><thead><tr><td>Query Output fields</td><td>Type</td><td>Notes</td></tr></thead><tbody><tr><td>id</td><td>BIGINT</td><td></td></tr><tr><td>log_datetime</td><td>DATETIME</td><td></td></tr><tr><td>transfer</td><td>VARCHAR</td><td></td></tr><tr><td>source</td><td>VARCHAR</td><td></td></tr><tr><td>destination</td><td>VARCHAR</td><td></td></tr><tr><td>key</td><td>VARCHAR</td><td></td></tr><tr><td>code</td><td>VARCHAR</td><td></td></tr><tr><td>description</td><td>VARCHAR</td><td></td></tr><tr><td>data</td><td>VARCHAR</td><td></td></tr><tr><td>transferred</td><td>DATETIME</td><td></td></tr><tr><td>fixed_datetime</td><td>DATETIME</td><td></td></tr><tr><td>fixed_by_name</td><td>VARCHAR</td><td></td></tr><tr><td>comment</td><td>VARCHAR</td><td></td></tr></tbody></table><figcaption class="attachment__caption"></figcaption></figure></div><div>Query parameters for GET queries :<br><br></div><div><figure class="attachment attachment--content"><table class="table table-bordered"><thead><tr><td>Query Parameters</td><td>Notes</td><td>Examples</td></tr></thead><tbody><tr><td>id</td><td>Unique identifier of the Data Error.</td><td>id=100</td></tr><tr><td>fromdate</td><td>Minimum datetime of data errors to retrieve (inclusive, Accepted datetime formats are: 2020-12-01T12:12Z or 202012011212).</td><td>fromdate=202012011000</td></tr><tr><td>todate</td><td>Maximum datetime of data errors to retrieve (inclusive, Accepted datetime formats are: 2020-12-01T12:12Z or 202012011212).</td><td>todate=202103011000</td></tr><tr><td>log_datetime</td><td>Exact datetime of the data errors you want to retrieve (inclusive, Accepted datetime formats are: 2020-12-01T12:12:12Z or 20201201121212).</td><td>log_datetime=20201201100022</td></tr><tr><td>search</td><td>Finds data error entries where searchable fields contain the provided value.</td><td>search='TEST_22'</td></tr><tr><td>limit</td><td>Maximum number of data error entries to retrieve with each database query. Used for paginated results</td><td>limit=100</td></tr><tr><td>offset</td><td>Number of data error entries the query should skip before beginning to read and apply filters, used for paginated results</td><td>offset=100</td></tr><tr><td>resolved</td><td>Finds data error entries that have been marked as resolved (true&nbsp;True) or still open (false False)</td><td>resolved=true</td></tr></tbody></table><figcaption class="attachment__caption"></figcaption></figure></div><div>Query parameters for /change_resolved :<br><br></div><div><figure class="attachment attachment--content"><table class="table table-bordered"><thead><tr><td>Query Parameters</td><td>Notes</td><td>Examples</td></tr></thead><tbody><tr><td>ids</td><td>Unique identifier of the Data Error(s). Can be a single ID, or a comma-separated list</td><td>ids=1,2,5</td></tr><tr><td>resolve</td><td>Whether to mark the data error(s) as resolved ('resolved'; sets fixed_at to current DateTime, and fixed_by to the API user), or unresolved ('error')</td><td>resolve=resolved</td></tr></tbody></table><figcaption class="attachment__caption"></figcaption></figure><br>Searchable Fields:<br><br><figure class="attachment attachment--content"><table class="table table-bordered"><thead><tr><td>Searchable Fields</td><td>Notes</td></tr></thead><tbody><tr><td>id</td><td></td></tr><tr><td>description</td><td></td></tr><tr><td>code</td><td></td></tr></tbody></table><figcaption class="attachment__caption"></figcaption></figure></div><h1><strong>Filtering</strong></h1><div>To avoid generating queries that can overload the system, a distinction is made between indexed and non-indexed fields available for filtering:<br><br></div><ul><li>Indexed fields are optimized for searching, allowing the Database query to consume fewer resources when filtering the logs.</li><li>Filtering using non-indexed fields (as well as searching) take a heavier toll on the database, and therefore it is required to have less than 300 000 entries readable after the indexed filters are applied, or the query will return an error asking the user to restrict their query further using the indexed filters or timedate query parameters.</li></ul><div><br></div><div><figure class="attachment attachment--content"><table class="table table-bordered"><thead><tr><td>Indexed filters</td><td>non_indexed filters (includes the search query term)</td></tr></thead><tbody><tr><td>id</td><td>description</td></tr><tr><td>transfercode</td><td>fixed_at</td></tr><tr><td>transferred</td><td>fixed_by_id</td></tr><tr><td>datasource</td><td>code</td></tr><tr><td>datadestination</td><td>data</td></tr><tr><td>datakey</td><td>comment</td></tr></tbody></table><figcaption class="attachment__caption"></figcaption></figure></div><div><strong>Pagination:<br></strong><br></div><div>Pagination uses the <em>limit</em> and <em>offset</em> parameters to separate the retrieval of large volumes of logs into smaller chunks called pages.<strong><br></strong>Setting the <em>limit</em> parameter allows us to define the page size, and setting <em>offset</em> to a multiple of<em> limit</em> sets which page we are getting back for the request.Once you've made your first query with <em>offset=0 </em>and a specific <em>limit</em>, only the <em>offset</em> parameter should vary for future requests.<br><br></div><p>&nbsp;</p><div class="section_header"><div class="line"> <div class="column_blindupdown" data-controller="wiki" data-wiki-target="blindupdown"><a title="Show information" data-turbo="true" data-turbo-stream="true" href="/wiki/rest_api_data_errors_get_data_errors?child_page_id=3984&amp;inline=1&amp;parent_page_ids=3983"><i class="fi-plus blindupdown_show" id="show_wiki_3983_subpage_3984_info" title="Show information"></i></a><i class="fi-minus blindupdown_hide" id="hide_wiki_3983_subpage_3984_info" title="Hide information"></i></div><div>REST API Data Errors Get Data Errors</div></div></div><div class="section_detail" id="wiki_3983_subpage_3984_info"></div>&nbsp;<p></p><p>&nbsp;</p><div class="section_header"><div class="line"> <div class="column_blindupdown" data-controller="wiki" data-wiki-target="blindupdown"><a title="Show information" data-turbo="true" data-turbo-stream="true" href="/wiki/rest_api_data_errors_delete_data_errors?child_page_id=3985&amp;inline=1&amp;parent_page_ids=3983"><i class="fi-plus blindupdown_show" id="show_wiki_3983_subpage_3985_info" title="Show information"></i></a><i class="fi-minus blindupdown_hide" id="hide_wiki_3983_subpage_3985_info" title="Hide information"></i></div><div>REST API Data Errors Delete Data Errors</div></div></div><div class="section_detail" id="wiki_3983_subpage_3985_info"></div>&nbsp;<p></p><div>&nbsp;<div class="section_header"><div class="line"> <div class="column_blindupdown" data-controller="wiki" data-wiki-target="blindupdown"><a title="Show information" data-turbo="true" data-turbo-stream="true" href="/wiki/rest_api_data_errors_change_resolved?child_page_id=3986&amp;inline=1&amp;parent_page_ids=3983"><i class="fi-plus blindupdown_show" id="show_wiki_3983_subpage_3986_info" title="Show information"></i></a><i class="fi-minus blindupdown_hide" id="hide_wiki_3983_subpage_3986_info" title="Hide information"></i></div><div>REST API Data Errors Change_resolved</div></div></div><div class="section_detail" id="wiki_3983_subpage_3986_info"></div>&nbsp;<br><br></div></div>
</template></turbo-stream>

