Microsoft Azure Crop Products API

The CropProducts API from Microsoft Azure, for cropproducts.

GitHub OpenAPI

Operations 4

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /crop-products List crop products · Microsoft Azure Get Crop Products #
Ask an LLM
“Which seed or crop products are recorded in my farm data?”
“Can I filter crop products by brand, trait or crop?”
Tell an agent
List crop products for brands {brands}.
Show crop products for crops {crop_ids} with traits {traits}.
GET /crop-products/{cropProductId} Get a crop product · Microsoft Azure Get Crop Products Cropproductid #
Ask an LLM
“What brand, trait and relative maturity does a crop product have?”
“Can I read a single crop product record by its ID?”
Tell an agent
Get crop product {product_id}.
Show the brand and maturity details of crop product {product_id}.
PATCH /crop-products/{cropProductId} Create or update a crop product · Microsoft Azure Patch Crop Products Cropproductid #
Ask an LLM
“How do I add a new seed product with its brand and trait?”
“Can I record seed treatments and relative maturity on a crop product?”
Tell an agent
Create crop product {product_id} for brand {brand}, product {product}, trait {trait}.
Set relative maturity of crop product {product_id} to {maturity} with treatments {treatments}.
DELETE /crop-products/{cropProductId} Delete a crop product · Microsoft Azure Delete Crop Products Cropproductid #
Ask an LLM
“How do I remove a crop product from my catalog?”
“Can I delete a seed product record I entered by mistake?”
Tell an agent destructive · confirm first
Delete crop product {product_id}.
Remove seed product record {product_id}.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/microsoft-azure:microsoft-azure-cropproducts-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

microsoft-azure-cropproducts-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Microsoft Azure Azure AgFoodPlatform Data Plane Service…
  description: APIs documentation for Azure AgPlatform DataPlane Service.
  version: 2022-11-01-preview
security:
- Bearer: []
tags:
- name: CropProducts
paths:
  /crop-products:
    get:
      tags:
      - CropProducts
      description: Returns a paginated list of crop product resources.
      operationId: microsoftAzureCropproductsList
      parameters:
      - in: query
        name: cropIds
        description: CropIds of the resource.
        style: form
        explode: true
        schema:
          type: array
          items:
            type: string
      - in: query
        name: brands
        description: Brands of the resource.
        style: form
        explode: true
        schema:
          type: array
          items:
            type: string
      - in: query
        name: products
        description: Products of the resource.
        style: form
        explode: true
        schema:
          type: array
          items:
            type: string
      - in: query
        name: traits
        description: Traits of the resource.
        style: form
        explode: true
        schema:
          type: array
          items:
            type: string
      - in: query
        name: ids
        description: Ids of the resource.
        style: form
        explode: true
        schema:
          type: array
          items:
            type: string
      - in: query
        name: names
        description: Names of the resource.
        style: form
        explode: true
        schema:
          type: array
          items:
            type: string
      - in: query
        name: propertyFilters
        description: 'Filters on key-value pairs within the Properties object.

          eg. "{testKey} eq {testValue}".'
        style: form
        explode: true
        schema:
          type: array
          items:
            type: string
      - in: query
        name: statuses
        description: Statuses of the resource.
        style: form
        explode: true
        schema:
          type: array
          items:
            type: string
      - in: query
        name: minCreatedDateTime
        description: Minimum creation date of resource (inclusive).
        schema:
          type: string
          format: date-time
      - in: query
        name: maxCreatedDateTime
        description: Maximum creation date of resource (inclusive).
        schema:
          type: string
          format: date-time
      - in: query
        name: minLastModifiedDateTime
        description: Minimum last modified date of resource (inclusive).
        schema:
          type: string
          format: date-time
      - in: query
        name: maxLastModifiedDateTime
        description: Maximum last modified date of resource (inclusive).
        schema:
          type: string
          format: date-time
      - in: query
        name: maxPageSize
        description: 'Maximum number of items needed (inclusive).

          Minimum = 10, Maximum = 1000, Default value = 50.'
        schema:
          type: integer
          format: int32
          default: 50
          maximum: 1000
          minimum: 10
      - in: query
        name: skipToken
        description: Skip token for getting next set of results.
        schema:
          type: string
      - in: query
        name: api-version
        description: The requested API version
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CropProductListResponse'
        default:
          description: Error
          headers:
            x-ms-error-code:
              x-ms-client-name: ErrorCode
              schema:
                type: string
          x-ms-error-response: true
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      x-ms-pageable:
        nextLinkName: nextLink
      x-ms-examples:
        CropProducts_List:
          $ref: ./examples/CropProducts_List.json
      summary: Microsoft Azure Get Crop Products
  /crop-products/{cropProductId}:
    get:
      tags:
      - CropProducts
      description: Gets a specified crop Product resource.
      operationId: microsoftAzureCropproductsGet
      parameters:
      - in: path
        name: cropProductId
        description: Id of the crop Product.
        required: true
        schema:
          type: string
      - in: query
        name: api-version
        description: The requested API version
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CropProduct'
        default:
          description: Error
          headers:
            x-ms-error-code:
              x-ms-client-name: ErrorCode
              schema:
                type: string
          x-ms-error-response: true
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      x-ms-examples:
        CropProducts_Get:
          $ref: ./examples/CropProducts_Get.json
      summary: Microsoft Azure Get Crop Products Cropproductid
    patch:
      tags:
      - CropProducts
      description: Creates or updates a crop Product resource.
      operationId: microsoftAzureCropproductsCreateorupdate
      parameters:
      - in: path
        name: cropProductId
        description: Id of the crop Product resource.
        required: true
        schema:
          type: string
      - in: query
        name: api-version
        description: The requested API version
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CropProduct'
        '201':
          description: Created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CropProduct'
        default:
          description: Error
          headers:
            x-ms-error-code:
              x-ms-client-name: ErrorCode
              schema:
                type: string
          x-ms-error-response: true
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      x-ms-examples:
        CropProducts_CreateOrUpdate:
          $ref: ./examples/CropProducts_CreateOrUpdate.json
      summary: Microsoft Azure Patch Crop Products Cropproductid
      requestBody:
        content:
          application/merge-patch+json:
            schema:
              $ref: '#/components/schemas/CropProduct'
        description: Crop Product resource payload to create or update.
        required: true
    delete:
      tags:
      - CropProducts
      description: Deletes a specified crop Product resource.
      operationId: microsoftAzureCropproductsDelete
      parameters:
      - in: path
        name: cropProductId
        description: Id of the crop Product.
        required: true
        schema:
          type: string
      - in: query
        name: api-version
        description: The requested API version
        required: true
        schema:
          type: string
      responses:
        '204':
          description: No Content
        default:
          description: Error
          headers:
            x-ms-error-code:
              x-ms-client-name: ErrorCode
              schema:
                type: string
          x-ms-error-response: true
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      x-ms-examples:
        CropProducts_Delete:
          $ref: ./examples/CropProducts_Delete.json
      summary: Microsoft Azure Delete Crop Products Cropproductid
components:
  schemas:
    InnerError:
      description: Inner error containing list of errors.See https://github.com/Microsoft/api-guidelines/blob/vNext/Guidelines.md#innererror--object for InnerError reference document.
      type: object
      properties:
        code:
          description: Specific error code than was provided by the containing error.
          type: string
        innererror:
          $ref: '#/components/schemas/InnerError'
    CropProductListResponse:
      description: Paged response contains list of requested objects and a URL link to get the next set of results.
      required:
      - value
      type: object
      properties:
        value:
          description: List of requested objects.
          type: array
          items:
            $ref: '#/components/schemas/CropProduct'
        skipToken:
          description: Token used in retrieving the next page. If null, there are no additional pages.
          type: string
        nextLink:
          description: Continuation link (absolute URI) to the next page of results in the list.
          type: string
    ErrorResponse:
      description: An error response from the Azure AgPlatform service. See https://github.com/Microsoft/api-guidelines/blob/vNext/Guidelines.md#7102-error-condition-responses for ErrorResponse reference document.
      type: object
      properties:
        error:
          $ref: '#/components/schemas/Error'
        traceId:
          description: Unique trace Id.
          type: string
    Error:
      description: An error from the Azure AgPlatform service.
      required:
      - code
      - message
      type: object
      properties:
        code:
          description: Server-defined set of error codes.
          minLength: 1
          type: string
        message:
          description: Human-readable representation of the error.
          minLength: 1
          type: string
        target:
          description: Target of the error.
          type: string
        details:
          description: Array of details about specific errors that led to this reported error.
          type: array
          items:
            $ref: '#/components/schemas/Error'
        innererror:
          $ref: '#/components/schemas/InnerError'
    CropProduct:
      description: Schema of crop product resource.
      type: object
      properties:
        cropIds:
          description: 'Ids of the crops it belongs to.

            Note: A maximum of 25 crops can be associated with a cropProduct.'
          uniqueItems: true
          type: array
          items:
            type: string
        brand:
          description: CropProduct Brand.
          maxLength: 100
          minLength: 0
          type: string
        product:
          description: CropProduct product.
          maxLength: 100
          minLength: 0
          type: string
        trait:
          description: CropProduct trait.
          maxLength: 100
          minLength: 0
          type: string
        relativeMaturity:
          $ref: '#/components/schemas/Measure'
        treatments:
          description: CropProduct treatments.
          type: array
          items:
            type: string
        id:
          description: Unique resource ID.
          type: string
          readOnly: true
        eTag:
          description: The ETag value to implement optimistic concurrency.
          type: string
          readOnly: true
        status:
          description: Status of the resource.
          maxLength: 100
          minLength: 0
          type: string
        createdDateTime:
          format: date-time
          description: 'Date-time when resource was created, sample format: yyyy-MM-ddTHH:mm:ssZ.'
          type: string
          readOnly: true
          example: '2020-12-31T11:10:21Z'
        modifiedDateTime:
          format: date-time
          description: 'Date-time when resource was last modified, sample format: yyyy-MM-ddTHH:mm:ssZ.'
          type: string
          readOnly: true
          example: '2020-12-31T11:10:21Z'
        source:
          description: Source of the resource.
          maxLength: 100
          minLength: 2
          type: string
        name:
          description: Name to identify resource.
          maxLength: 100
          minLength: 0
          type: string
        description:
          description: Textual description of the resource.
          maxLength: 500
          minLength: 0
          type: string
        createdBy:
          description: Created by user/tenant id.
          type: string
          readOnly: true
        modifiedBy:
          description: Modified by user/tenant id.
          type: string
          readOnly: true
        properties:
          description: '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.'
          type: object
          additionalProperties: {}
          example:
            key1: value1
            key2: 123.45
    Measure:
      description: Schema for storing measurement reading and unit.
      type: object
      properties:
        unit:
          description: Data unit.
          maxLength: 50
          minLength: 1
          type: string
        value:
          format: double
          description: Data value.
          type: number
    Company:
      description: Company/Manufacturer's details.
      type: object
      properties:
        name:
          description: Name of the manufacturing company.
          type: string
        description:
          description: Manufacturing Company description.
          type: string
        registrationNumber:
          description: Registration number of the company.
          type: string
    Reference:
      description: Reference to a dataset record.
      type: object
      properties:
        datasetId:
          description: Dataset id.
          maxLength: 100
          minLength: 0
          type: string
        recordId:
          description: Record id.
          maxLength: 100
          minLength: 0
          type: string
    RelativeMaturityMeasure:
      description: Relative maturity measure.
      type: object
      properties:
        unit:
          description: Data unit.
          maxLength: 50
          minLength: 1
          type: string
        value:
          format: double
          description: Data value.
          type: number
        method:
          description: 'The method used to determine the relative maturity of the product. Examples include

            Comparative Relative Maturity or Heat Units.'
          maxLength: 50
          minLength: 1
          type: string
  securitySchemes:
    Bearer:
      type: apiKey
      name: Authorization
      in: header
      description: Please provide a valid bearer token for authorized API calls. Note that you might need to clear your browser cache if you tried un-authenticated calls before.