GET api/v1/land/{fmid_land_id}/crop-year/{year}

Provides Land Crop details for a provided FMID_Land_Id and year. Possible Input Values: FMID_Land_Id and a specific four-digit year, ‘ALL’, or ‘all’.

Request Information

Headers

In order to receive live data, you must provide the necessary information to authenticate. This will require an API-Key, which is to be provided within the request header for every request. If an API-Key is not provided, sandbox data will be returned.

Name Description Type Additional Information
API-Key 32 Character GUID key String Required to return live information. If not provided, sandbox data will be returned.

URI Parameters

NameDescriptionTypeAdditional information
fmid_land_id

FMID_Land_Id

integer

Required

year

Four digit year, ALL, or all

string

Required

Body Parameters

None.

Response Information

Resource Description

Land Crops for specific FMID_Land_Id

Collection of V1_LandCrop
NameDescriptionTypeAdditional information
FMID_Land_Id

Farm Market iD Internal Land ID

integer

Required

Crop_Year

The specific crop year to search for. You can provide a specific four digit year or "ALL" to return data for all available years.

string

None.

Acres

The amount of acres for the specific land

decimal number

None.

Enterprise_Code

The enterprise code for the land

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "FMID_Land_Id": 1,
    "Crop_Year": "sample string 2",
    "Acres": 3.0,
    "Enterprise_Code": "sample string 4"
  },
  {
    "FMID_Land_Id": 1,
    "Crop_Year": "sample string 2",
    "Acres": 3.0,
    "Enterprise_Code": "sample string 4"
  }
]

text/html

Sample:
[{"FMID_Land_Id":1,"Crop_Year":"sample string 2","Acres":3.0,"Enterprise_Code":"sample string 4"},{"FMID_Land_Id":1,"Crop_Year":"sample string 2","Acres":3.0,"Enterprise_Code":"sample string 4"}]

application/xml, text/xml

Sample:
<ArrayOfV1_LandCrop xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FF_API.Models.Land.V1">
  <V1_LandCrop>
    <Acres>3</Acres>
    <Crop_Year>sample string 2</Crop_Year>
    <Enterprise_Code>sample string 4</Enterprise_Code>
    <FMID_Land_Id>1</FMID_Land_Id>
  </V1_LandCrop>
  <V1_LandCrop>
    <Acres>3</Acres>
    <Crop_Year>sample string 2</Crop_Year>
    <Enterprise_Code>sample string 4</Enterprise_Code>
    <FMID_Land_Id>1</FMID_Land_Id>
  </V1_LandCrop>
</ArrayOfV1_LandCrop>