---
title: "GET /parties/{partyId}/attachments/{attachmentId}"
method: GET
path: "/parties/{partyId}/attachments/{attachmentId}"
tags: ["Attachments"]
---

# GET /parties/{partyId}/attachments/{attachmentId}

`GET /parties/{partyId}/attachments/{attachmentId}`

## Request

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

Gets a specified attachment resource under a particular party.

## Path parameters

- `partyId` string, required
- `attachmentId` string, required

## Query parameters

- `api-version` string, required

## Response `200`

Success

- Attachment: Schema of attachment resource.
  - `resourceId` string: Associated Resource id for this attachment.
  - `resourceType` 'Party' | 'Farm' | 'Field' | 'SeasonalField' | 'ApplicationData' | 'HarvestData' | 'TillageData' | 'PlantingData' | 'PlantTissueAnalysis' | 'Prescription': Associated Resource type for this attachment.
  - `originalFileName` string: Original File Name for this attachment.
  - `partyId` string: PartyId id for this attachment.
  - `id` string: Unique id.
  - `status` string: Status of the resource.
  - `createdDateTime` string, date-time: Date when resource was created.
  - `modifiedDateTime` string, date-time: Date when resource was last modified.
  - `source` string: Source of the resource.
  - `name` string: Name to identify resource.
  - `description` string: Textual description of resource.
  - `createdBy` string: Created by user/tenant id.
  - `modifiedBy` string: Modified by user/tenant id.
  - `eTag` string: The ETag value to implement optimistic concurrency.

## 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/attachments/:attachmentId/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)
