78. क्वेरी: "externalKey" द्वारा "Fields" खोजें

"Field" पंजीकरण प्रक्रिया के दौरान शामिल किए गए 3रे पक्ष के externalKey द्वारा "Fields" ढूंढें।

विकल्प 1 getFields क्वेरी का उपयोग करते हुए

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

विकल्प 2 getFarms क्वेरी का उपयोग करते हुए

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

Last updated

Was this helpful?