85. Mutation: Assign Rates to VectorAnalysisMap (ZonesMap)

Below there are details on how to assign rates per Zone.

Usage details:

  • The attribute fieldUuid is a linkage to the existing Field.

  • The attribute uuid represents the unique identification of the ZonesMap to save.

  • The attribute name describes the name of the ZonesMap

  • The attribute type is an enum value representing the operation type. It can be any value from GENERAL , SPRAYING, SEEDING, FERTILIZING or IRRIGATION. It is optional.

  • The key attribute with all details including rates for VRA is zonesMapGeojson as an escaped JSON string. Rates are going to be incorporated into properties.

The properties attribute is a JSON object that is extended with rates, ratesHeaders, ratesPrices and ratesUnits details:

 {
    \"mapUuid\":\"5bf92fc6-c536-43ce-a39c-1109c2f63a2f\",
    \"zone\":1,
    \"attributes\":{
        \"area\":1.13367,\
        "index\":\"EVI2\",
        \"min\":1.28,
        \"max\":1.507,
        \"avg\":1.431,
        \"rates\":[100],
        \"ratesHeaders\":[\"Product1\"],
        \"ratesPrices\":[0],
        \"ratesUnits\":[\"KG_HA\"]
    }
}

Sample mutation:

Last updated

Was this helpful?