---
title: "POST /seasonal-fields:search"
method: POST
path: "/seasonal-fields:search"
tags: ["SeasonalFields"]
---

# POST /seasonal-fields:search

`POST /seasonal-fields:search`

Search for SeasonalFields across all parties by intersecting geometry.

## Query parameters

- `skipToken` string
- `maxPageSize` integer
- `api-version` string, required

## Request body

- SearchSeasonalFieldQuery — SearchAllBoundaries and SearchBoundaries parameters.
  - `farmIds` string[] — FarmIds of the resource.
  - `fieldIds` string[] — FieldIds of the resource.
  - `seasonIds` string[] — SeasonIds of the resource.
  - `cropProductIds` string[] — CropProductIds of the resource.
  - `cropIds` string[] — CropIds of the resource.
  - `ids` string[] — Ids of the resource.
  - `names` string[] — Names of the resource.
  - `propertyFilters` string[] — Filters on key-value pairs within the Properties object. e.g. "{testKey} eq {testValue}".
  - `statuses` string[] — Statuses of the resource.
  - `minCreatedDateTime` string, date-time — Minimum creation date of resource (inclusive).
  - `maxCreatedDateTime` string, date-time — Maximum creation date of resource (inclusive).
  - `minLastModifiedDateTime` string, date-time — Minimum last modified date of resource (inclusive).
  - `maxLastModifiedDateTime` string, date-time — Maximum last modified date of resource (inclusive).
  - `intersectsWithGeometry` GeoJsonObject — GeoJSON (For more details: https://geojson.org/). Note: Coordinates are expected in [Longitude, Latitude] format.
    - `type` 'Point' | 'Polygon' | 'MultiPolygon', required — GeoJSON object type.
  - `partyId` string — Party ID which belongs to the operation data.

## Response `200`

Success

- SeasonalFieldMetaDataListResponse — Paged response contains list of requested objects and a skipToken to get the next set of results.
  - `value` SeasonalFieldMetaData[], required — List of requested objects.
    - `partyId` string — Party Id.
    - `farmId` string — Id of the associated Farm.
    - `fieldId` string — Id of the associated Field.
    - `seasonId` string — Id of the season it belongs to.
    - `cropProductIds` string[] — CropProduct ids.
    - `cropId` string — Id of the crop it belongs to.
    - `id` string — Unique resource ID.
    - `eTag` string — The ETag value to implement optimistic concurrency.
    - `status` string — Status of the resource.
    - `createdDateTime` string, date-time — Date-time when resource was created, sample format: yyyy-MM-ddTHH:mm:ssZ.
    - `modifiedDateTime` string, date-time — Date-time when resource was last modified, sample format: yyyy-MM-ddTHH:mm:ssZ.
    - `source` string — Source of the resource.
    - `name` string — Name to identify resource.
    - `description` string — Textual description of the resource.
    - `createdBy` string — Created by user/tenant id.
    - `modifiedBy` string — Modified by user/tenant id.
    - `properties` object — A collection of key value pairs that belongs to the resource. Each pair must not have a key greater than 50 characters and must not have a value greater than 150 characters. Note: A maximum of 25 key value pairs can be provided for a resource and only string, numeral and datetime (yyyy-MM-ddTHH:mm:ssZ) values are supported.
  - `skipToken` string — Token used in retrieving the next page. If null, there are no additional pages.
  - `nextLink` string — Continuation link (absolute URI) to the next page of results in the list.

## Other responses

- `default` — Error

---

[API](https://skmtc.net/azure/apis/agrifood-agfoodplatform.md) · [All operations](https://skmtc.net/azure/apis/agrifood-agfoodplatform/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/azure/agrifood-agfoodplatform/revisions/33cf1de6e0c4/schema)
