Import & export data
Both commands talk to a deployment and accept the
common options (-e, -a, -c, -v).
Use -c to import into or export from a specific company.
import
Section titled “import”Load seed files (CSV or XLSX) into their objects through the object import API, optionally checking afterwards that the rows arrived.
GenieClient import <seed-dir> [-m <map>] [--verify] [--fail-fast]| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
<seed-dir> (positional) |
path | yes | — | Folder containing the seed files. |
-m, --map |
path | no | <seed-dir>/seed-models.xml |
The map file saying which file goes into which object. If no map is found, every CSV/XLSX in the folder is imported into the object with the same name as the file. |
--verify |
flag | no | off | After each import, query the object and confirm sample rows arrived. |
--fail-fast |
flag | no | off | Stop at the first import that fails. |
seed-models.xml
Section titled “seed-models.xml”Files are imported in the order listed, so put parent data (lookups, catalogs) before the data that refers to it.
<SeedModels> <Map ObjectName="Region" ImportFile="regions.csv" /> <Map ObjectName="Site" ImportFile="sites.xlsx" /> <Map ObjectName="WorkOrder" ImportFile="work-orders.csv" /></SeedModels>| Attribute | Type | Description |
|---|---|---|
ObjectName |
object name | The object to import into. |
ImportFile |
path | The file to import, relative to the seed folder. |
GenieClient import ./seedGenieClient import ./seed/catalogs --verifyGenieClient import ./seed -m ./seed/staging-models.xml --fail-fast -c "Head Office"export
Section titled “export”Export an object to a file through the object export API, download it, and check that it is not empty and contains any values you expect.
GenieClient export <object> [-o <dir>] [--expect <values>]| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
<object> (positional) |
object name | yes | — | The object to export. |
-o, --out |
path | no | current folder | Folder to save the downloaded file in. |
--expect |
list | no | — | Values that must appear somewhere in the exported file; the check fails if any is missing. |
GenieClient export SiteGenieClient export Site -o ./outGenieClient export Site -o ./out --expect "TWR-001,TWR-002"Copyright © 2026 Orbyn Technologies. All rights reserved.