Skip to main content
PUT
/
Weather
/
{weatherId}
/
TitleUpdate
Update weather file metadata
curl --request PUT \
  --url https://api.plantpredict.terabase.energy/Weather/{weatherId}/TitleUpdate \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "status": 1,
  "distance": 0,
  "locality": "Hurghada 2",
  "stateProvince": "Red Sea Governorate",
  "stateProvinceCode": "Red Sea Governorate",
  "country": "Egypt",
  "countryCode": "EG",
  "region": "Africa",
  "source": "Meteonorm - 27.323N - 33.607E.xlsx",
  "stationName": "",
  "format": 3,
  "stationCode": null,
  "latitude": 27.3230667,
  "longitude": 33.6068764,
  "elevation": 127,
  "timeZone": 2,
  "timestampDefinition": 0,
  "timestampDefinitionOriginal": 0,
  "timeInterval": 60,
  "startDate": "2005-01-01T00:00:00",
  "endDate": "2005-12-31T23:00:00",
  "globalHorizontalIrradianceSum": 2081.92,
  "diffuseHorizontalIrradianceSum": 757.37,
  "directNormalIrradianceSum": 2054.86,
  "planeOfArrayIrradianceSum": null,
  "averageAirTemperature": 25.44,
  "maxAirTemperature": 41.52,
  "averageRelativeHumidity": 41.54,
  "averageWindSpeed": 5.92,
  "averagePrecipitableWater": null,
  "averageDewpoint": null,
  "averageSoilingLoss": null,
  "rainfallSum": null,
  "weatherDataModelVersion": "8.0.4.19761",
  "dataProvider": 4,
  "pLevel": 0,
  "windSensorHeight": 10,
  "weatherDetails": null,
  "dataType": 1,
  "customerName": "",
  "apiLocked": false,
  "apiDownloaded": false,
  "weatherFileKey": "00000000-0000-0000-0000-000000000000",
  "offsetMinutes": 0,
  "usingFirstSolarKey": false,
  "moduleTilt": null,
  "moduleAzimuth": null,
  "trackingType": null,
  "trackingBacktrackingType": 0,
  "minimumTrackingLimitAngleD": 0,
  "maximumTrackingLimitAngleD": null,
  "trackerPitchAngleD": 0,
  "trackerStowAngle": 0,
  "groundCoverageRatio": null,
  "id": 65731,
  "name": "Meteonorm - 27.323N - 33.607E",
  "description": null,
  "companyId": 1042,
  "company": null,
  "ownerId": 5093,
  "owner": {
    "claims": [],
    "logins": [],
    "roles": [],
    "company": null,
    "companyId": 1042,
    "firstName": "Jesse",
    "lastName": "Milam",
    "jobTitle": "Software Developer",
    "createdByUserId": 5091,
    "createdByUser": null,
    "status": 1,
    "settings": null,
    "costCenter": null,
    "migrationAgreementAcceptance": true,
    "clientCredentialsCreatedOnUTC": "2021-11-30T14:16:05.783",
    "email": "jmilam@terabase.energy",
    "id": 5093
  },
  "createdDate": "2021-12-02T18:12:46.897",
  "lastModified": "2021-12-02T18:12:46.897",
  "lastModifiedById": 5093,
  "lastModifiedBy": {
    "claims": [],
    "logins": [],
    "roles": [],
    "company": null,
    "companyId": 1042,
    "firstName": "Jesse",
    "lastName": "Milam",
    "jobTitle": "Software Developer",
    "createdByUserId": 5091,
    "createdByUser": null,
    "status": 1,
    "settings": null,
    "costCenter": null,
    "migrationAgreementAcceptance": true,
    "clientCredentialsCreatedOnUTC": "2021-11-30T14:16:05.783",
    "email": "jmilam@terabase.energy",
    "id": 5093
  }
}
'
{
  "message": "The request is invalid.",
  "modelState": {
    "latitude": [
      "The field Latitude must be between -90 and 90."
    ]
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.plantpredict.com/llms.txt

Use this file to discover all available pages before exploring further.

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

weatherId
integer
required

Body

application/json
name
string
required
latitude
number
required
longitude
number
required
description
string | null
status
enum<integer>

LibraryStatusEnum

Available options:
0,
1,
2,
3,
4,
5,
6
source
enum<integer>

WeatherSourceTypeAPIEnum

Available options:
0,
1,
2,
3,
4,
5,
6,
7,
8,
9
stationName
string
stationCode
string
format
enum<integer>

WeatherFormat

Available options:
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14,
15
elevation
number
timeZone
number
timestampDefinition
enum<integer>

WeatherTimestampDefinitionEnum

Available options:
0,
1,
2,
3
timeInterval
integer
startDate
string<date-time>
endDate
string<date-time>
dataProvider
enum<integer>

WeatherDataProvider

Available options:
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14,
15,
16,
17,
18,
19,
20,
21,
22,
23
dataType
enum<integer>

WeatherDataType

Available options:
0,
1,
2,
3,
4,
5,
6,
7,
8,
9,
10
country
string
countryCode
string
stateProvince
string
stateProvinceCode
string
locality
string
region
string
globalHorizontalIrradianceSum
number
diffuseHorizontalIrradianceSum
number
directNormalIrradianceSum
number
planeOfArrayIrradianceSum
number
averageAirTemperature
number
averageWindSpeed
number
weatherDetails
object[]
pLevel
number
windSensorHeight
number
offsetMinutes
integer
moduleTilt
number
moduleAzimuth
number
trackingType
enum<integer>

DCFieldTrackingTypeEnum

Available options:
0,
1,
2
groundCoverageRatio
number

Response

Updated