Create Module (JSON)
Modules
Create Module (JSON)
Create a PV module from a JSON request body
POST
Create Module (JSON)
POST /modules/json
Create a new PV module by providing structured JSON instead of uploading a.pan file. This is useful when module specifications are already available in your application or when programmatically building a module library.
Notes
- Requires a valid JWT with write access to the workspace.
- The request body must include
name(non-empty string) andproperties(dict of module specifications). Theaoifield is optional. - The
propertiesdict should contain the same key-value structure produced by.panfile parsing (Voc, Isc, Pmax, temperature coefficients, dimensions, etc.). - Extra fields beyond
name,properties, andaoiare rejected (400). - For uploading a PVsyst
.panfile directly, usePOST /modulesinstead.
