Crops¶
Crop Attributes¶
Attribute | Name |
---|---|
id | The ID of the given crop. |
name | The name of the given crop. |
Sample¶
{
"id": 1,
"name": "Corn"
}
Endpoints¶
/api/crops¶
GET¶
Returns a list of the available crops for the given partnership.
Parameters¶
Name | Description |
---|---|
partnership_id | The Partnership ID for the partnership you are interested in. The method will return all of the crops available for this partnership. |
Returns¶
Returns an array of all the crops available for the given Partnership.
Sample¶
[
{
"id": 143,
"name": "-Unknown-"
},
{
"id": 66,
"name": "Acreage"
},
{
"id": 8,
"name": "Alfalfa"
},
{
"id": 1,
"name": "Corn"
},
{
"id": 29,
"name": "Corn - Seed"
},
{
"id": 5,
"name": "Cotton"
},
{
"id": -1,
"name": "Other"
},
{
"id": 7,
"name": "Pasture"
},
{
"id": 6,
"name": "Rice"
},
{
"id": 4,
"name": "Sorghum"
},
{
"id": 2,
"name": "Soybeans"
},
{
"id": 9,
"name": "Sunflower"
},
{
"id": 3,
"name": "Wheat"
},
{
"id": 231,
"name": "Windmill"
}
]