cultivation-target

Create a cultivation target.

Authentication required for this operation.

post/cultivation-target

Request

  • Base URL: https://api.30mhz.com/api
  • URL: https://api.30mhz.com/api/cultivation-target
  • Auth: API key in header Authorization

Request body

hasNightTargetboolean

Whether this target defines separate day and night values. Only allowed on a cultivation with DAILY target resolution that has both start-of-day and start-of-night times set.

metricIdstring required

Identifier of the metric

namestring required

Displayable name.

cultivationIdstring required

Universally unique identifier of a cultivation.

organizationIdstring required

The unique identifier of the organization it belongs to.

Response

New cultivation target created.

hasNightTargetboolean

Whether this target defines separate day and night values. Only allowed on a cultivation with DAILY target resolution that has both start-of-day and start-of-night times set.

metricIdstring

Identifier of the metric

namestring

Displayable name.

createdAtstring required

Timestamp of when it was created. Identifies the target within the cultivation.

createdBystring

Identifier of the user that created it.

cultivationIdstring required

Universally unique identifier of a cultivation.

cultivationTargetIdstring required

Universally unique identifier of a cultivation target.

organizationIdstring required

The unique identifier of the organization it belongs to.

Changes

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