Crops

Returns a paginated list of crop resources.

get/crops

Query parameters

phenotypesstring[]

Crop phenotypes of the crop.

breedingMethodsstring[]

Breeding method of the crop.

locationsstring[]

Location of the crop.

referenceDatasetIdsstring[]

Reference dataset id of the crop.

referenceRecordIdsstring[]

Reference record id of the crop.

idsstring[]

Ids of the resource.

namesstring[]

Names of the resource.

propertyFiltersstring[]

Filters on key-value pairs within the Properties object. eg. "{testKey} eq {testValue}".

statusesstring[]

Statuses of the resource.

minCreatedDateTimestring date-time

Minimum creation date of resource (inclusive).

maxCreatedDateTimestring date-time

Maximum creation date of resource (inclusive).

minLastModifiedDateTimestring date-time

Minimum last modified date of resource (inclusive).

maxLastModifiedDateTimestring date-time

Maximum last modified date of resource (inclusive).

maxPageSizeinteger

Maximum number of items needed (inclusive). Minimum = 10, Maximum = 1000, Default value = 50.

skipTokenstring

Skip token for getting next set of results.

api-versionstring required

The requested API version

Response

Success

skipTokenstring

Token used in retrieving the next page. If null, there are no additional pages.

nextLinkstring

Continuation link (absolute URI) to the next page of results in the list.

Example response

{
  "value": [
    {
      "createdDateTime": "2020-12-31T11:10:21Z",
      "modifiedDateTime": "2020-12-31T11:10:21Z",
      "properties": {
        "key1": "value1",
        "key2": 123.45
      }
    }
  ]
}

Changes

Changed in 2 of the 6 revisions of this API.26

  • 2021-03-31-preview33cf1de6e0c43See the full diff
    • added the new optional query request parameter locations

      new-optional-request-parameter

    • added the new optional query request parameter referenceDatasetIds

      new-optional-request-parameter

    • added the new optional query request parameter referenceRecordIds

      new-optional-request-parameter

  • 2021-03-31-previewaae0a90ec45723See the full diff
    • deleted the query request parameter $maxPageSize

      request-parameter-removed

    • deleted the query request parameter $skipToken

      request-parameter-removed

    • added the new optional query request parameter breedingMethods

      new-optional-request-parameter

    • added the new optional query request parameter maxPageSize

      new-optional-request-parameter

    • added the new optional query request parameter skipToken

      new-optional-request-parameter