Skip to main content
POST
Send CIARP file
Requires an active session. The JWT is read from the access_token_cookie cookie and the request must carry the X-CSRF-TOKEN header. It is sent as multipart/form-data.
The quality report is emailed every time the file can be validated. If the file has no errors, it is also saved in the institution’s folder on Google Drive, or in the server’s local storage if Drive fails.

Request body

file
required
Excel .xlsx file with the CIARP data. Another format, a file that cannot be read or a file without data return 400.

Response

boolean
true if the file has no errors. With errors, the response is 400 with the same report.
integer
Number of errors found in the file.
integer
Number of warnings.
integer
Number of duplicate records detected.
string | null
Quality report in PDF format encoded in Base64. null if the file has no errors, warnings or duplicates.
string
Only with 200: result of saving, with the name under which the file was stored.
string
Only on errors: reason for the rejection. If columns are missing or there are unnamed columns, the response is 422 and details lists each problem.