Skip to main content
POST
Create Module (File Upload)

POST /modules

Upload a .pan equipment 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 uploaded file structure.
  • If you already have structured module data and do not have a .pan file, use POST /modules/json instead.