Add John Deere ID tag type

Created on 24 August 2023, about 1 year ago
Updated 16 October 2023, about 1 year ago

Problem/Motivation

We need the ability to link Assets in farmOS with their counterparts in John Deere. Each object in JD (machines, lands, boundaries, etc) has both an ID and a GUID. Right now it seems that only the ID is used via the API, so that should be the first one we save into the JD ID Tag on assets. For example, /machines returns a list of all the JD machines, each with ID and GUID. You can request data about a single machine using /machine/{ID}/. It is not clear to us right now where the GUID is actually used.

Steps to reproduce

N/A

Proposed resolution

  1. Create a "John Deere ID"/john_deere_id ID Tag Type for equipment and land assets. Docs: https://farmos.org/development/module/fields/#id-tag-type
  2. Populate an ID tag with the JD ID when importing/creating assets

Remaining tasks

Determine if the GUID is needed for anything that is pertinent to our use-case of syncing with JD.

User interface changes

None.

API changes

None.

Data model changes

New john_deere_id ID tag type.

๐Ÿ“Œ Task
Status

Fixed

Version

1.0

Component

Code

Created by

๐Ÿ‡บ๐Ÿ‡ธUnited States paul121 Spokane, WA

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024