$dump-csv

Dump resource in CSV format

$dump-csv operation dumps resource data in Aidbox format as CSV (RFC4180). In this format, columns are paths to JSON values and Rows are values. It includes the header.

Neither the specific order of columns nor the order of rows is guaranteed.

GET [base]/<resourceType>/$dump-csv
URL ParameterDescription

resourceType

Type of the resource to dump

Examples

Dump patients in CSV

Rest Console

GET /Patient/$dump-csv

Curl

$ curl "$AIDBOX_BASE/\$dump-csv" \
    -H 'authorization: Basic YnVsay1jbGllbnQ6c2VjcmV0'

Dump Appointments in CSV

REST Console

GET /Appointment/$dump-csv

Curl

curl -u bulk-client:secret $AIDBOX_BASE_URL/Patient/\$dump-csv

Last updated