app-cultiwatch

Returns the drop calculation.

The authenticated user must have the cultiwatch app within an organization

post/app/cultiwatch/drop

Request

  • Base URL: https://api.30mhz.com/api
  • URL: https://api.30mhz.com/api/app/cultiwatch/drop
  • Auth: API key in header Authorization

Query parameters

intervalSizestring

Size of the time intervals in which to aggregate the data. This parameter is given as a number of minutes, hours, days or weeks, or monthly, e.g. '5m' is five minutes, '1h' is one hour, '5d' is five days, '2w' is two weeks and 'M' is monthly. The optional 'f' prefix is used to retrieve the full interval according to the provided unit, e.g. 'f1w' will retrieve the last full week (Mon to Sun), 'f2d' will retrieve the last two full days (Wed and Thu if it is Fri).

timezoneOffsetinteger

The timezone offset, in hours, for which to return the data. For example, 2 for Europe/Amsterdam. -3 for America/Argentina/Buenos_Aires. If empty, then UTC/GMT time is assumed, but it's probably not what you want. See list of timezones: <a>https://en.wikipedia.org/wiki/List_of_tz_database_time_zones</a>

irrigationStartHourinteger required

Irrigation start time in hours (e.g. '8' if it starts at 8 in the morning)

irrigationPeriodMargininteger

Margin that is added to irrigation start and end period in hours. Default is 2 hours

irrigationFrequencyinteger

Maximum period between watering cycles during irrigation in seconds. Default is 7200 (2 hours)

minIrrigationSlopenumber double

To find out when irrigation starts and stops we calculate the derivative. What should the minimum slope be? (default 0)

Request body

checkIdsstring[]

Check ids for returning the historical data.

collectionIdsPerFieldobject

Filter/group values based on fields and collection ids

daysOfMonthinteger[]

Day (1-31) list parameter, e.g. [1] for the first of the month.

daysOfWeekinteger[]

Day of the week (1-7) list parameter, e.g. [1] for Monday.

hoursOfDayinteger[]

Hour (0-23) list parameter, e.g. [2, 3] for 2:00 am and 3:00 am.

minutesOfHourinteger[]

Minute within the hour (0-59) list parameter, e.g. [20, 30] for 20th and 30th minute.

organizationIdstring

The id of an organization (when tags are set).

sensorTypestring

The id of a sensor type (when tags are set).

tagsstring[]

Set tags to automatically select checks based on their tags.

tagsOperatorstring

Tags boolean operator (and/or).

Response

Returns the drop calculation

averageIrrigiationValuenumber double
dropnumber double
endDateinteger
irrigationStartTimestampinteger
irrigationStartValuenumber double
irrigationStopTimestampinteger
irrigationStopValuenumber double
startDateinteger

Changes

No recorded changes to this operation across all 1 revision of this API.