ঠিকানা গ্রহণ করুন - উদাহরণ

এই ডকুমেন্টটি বাস্তব জগতের বেশ কয়েকটি পরিস্থিতি বর্ণনা করে যেখানে ঠিকানা যাচাইকরণ API আপনার সিস্টেম থেকে গ্রহণযোগ্য আচরণের নিশ্চয়তা দেয় এমন প্রতিক্রিয়া সংকেত প্রদান করে। প্রসঙ্গের জন্য আপনার বৈধতা যুক্তি তৈরি করুন বিভাগে উদাহরণ কর্মপ্রবাহ দেখুন।

সাধারণ উদাহরণ: গ্রহণ করুন

This scenario illustrates an address in which your system would accept an address entered by a customer.

ঠিকানা লেখা হয়েছে অঞ্চল
৭৬ বাকিংহাম প্যালেস রোড, লন্ডন SW1W 9TQ যুক্তরাজ্য

একটি গ্রহণযোগ্য ঠিকানার রায়

The example below highlights the important signals.

{
  "inputGranularity": "PREMISE",
  "validationGranularity": "PREMISE",
  "geocodeGranularity": "PREMISE",
  "addressComplete": true
}

In addition to this, the response indicates the following:

  • hasUnconfirmedComponents false রয়ে গেছে
  • hasInferredComponents false রয়ে গেছে
  • hasReplacedComponents false রয়ে গেছে
  • hasSpellCorrectedComponents false রয়ে গেছে

When combined together, these signals indicate a high-quality address.

এজ কেসের উদাহরণ: গ্রহণ করুন

নিম্নলিখিত উদাহরণগুলি এমন পরিস্থিতিগুলিকে অন্তর্ভুক্ত করে যেখানে verdict এমন মানের সমস্যাগুলির সমাধানের ইঙ্গিত দেয় যা আরও তদন্তের দাবি রাখে। এই উদাহরণগুলি আরও দেখায় যে কীভাবে আপনার যুক্তি রায় থেকে ঠিকানা উপাদানগুলিতে ভ্রমণ করতে পারে যাতে আপনার সিস্টেমের যুক্তি উন্নত করার জন্য আরও সম্পূর্ণ চিত্র পাওয়া যায়।

মার্কিন যুক্তরাষ্ট্রের বাইরের অ-অনিশ্চিত রাস্তার নম্বর

This example illustrates entry of an Italian address with all address components present, along with no inferred or replaced components. However, the validationGranularity is ROUTE .

ঠিকানা লেখা হয়েছে অঞ্চল
Fonte Grugnale এর মাধ্যমে, 14 ইউনিট 2, 66054 Vasto CH, Italia আইটি

একটি অনিশ্চিত রাস্তার নম্বরের রায়

{
  "inputGranularity": "SUB_PREMISE",
  "validationGranularity": "ROUTE",
  "geocodeGranularity": "ROUTE",
  "addressComplete": true,
  "hasUnconfirmedComponents": true
}

Further investigation of the address components reveals that the street number is UNCONFIRMED_BUT_PLAUSIBLE .

{
   "text": "14",
   "componentType": "street_number",
   "confirmationLevel": "UNCONFIRMED_BUT_PLAUSIBLE"
}

মার্কিন যুক্তরাষ্ট্রের অনিশ্চিত রাস্তার নম্বর

This example illustrates entry of a US address with all address components present, with no inferred or replaced components. However, the validationGranularity is PREMISE_PROXIMITY .

ঠিকানা লেখা হয়েছে অঞ্চল
৯৭৫ কারসন ডক্টর, সানিভেল, সিএ ৯৪০৮৬ মার্কিন যুক্তরাষ্ট্র

একটি অনিশ্চিত রাস্তার নম্বরের জন্য USPS ডেটা

{
   "firstAddressLine": "975 CARSON DR",
   "cityStateZipAddressLine": "SUNNYVALE CA 94086",
   "city": "SUNNYVALE",
   "state": "CA",
   "zipCode": "94086"
   "dpvConfirmation": "N",
   "dpvFootnote": "AAM3",
   "carrierRoute": "C031",
   "carrierRouteIndicator": "D",
   "postOfficeCity": "SUNNYVALE",
   "postOfficeState": "CA",
   "fipsCountyCode": "085",
   "county": "SANTA CLARA",
}

একটি নিশ্চিত ঠিকানার জন্য অসম্পূর্ণ USPS ডেটা

এই উদাহরণটি এমন একটি মার্কিন ঠিকানার প্রবেশের চিত্র তুলে ধরে যেখানে সমস্ত ঠিকানা উপাদান নিশ্চিত করা হয়েছে, কোনও অনুমান বা প্রতিস্থাপিত উপাদান নেই, এবং PREMISE এর একটি validationGranularity রয়েছে। তবে, uspsData সম্পূর্ণরূপে পূরণ করা হয়নি এবং এতে dpvConfirmation মান নেই।

ঠিকানা লেখা হয়েছে অঞ্চল
155 Via Condado Way, Palm Beach Gardens, FL 33418-1703 মার্কিন যুক্তরাষ্ট্র

Verdict for a confirmed address with incomplete USPS data

{
  "inputGranularity": "PREMISE",
  "validationGranularity": "PREMISE",
  "geocodeGranularity": "PREMISE",
  "addressComplete": true,
}

USPS data for a confirmed address with incomplete USPS data

{
  "standardizedAddress": {
    "firstAddressLine": "155 VIA CONDADO WAY",
    "cityStateZipAddressLine": "PALM BEACH GARDENS",
    "city": "PALM BEACH GARDENS",
    "state": "FL",
    "zipCode": "33418"
  },
  "carrierRoute": "H018",
  "postOfficeCity": "PALM BEACH GARDENS",
  "postOfficeState": "FL"
}