---
title: "PATCH /parties/{partyId}/plant-tissue-analyses/{plantTissueAnalysisId}"
method: PATCH
path: "/parties/{partyId}/plant-tissue-analyses/{plantTissueAnalysisId}"
tags: ["PlantTissueAnalyses"]
---

# PATCH /parties/{partyId}/plant-tissue-analyses/{plantTissueAnalysisId}

`PATCH /parties/{partyId}/plant-tissue-analyses/{plantTissueAnalysisId}`

Creates or updates a plant tissue analysis resource.

## Path parameters

- `partyId` string, required
- `plantTissueAnalysisId` string, required

## Query parameters

- `api-version` string, required

## Response `200`

Success

- PlantTissueAnalysis — Api Model for plant tissue analysis object.
  - `partyId` string — Id of the associated Party.
  - `fieldId` string — Id of the associated Field.
  - `cropId` string — Id of the associated Crop.
  - `cropProductId` string — Id of the associated Crop product.
  - `seasonId` string — Id of the associated Season.
  - `plantingDateTime` string, date-time — Planting datetime for this plant tissue analysis.
  - `growthStage` string — Growth stage for this plant tissue analysis.
  - `plantPart` string — Plant part for this plant tissue analysis.
  - `plantPosition` string — Plant position for this plant tissue analysis.
  - `plantAppearance` string — Plant appearance for this plant tissue analysis.
  - `sampleCollectionCondition` string — Sample collection condition for this plant tissue analysis.
  - `sampleCollectionDateTime` string, date-time — Sample collection dateTime for this plant tissue analysis.
  - `sampleReceivedDateTime` string, date-time — Sample received dateTime.
  - `sampleTestResultDateTime` string, date-time — Sample test result dateTime for this plant tissue analysis.
  - `labDetails` LabDetails — Model for representing LabDetails object.
    - `code` string — Code of the resource.
    - `name` string — Name of the resource.
    - `description` string — Description of the resource.
    - `address` string — Address of the resource.
  - `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.
  - `geometry` GeoJsonObject — GeoJSON (For more details: https://geojson.org/). Note: Coordinates are expected in [Longitude, Latitude] format.
    - `type` 'Point' | 'Polygon' | 'MultiPolygon', required — GeoJSON object type.
  - `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.

## Other responses

- `201` — Created
- `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)
