Skip to main content
POST
/
modules
Create Module (File Upload)
curl --request POST \
  --url https://api.example.com/modules

POST /modules

Upload a PVsyst .pan file to create a new PV module in the workspace. The server parses the file to extract module electrical properties (Voc, Isc, Pmax, temperature coefficients, dimensions, etc.) and the Angle of Incidence (AOI) curve, then stores the module.

Notes

  • Requires a valid JWT with write access to the workspace.
  • The request body must be multipart/form-data with a single file field containing the .pan file.
  • The module name is derived from the uploaded filename (without the .pan extension).
  • Returns 400 if the .pan file cannot be parsed.
  • Properties are stored as a flexible key-value dictionary reflecting the PVsyst file structure.
  • If you already have structured module data and do not have a .pan file, use POST /modules/json instead.