deere_list_resources
List John Deere resources by type. Start with resourceType='organizations' to discover available organizations, then use the orgId to query other resource types.
Parameters
Parameter Type Required Default Description resourceTypeenum Yes — organizations, fields, equipment, farms, clients, assets, boundaries, operatorsorgIdstring No — Organization ID. Required for all resource types except organizations. limitnumber No 50 Results per page (1-100) offsetnumber No 0 Pagination offset filtersobject No — Optional filters (see below)
Filters
Filter Type Description userNamestring Filter by user name orgNamestring Filter by organization name (max 128 chars) fieldNamestring Filter by field name (max 128 chars) recordFilterenum AVAILABLE, ARCHIVED, or ALLfieldIdstring Filter boundaries/operations to a specific field
Usage
Discover Organizations
{
"resourceType" : "organizations"
}
List Fields in an Organization
{
"resourceType" : "fields" ,
"orgId" : "123456"
}
{
"resourceType" : "equipment" ,
"orgId" : "123456" ,
"limit" : 20 ,
"offset" : 0
}
Response
The response shape depends on the resourceType:
Organizations
{
"error" : false ,
"data" : [
{
"id" : "org-uuid" ,
"externalId" : "123456" ,
"provider" : "john_deere" ,
"name" : "Smith Farms"
}
]
}
Fields
{
"error" : false ,
"data" : [
{
"id" : "field-uuid" ,
"externalId" : "abc123" ,
"provider" : "john_deere" ,
"organizationId" : "123456" ,
"name" : "North 40" ,
"acres" : 40.5 ,
"activeCrop" : "corn"
}
]
}
Equipment
{
"error" : false ,
"data" : [
{
"id" : "eq-uuid" ,
"externalId" : "eq123" ,
"provider" : "john_deere" ,
"organizationId" : "123456" ,
"name" : "8R 370" ,
"type" : "tractor" ,
"make" : "John Deere" ,
"model" : "8R 370" ,
"year" : 2023
}
]
}
Errors
Code Cause MISSING_REQUIRED_PARAMorgId is required for non-organization resource typesRESOURCE_NOT_FOUNDOrganization not found TOKEN_EXPIREDJohn Deere token expired
Parameter Type Required Description resourceType organizations | fields | equipment | farms | clients | assets | boundaries | operators Required Type of resource to list. Start with "organizations" to discover available orgs. orgId string Optional limit number Optional offset number Optional filters object Optional
Try it deere_list_resources