---
title: "PATCH /parties/{partyId}/prescription-maps/{prescriptionMapId}"
method: PATCH
path: "/parties/{partyId}/prescription-maps/{prescriptionMapId}"
tags: ["PrescriptionMaps"]
---

# PATCH /parties/{partyId}/prescription-maps/{prescriptionMapId}

`PATCH /parties/{partyId}/prescription-maps/{prescriptionMapId}`

## Request

- Base URL: `{endpoint}`
- URL: `{endpoint}/parties/{partyId}/prescription-maps/{prescriptionMapId}`
- Auth: API key in header `Authorization`

Creates or Updates a prescription map resource under a particular party.

## Path parameters

- `partyId` string, required
- `prescriptionMapId` string, required

## Query parameters

- `api-version` string, required

## Request body

- PrescriptionMap: Api Model for Prescription Map object.
  - `partyId` string: Party Id.
  - `type` string: Prescription map type.
  - `seasonId` string: Season Id.
  - `cropId` string: Crop Id.
  - `fieldId` string: Field Id.
  - `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.

## Response `200`

Success

- PrescriptionMap: Api Model for Prescription Map object.
  - `partyId` string: Party Id.
  - `type` string: Prescription map type.
  - `seasonId` string: Season Id.
  - `cropId` string: Crop Id.
  - `fieldId` string: Field Id.
  - `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.

## Other responses

- `201`: Created
- `default`: Error

## Changes

- **2026-07-13** (2021-03-31-preview) `aae0a90ec457`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/azure/apis/agrifood-agfoodplatform/changes/parties/:partyId/prescription-maps/:prescriptionMapId/patch.md)

---

[API](https://skmtc.dev/azure/apis/agrifood-agfoodplatform.md) - [All operations](https://skmtc.dev/azure/apis/agrifood-agfoodplatform/llms.txt) - [OpenAPI document](https://skmtc.dev/azure/apis/agrifood-agfoodplatform/revisions/33cf1de6e0c4?raw)
