Skip to content

Declare/adjust soil horizons

PUT /parcels/{id}/soil-profile
  • Scope soil:write
  • API key x-api-key
  • Base URL https://api.hub.akuasense.com/v1

One horizon, or several in layers[]. Each one replaces the horizon that started at the same depth (depthTopCm); the others stay in place. The old one is closed, never erased.

Path parameters

  • id integer required

Headers

  • Idempotency-Key string

    Replays the same 2xx response (24 h)

Request body

Response

201

Horizons recorded

  • success boolean always present
  • rows array of object always present

    One row per horizon written, in the order of the body: id of GET /parcels/{id}/soil-profile.

    Show 2 attributes Hide attributes
    • id integer always present
    • timestamp_start string date-time always present

Errors

  • 400

    Entry refused

    invalid_idinvalid_body
  • 401

    Not authenticated

  • 403

    Insufficient scope/role, or outside your company