GET api/v1/land/{fmid_land_id}/grower

Provides a list of growers for a FMID_Land_Id.

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

Body Parameters

None.

Response Information

Resource Description

Growers for a provided piece of land

Collection of V1_LandGrower
NameDescriptionTypeAdditional information
FMID_Land_Id

Farm Market iD Internal Land ID

integer

Required

Grower_Id

grower_id of associated grower

integer

None.

Is_Primary

Primary_Flag associated to the land id

string

None.

Producer_Code

Producer Code

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "FMID_Land_Id": 1,
    "Grower_Id": 2,
    "Is_Primary": "sample string 3",
    "Producer_Code": "sample string 4"
  },
  {
    "FMID_Land_Id": 1,
    "Grower_Id": 2,
    "Is_Primary": "sample string 3",
    "Producer_Code": "sample string 4"
  }
]

text/html

Sample:
[{"FMID_Land_Id":1,"Grower_Id":2,"Is_Primary":"sample string 3","Producer_Code":"sample string 4"},{"FMID_Land_Id":1,"Grower_Id":2,"Is_Primary":"sample string 3","Producer_Code":"sample string 4"}]

application/xml, text/xml

Sample:
<ArrayOfV1_LandGrower xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FF_API.Models.Land.V1">
  <V1_LandGrower>
    <FMID_Land_Id>1</FMID_Land_Id>
    <Grower_Id>2</Grower_Id>
    <Is_Primary>sample string 3</Is_Primary>
    <Producer_Code>sample string 4</Producer_Code>
  </V1_LandGrower>
  <V1_LandGrower>
    <FMID_Land_Id>1</FMID_Land_Id>
    <Grower_Id>2</Grower_Id>
    <Is_Primary>sample string 3</Is_Primary>
    <Producer_Code>sample string 4</Producer_Code>
  </V1_LandGrower>
</ArrayOfV1_LandGrower>