GET v2/plantings/{plantingId}/irrigation-events/count-events-on-date.{ext}?targetDate={targetDate}

Endpoint used to check whether an irrigation event already exists on a specific date, to prevent multiple irrigation events from being created on the same date.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
plantingId

integer

Required

targetDate

date

Required

Body Parameters

None.

Response Information

Resource Description

integer

Response Formats

application/json, text/json, text/html

Sample:
1

application/xml, text/xml

Sample:
<int>1</int>