Check the progress and outcome of a PVsyst import
Poll this with the ID returned by POST /Project/Import/PVsyst. Checking once every
10 seconds is plenty; a large export can take several minutes.
status is Processing while the import is running, then Completed or Failed.
On Completed, projectId is the created project and imported lists the variants
that became predictions. skipped lists variants that were left out, each naming the
file references that could not be used, so an incomplete export can be corrected and
sent again. On Failed, errorCode distinguishes a problem with the ZIP from a
problem on the PlantPredict side.
A partial import — some variants imported, others skipped — is a normal Completed
outcome, not an error. If no variant could be imported the job is Failed and no
project is created.
An import is visible only to the account that created it.
Parameters:
jobId(path, required): The import job ID returned byPOST /Project/Import/PVsyst.
Authorizations
Pass Authorization: Bearer <token> on every request. See the Authentication section of the API description for how to fetch a token.
Path Parameters
Response
The current state of the import job
The state and outcome of a PVsyst import job.
Processing — still running, check again shortly.
Completed — finished; projectId is the new project.
Failed — no project was created; errorCode says why.
Processing, Completed, Failed The uploaded ZIP filename.
The created project. Null until the import completes successfully.
One sentence describing the outcome in plain language, suitable to relay to a person as-is without counting array lengths.
Set only when status is Failed. One of:
no-importable-variants— not one variant could be imported;skippedlists every file that needs fixing. Correct the export and send it again.invalid-zip— the upload could not be read as a PVsyst export, or contained no variants. Correct the export and send it again.import-error— a fault on the PlantPredict side. Contact support with thejobId; retrying the same ZIP will not help.
Free-form detail accompanying errorCode.
Variants that became predictions. Empty until the import finishes.
Variants left out because a file they reference could not be used. Everything that could be imported still was.
Variants that errored during creation.