Microsoft Azure Nutrient Analyses API

The NutrientAnalyses API from Microsoft Azure, for nutrientanalyses.

GitHub OpenAPI

Operations 5

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 /nutrient-analyses List nutrient analyses across all parties · Microsoft Azure Get Nutrient Analyses #
Ask an LLM
“What soil nutrient analyses exist across every farmer in my data?”
“Can I filter all nutrient analyses by classification or creation date?”
Tell an agent
List nutrient analyses across all parties.
Show nutrient analyses of every party classified {classifications} created after {minCreatedDateTime}.
GET /parties/{partyId}/nutrient-analyses List nutrient analyses for one party · Microsoft Azure Get Parties Partyid Nutrient Analyses #
Ask an LLM
“Which nutrient analyses belong to a particular farmer?”
“Can I narrow one party's nutrient analyses by status?”
Tell an agent
List nutrient analyses for party {partyId}.
Show nutrient analyses of party {partyId} with status {statuses}.
GET /parties/{partyId}/nutrient-analyses/{nutrientAnalysisId} Get a nutrient analysis · Microsoft Azure Get Parties Partyid Nutrient Analyses Nutrientanalysisid #
Ask an LLM
“What value and recommendation did a specific nutrient analysis report?”
“Can I open one nutrient analysis record for a farmer?”
Tell an agent
Get nutrient analysis {nutrientAnalysisId} for party {partyId}.
Show the reference range of nutrient analysis {nutrientAnalysisId} under {partyId}.
PATCH /parties/{partyId}/nutrient-analyses/{nutrientAnalysisId} Record or update a nutrient analysis · Microsoft Azure Patch Parties Partyid Nutrient Analyses Nutrientanalysisid #
Ask an LLM
“How do I record a soil nitrogen reading for a farmer's field?”
“Can I attach a recommendation and product list to a nutrient analysis?”
Tell an agent
Record nutrient analysis {nutrientAnalysisId} for party {partyId} with value {value} {unit}.
Set the recommendation on nutrient analysis {nutrientAnalysisId} of {partyId} to {recommendation}.
DELETE /parties/{partyId}/nutrient-analyses/{nutrientAnalysisId} Delete a nutrient analysis · Microsoft Azure Delete Parties Partyid Nutrient Analyses Nutrientanalysisid #
Ask an LLM
“How do I remove a wrong nutrient analysis from a farmer's records?”
“Can I delete a single nutrient analysis?”
Tell an agent destructive · confirm first
Delete nutrient analysis {nutrientAnalysisId} for party {partyId}.
Remove nutrient analysis record {nutrientAnalysisId} from party {partyId}.

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-nutrientanalyses-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-nutrientanalyses-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: NutrientAnalyses
paths:
  /nutrient-analyses:
    get:
      tags:
      - NutrientAnalyses
      description: Returns a paginated list of nutrient analysis resources across all parties.
      operationId: microsoftAzureNutrientanalysesList
      parameters:
      - in: query
        name: parentType
        description: 'Type of the parent it belongs to.

          i.e. PlantTissueAnalysis.'
        schema:
          type: string
      - in: query
        name: parentIds
        description: Parent ids of the resource.
        style: form
        explode: true
        schema:
          type: array
          items:
            type: string
      - in: query
        name: classifications
        description: Classifications for nutrient analyses.
        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/NutrientAnalysisListResponse'
        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:
        NutrientAnalyses_List:
          $ref: ./examples/NutrientAnalyses_List.json
      summary: Microsoft Azure Get Nutrient Analyses
  /parties/{partyId}/nutrient-analyses:
    get:
      tags:
      - NutrientAnalyses
      description: Returns a paginated list of nutrient analysis resources under a particular party.
      operationId: microsoftAzureNutrientanalysesListbypartyid
      parameters:
      - in: path
        name: partyId
        description: Id of the associated party.
        required: true
        schema:
          type: string
      - in: query
        name: parentType
        description: 'Type of the parent it belongs to.

          i.e. PlantTissueAnalysis.'
        schema:
          type: string
      - in: query
        name: parentIds
        description: Parent ids of the resource.
        style: form
        explode: true
        schema:
          type: array
          items:
            type: string
      - in: query
        name: classifications
        description: Classifications for nutrient analyses.
        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/NutrientAnalysisListResponse'
        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:
        NutrientAnalyses_ListByPartyId:
          $ref: ./examples/NutrientAnalyses_ListByPartyId.json
      summary: Microsoft Azure Get Parties Partyid Nutrient Analyses
  /parties/{partyId}/nutrient-analyses/{nutrientAnalysisId}:
    get:
      tags:
      - NutrientAnalyses
      description: Gets a specified nutrient analysis resource under a particular party.
      operationId: microsoftAzureNutrientanalysesGet
      parameters:
      - in: path
        name: partyId
        description: Id of the associated party.
        required: true
        schema:
          type: string
      - in: path
        name: nutrientAnalysisId
        description: Id of the nutrient analysis.
        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/NutrientAnalysis'
        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:
        NutrientAnalyses_Get:
          $ref: ./examples/NutrientAnalyses_Get.json
      summary: Microsoft Azure Get Parties Partyid Nutrient Analyses Nutrientanalysisid
    patch:
      tags:
      - NutrientAnalyses
      description: Creates or updates a nutrient analysis resource.
      operationId: microsoftAzureNutrientanalysesCreateorupdate
      parameters:
      - in: path
        name: partyId
        description: Id of the party resource.
        required: true
        schema:
          type: string
      - in: path
        name: nutrientAnalysisId
        description: Id of the nutrient analysis 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/NutrientAnalysis'
        '201':
          description: Created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NutrientAnalysis'
        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:
        NutrientAnalyses_CreateOrUpdate:
          $ref: ./examples/NutrientAnalyses_CreateOrUpdate.json
      summary: Microsoft Azure Patch Parties Partyid Nutrient Analyses Nutrientanalysisid
      requestBody:
        content:
          application/merge-patch+json:
            schema:
              $ref: '#/components/schemas/NutrientAnalysis'
        description: NutrientAnalysis resource payload to create or update.
        required: true
    delete:
      tags:
      - NutrientAnalyses
      description: Deletes a specified nutrient analysis resource under a particular party.
      operationId: microsoftAzureNutrientanalysesDelete
      parameters:
      - in: path
        name: partyId
        description: Id of the party.
        required: true
        schema:
          type: string
      - in: path
        name: nutrientAnalysisId
        description: Id of the nutrient analysis.
        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:
        NutrientAnalyses_Delete:
          $ref: ./examples/NutrientAnalyses_Delete.json
      summary: Microsoft Azure Delete Parties Partyid Nutrient Analyses Nutrientanalysisid
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'
    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
    NutrientAnalysisListResponse:
      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/NutrientAnalysis'
        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
    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'
    ProductDetails:
      description: Model for representing ProductDetails object.
      type: object
      properties:
        rate:
          description: Rate of the product.
          maxLength: 100
          minLength: 0
          type: string
        instruction:
          description: Instruction of the resource.
          maxLength: 1000
          minLength: 0
          type: string
        product:
          description: Product of the resource.
          maxLength: 100
          minLength: 0
          type: string
    NutrientAnalysis:
      description: Api Model for nutrient analysis object.
      type: object
      properties:
        partyId:
          description: Party id for this nutrient analysis.
          type: string
          readOnly: true
        parentId:
          description: Parent id for this nutrient analysis.
          type: string
        parentType:
          description: 'Parent type for this nutrient analysis.

            i.e. PlantTissueAnalysis.'
          enum:
          - PlantTissueAnalysis
          type: string
          x-ms-enum:
            name: NutrientAnalysisParentType
            modelAsString: true
        unit:
          description: Unit for this nutrient analysis.
          maxLength: 32
          minLength: 0
          type: string
        value:
          format: double
          description: Value for this nutrient analysis.
          type: number
        referenceValueLow:
          format: double
          description: Reference value low for this nutrient analysis.
          type: number
        referenceValueHigh:
          format: double
          description: Reference value high for this nutrient analysis.
          type: number
        classification:
          description: Classification for this nutrient analysis.
          maxLength: 50
          minLength: 0
          type: string
        recommendation:
          description: Recommendation for this nutrient analysis.
          maxLength: 1000
          minLength: 0
          type: string
        products:
          description: Products for this nutrient analysis.
          type: array
          items:
            $ref: '#/components/schemas/ProductDetails'
        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
  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.