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

<h1>REST API Data Errors - Get Data Errors</h1>
<div class="trix-content"><p>Below you can see several examples on how to list Data Errors. Examples both in JSON and JSONAPI are provided.</p><p>NOTE: Remember to substitute the token (after Bearer) and the service id (the "69" below) to your own token and service id.<br><br></p><p><strong>Use Cases:</strong></p><p>Retrieve the data errors recorded between January 1st 2021 00:00 and January 30th 23:59, limited to only the first 1000 entries</p><p><br></p><p><strong>JSON</strong></p><pre>curl -H "Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJleHAiOjE1MDE2ODg3NTMsInN1YiI6MX0.oLh_7lsktvX4NP-6Dh4ptGKZe6JEfzeMIgzDjRpMyHM"<br>-H "Content-Type: application/json"&nbsp;<br>-H "Accept: application/json"<br>-X GET<br>https://api.myrapidi.com/api/v2/service/69/data_errors?fromdate=202101010000&amp;todate=202101302359&amp;limit=1000&amp;offset=0</pre><p>Example output:</p><pre>[<br>&nbsp;{<br>&nbsp;"id": 1,<br>&nbsp;"log_datetime": "2021-01-02T00:00:00Z",<br>&nbsp;"transfer": "XSFORCE01_AX_UPD_EXTERNALID",<br>&nbsp;"source": "SFORCE001",<br>&nbsp;"destination": "AX001",<br>&nbsp;"key": null,<br>&nbsp;"code": "ErrorCode1",<br>&nbsp;"description": "Details on Error Code",<br>&nbsp;"data": "Data that should have been transferred",<br>&nbsp;"transferred": null,<br>&nbsp;"fixed_datetime": "2025-08-14T10:06:05Z",<br>&nbsp;"fixed_by_name": "API User",<br>&nbsp;"comment": null<br>&nbsp;},<br>&nbsp;{<br>&nbsp;"id": 2,<br>&nbsp;"log_datetime": "2021-01-07T00:00:00Z",<br>&nbsp;"transfer": "XSFORCE02_AX_UPD_EXTERNALID",<br>&nbsp;"source": "SFORCE001",<br>&nbsp;"destination": "AX001",<br>&nbsp;"key": null,<br>&nbsp;"code": "",<br>&nbsp;"description": "test",<br>&nbsp;"data": null,<br>&nbsp;"transferred": null,<br>&nbsp;"fixed_datetime": null,<br>&nbsp;"fixed_by_name": null,<br>&nbsp;"comment": null<br>&nbsp;},<br><br>...<br><br>&nbsp;{<br>&nbsp;"id": 998,<br>&nbsp;"log_datetime": "2021-01-31T00:00:00Z",<br>&nbsp;"transfer": "XSFORCE01_AX_UPD_EXTERNALID",<br>&nbsp;"source": "SFORCE001",<br>&nbsp;"destination": "AX001",<br>&nbsp;"key": null,<br>&nbsp;"code": "",<br>&nbsp;"description": "test",<br>&nbsp;"data": null,<br>&nbsp;"transferred": null,<br>&nbsp;"fixed_datetime": "2025-08-14T10:06:05Z",<br>&nbsp;"fixed_by_name": "API User",<br>&nbsp;"comment": null<br>&nbsp;}<br>]</pre><p><br><br></p><p><strong>JSONAPI</strong></p><pre>curl -H "Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJleHAiOjE1MDE2ODg3NTMsInN1YiI6MX0.oLh_7lsktvX4NP-6Dh4ptGKZe6JEfzeMIgzDjRpMyHM"<br>-H "Content-Type: application/vnd.api+json"&nbsp;<br>-H "Accept: application/vnd.api+json"<br>-X GET<br>https://api.myrapidi.com/api/v2/service/69/data_errors?fromdate=202101010000&amp;todate=202101302359&amp;limit=1000&amp;offset=0</pre><p><br></p><p>Example output:</p><pre>{&nbsp;<br>&nbsp;"data": [&nbsp;<br>&nbsp;{<br>&nbsp;"id": "1",<br>&nbsp;"type": "error_logs",<br>&nbsp;"attributes": {<br>&nbsp; &nbsp;"log_datetime": "2021-01-02T00:00:00Z",<br>&nbsp; &nbsp;"transfer": "XSFORCE01_AX_UPD_EXTERNALID",<br>&nbsp; &nbsp;"source": "SFORCE001",<br>&nbsp; &nbsp;"destination": "AX001",<br>&nbsp; &nbsp;"key": null,<br>&nbsp; &nbsp;"code": "",<br>&nbsp; &nbsp;"description": "test",<br>&nbsp; &nbsp;"data": null,<br>&nbsp; &nbsp;"transferred": null,<br>&nbsp; &nbsp;"fixed_datetime": "2025-08-14T10:06:05Z",<br>&nbsp; &nbsp;"fixed_by_name": "API User",<br>&nbsp; &nbsp;"comment": null<br>&nbsp; }<br>&nbsp;},&nbsp;<br>&nbsp;{<br>&nbsp;"id": "2",<br>&nbsp;"type": "error_logs",<br>&nbsp;"attributes": {<br>&nbsp; &nbsp;"log_datetime": "2015-04-02T00:00:00Z",<br>&nbsp; &nbsp;"transfer": "XSFORCE02_AX_UPD_EXTERNALID",<br>&nbsp; &nbsp;"source": "SFORCE001",<br>&nbsp; &nbsp;"destination": "AX001",<br>&nbsp; &nbsp;"key": null,<br>&nbsp; &nbsp;"code": "",<br>&nbsp; &nbsp;"description": "test",<br>&nbsp; &nbsp;"data": null,<br>&nbsp; &nbsp;"transferred": null,<br>&nbsp; &nbsp;"fixed_datetime": null,<br>&nbsp; &nbsp;"fixed_by_name": null,<br>&nbsp; &nbsp;"comment": null<br>&nbsp; }<br>&nbsp;},<br><br>&nbsp;...<br><br>&nbsp;{<br>&nbsp;"id": "998",<br>&nbsp;"type": "error_logs",<br>&nbsp;"attributes": {<br>&nbsp; &nbsp;"log_datetime": "2021-01-31T00:00:00Z",<br>&nbsp; &nbsp;"transfer": "XSFORCE01_AX_UPD_EXTERNALID",<br>&nbsp; &nbsp;"source": "SFORCE001",<br>&nbsp; &nbsp;"destination": "AX001",<br>&nbsp; &nbsp;"key": null,<br>&nbsp; &nbsp;"code": "",<br>&nbsp; &nbsp;"description": "test",<br>&nbsp; &nbsp;"data": null,<br>&nbsp; &nbsp;"transferred": null,<br>&nbsp; &nbsp;"fixed_datetime": "2025-08-14T10:06:05Z",<br>&nbsp; &nbsp;"fixed_by_name": "API User",<br>&nbsp; &nbsp;"comment": null<br>&nbsp; }<br>&nbsp;},<br>&nbsp;]<br>}</pre><p><br><br></p><p>The same logic applies to the rest of the available filters, allowing one to make various filtered requests.<br><br></p><p>An example of a query asking for the second page of entries, with each page limited to 100, and only unresolved data error entries, would be:<br><br></p><pre>curl -H "Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJleHAiOjE1MDE2ODg3NTMsInN1YiI6MX0.oLh_7lsktvX4NP-6Dh4ptGKZe6JEfzeMIgzDjRpMyHM"<br>-H "Content-Type: application/vnd.api+json"&nbsp;<br>-H "Accept: application/vnd.api+json"<br>-X GET<br>https://api.myrapidi.com/api/v2/service/69/data_errors?limit=100&amp;offset=100&amp;resolved=false</pre></div>
</template></turbo-stream>

