Skip to main content
POST
Import a PVFARM project onto an existing prediction

Authorizations

Authorization
string
header
required

Pass Authorization: Bearer <token> on every request. See the Authentication section of the API description for how to fetch a token.

Path Parameters

projectId
integer<int64>
required
predictionId
integer<int64>
required

Query Parameters

overwriteExistingPowerPlant
boolean
default:false

Body

multipart/form-data
file
file
required

The .pvfshade file exactly as PVFARM exported it. An uncompressed .json of the same data is also accepted.

Response

The import was accepted and is now running. Nothing has been built on the prediction yet.

Returned when a PVFARM import is accepted. Nothing is built on the prediction yet — poll statusUrl until the job reaches a terminal status.

jobId
integer<int64>
required

Identifier for this import. Worth logging: it is the fastest way for support to find a specific import.

statusUrl
string

Relative URL to poll for the import status.