Finalize import of a parsed weather file
The Finalize Import endpoint will execute the same validations as the Quality Check endpoint however if no errors are found the weather file will successfully be imported into your PlantPredict Weather library. The response from the API will be the weather Id of the newly created asset.
Authorizations
Pass Authorization: Bearer <token> on every request. See the Authentication section of the API description for how to fetch a token.
Body
LibraryStatusEnum
0, 1, 2, 3, 4, 5, 6 WeatherSourceTypeAPIEnum
0, 1, 2, 3, 4, 5, 6, 7, 8, 9 WeatherFormat
1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15 WeatherTimestampDefinitionEnum
0, 1, 2, 3 ISO-8601 datetime as returned by the PlantPredict API. May or may not include a timezone offset; treat as server-local when no offset is present.
ISO-8601 datetime as returned by the PlantPredict API. May or may not include a timezone offset; treat as server-local when no offset is present.
WeatherDataProvider
1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23 WeatherDataType
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 DCFieldTrackingTypeEnum
0, 1, 2 Response
Created weather ID