78. Query: Find "Fields" by "externalKey"

Find "Fields" by the 3rd party externalKey incorporated during the "Field" registration procedure.

OPTION 1 using getFields query

query FindFieldsByExternalKeyOption1 {
  getFields(filter: {
    fieldExternalKey: "<third_party_identificator>"
  }) {
    totalCount
    fields {
      uuid
      name
      externalKey
    }
  }
}

OPTION 2 using getFarms query

query FingFieldsByExternalKeyOption2 {
  getFarms {
    fields(externalKeys: ["<third_party_identificator>"]) {
      uuid
      name
      externalKey
    }
  }
}

Last updated

Powered by GeoPard Agriculture - Automated precisionAg platform