---
title: "GET /parties/{partyId}/farms/{farmId}"
method: GET
path: "/parties/{partyId}/farms/{farmId}"
tags: ["Farms"]
---

# GET /parties/{partyId}/farms/{farmId}

`GET /parties/{partyId}/farms/{farmId}`

## Request

- Base URL: `{endpoint}`
- URL: `{endpoint}/parties/{partyId}/farms/{farmId}`
- Auth: API key in header `Authorization`

Gets a specified farm resource under a particular party.

## Path parameters

- `partyId` string, required
- `farmId` string, required

## Query parameters

- `api-version` string, required

## Response `200`

Success

- Farm: Schema of farm resource.
  - `partyId` string: Party 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

- `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/farms/:farmId/get.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)
