Retrieve all crop types
GET
OAuth Scope Required: ag1
Request URI
GET https://sandboxapi.deere.com/platform/cropTypes
Accept: application/vnd.deere.axiom.v3+json
Parameters
Parameter | Type | Description & Example | In |
---|---|---|---|
recordFilter | string | Filter results based on status Example: active, all | query |
x-deere-signature | string | x-deere-signature should be managed by the client per user per API. For a new user/new API, the first request will have a blank value for x-deere-signature. Changes can be tracked with the x-deere-signature returned in the response. If the response has not changed since the last API call, the value of x-deere-signature is not changed and the client should use the same String Token next time. Example: 9r8392615e4b4e1c12458026f47109bb | header |
Response Details
Field | Type | Description & Example |
---|---|---|
x-deere-signature | string | A new x-deere-signature response header will be included if the response has changed since last api call. Example: 9b5392615e4b4e1c92013026f47109bb |
id | string | The primary identifier for the operation. Example: 1 |
name | string | This is the crop type name. Example: CORN_WET |
translatedName | string | This is the crop type name translated using the Accept-Language header. Example: Corn |
Density | --- | --- |
value | number | This is cropType densityFactor value. Example: 0.0 |
unit | string | This indicates the unit. Example: lb1bu-1 |
Moisture | --- | --- |
value | number | This is the standard payable moisture value for the crop type. Example: 1.0 |
unit | string | This indicates the unit. Example: % |
Harvest Machine TypeDEPRECATED | --- | --- |
generatedId | integer | This is the machine-generated harvest machine type value. Example: 4194304 |
description | string | This is Harvest Machine by CropType. Example: Sugar |
Supported Equipment Types (REPLACES HARVEST MACHINE TYPE) | --- | --- |
erid | string | This is the entity resource identifier for the corresponding equipment type Example: e87e0d9a-91ab-42ea-9000-f96950a64411 |
equipmentTypeProtoEnum | string | This is the equipment type enumeration value Example: ET_COMBINE |
Sample Response [JSON]
Content-Type: application/vnd.deere.axiom.v3+json
x-deere-signature: 9b5392615e4b4e1c92013026f47109bb
{ "links": [ { "rel": "self", "uri": " https://sandboxapi.deere.com/platform/cropTypes" }, { "rel": "nextPage", "uri": " https://sandboxapi.deere.com/platform/cropTypes;start=10;count=10" } ], "total": 216, "values": [ { "@type": "CropType", "name": "CORN_WET", "translatedName": "Corn", "densityFactor": { "@type": "Density", "value": 25.4, "unit": "kg1bu-1" }, "standardPayableMoisture": { "@type": "Moisture", "value": 15, "unit": "%" }, "harvestMachineTypes": [ { "@type": "HarvestMachineType", "generatedId": 524288, "description": "Combine" }, { "@type": "HarvestMachineType", "generatedId": 2097152, "description": "SPFH" }, { "@type": "HarvestMachineType", "generatedId": 8388608, "description": "Specialty" } ], "supportedEquipmentTypes": [ { "@type": "SupportedEquipmentType", "erid": "d9d1c11f-35e0-43af-84ae-696d9ea3c18b", "equipmentTypeProtoEnum": "ET_CORN_HEAD" }, { "@type": "SupportedEquipmentType", "erid": "d8dce5b0-cc8d-4c34-afac-27d93793bd86", "equipmentTypeProtoEnum": "ET_COMBINE" }, { "@type": "SupportedEquipmentType", "erid": "57c1e304-bf44-4c50-bf3e-0e910d528b92", "equipmentTypeProtoEnum": "ET_BALER" } ], "id": "173", "links": [ { "@type": "Link", "rel": "self", "uri": " https://sandboxapi.deere.com/platform/cropTypes/CORN_WET" } ] } ] }