78. Interogare: Găsește "Fields" după "externalKey"

Găsiți „Parcele” după externalKey-ul terț încorporat în timpul procedurii de înregistrare a „Parcelelor”.

OPȚIUNEA 1 folosind interogarea getFields

interogare FindFieldsByExternalKeyOption1 {
  getFields(filter: {
    fieldExternalKey: "<third_party_identificator>"
  }) {
    numarTotal
    fields {
      uuid
      nume
      externalKey
    }
  }
}

OPȚIUNEA 2 folosind interogarea getFarms

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

Last updated

Was this helpful?