Búsqueda Predictiva

Lección Progress
0% Completo

Definición WSDL

Generalidades

En el método POST, los campos que no se completan deben ser etiquetados de todas formas. Por ejemplo, si no se informa el campo gender, la etiqueta gender:» «, debe existir dentro del mensaje.(Próximamente)

Para ver más detalles de los atributos: Descripción Búsqueda Predictiva.

Formato de Entrada Búsqueda Predictiva, Método GET

http://api.merlindataquality.com/2.0/predictiveaddresssearch.json?clientAccessCode=ACCESSCODE&level1=AR&stringSearch=buenos

Formato de Entrada Búsqueda Predictiva, Método GET

http://sws.merlindataquality.com/2.0/predictiveaddresssearch.json?clientAccessCode=ACCESSCODE&level1=AR&stringSearch=buenos

Formato de Salida Búsqueda Predictiva

{
   "status":"SD",
   "statusReason":"SM",
   "remainingCredits":"",
   "transactionId":"",
   "mSuggest":[
      {
         "level1":"AR",
         "level2":"BUENOS AIRES",
         "level3":"PEHUAJO ",
         "level4":"ABEL",
         "level5":"",
         "suggestedItem":"",
         "street":"",
         "houseNumber":"0",
         "postalCode":"",
         "latitude":"-35.617993",
         "longitude":"-62.004667",
         "label":", ABEL, BUENOS AIRES",
         "locationType":"CITY",
         "merlinCustomValues":[

         ]
      },
      {
         "level1":"AR",
         "level2":"BUENOS AIRES",
         "level3":"AZUL ",
         "level4":"AZUL",
         "level5":"",
         "suggestedItem":"",
         "street":"",
         "houseNumber":"0",
         "postalCode":"",
         "latitude":"-36.777488",
         "longitude":"-59.863553",
         "label":", AZUL, BUENOS AIRES",
         "locationType":"CITY",
         "merlinCustomValues":[

         ]
      },
      {
         "level1":"AR",
         "level2":"CORDOBA",
         "level3":"RIO CUARTO ",
         "level4":"BULNES",
         "level5":"",
         "suggestedItem":"",
         "street":"BUENOS AIRES",
         "houseNumber":"0",
         "postalCode":"5845 ",
         "latitude":"-33.505395",
         "longitude":"-64.675322",
         "label":"BUENOS AIRES, BULNES, CORDOBA",
         "locationType":"STREET",
         "merlinCustomValues":[

         ]
      },
      {
         "level1":"AR",
         "level2":"BUENOS AIRES",
         "level3":"AYACUCHO ",
         "level4":"FAIR",
         "level5":"",
         "suggestedItem":"",
         "street":"",
         "houseNumber":"0",
         "postalCode":"",
         "latitude":"-37.066156",
         "longitude":"-58.302124",
         "label":", FAIR, BUENOS AIRES",
         "locationType":"CITY",
         "merlinCustomValues":[

         ]
      },
      {
         "level1":"AR",
         "level2":"BUENOS AIRES",
         "level3":"CORONEL DORREGO",
         "level4":"GIL",
         "level5":"",
         "suggestedItem":"",
         "street":"",
         "houseNumber":"0",
         "postalCode":"",
         "latitude":"-38.792084",
         "longitude":"-60.909036",
         "label":", GIL, BUENOS AIRES",
         "locationType":"CITY",
         "merlinCustomValues":[

         ]
      },
      {
         "level1":"AR",
         "level2":"BUENOS AIRES",
         "level3":"GENERAL ARENALES",
         "level4":"HAM",
         "level5":"",
         "suggestedItem":"",
         "street":"",
         "houseNumber":"0",
         "postalCode":"",
         "latitude":"-34.227745",
         "longitude":"-61.244366",
         "label":", HAM, BUENOS AIRES",
         "locationType":"CITY",
         "merlinCustomValues":[

         ]
      },
      {
         "level1":"AR",
         "level2":"BUENOS AIRES",
         "level3":"ALBERTI ",
         "level4":"PLA",
         "level5":"",
         "suggestedItem":"",
         "street":"",
         "houseNumber":"0",
         "postalCode":"",
         "latitude":"-35.126449",
         "longitude":"-60.219876",
         "label":", PLA, BUENOS AIRES",
         "locationType":"CITY",
         "merlinCustomValues":[

         ]
      },
      {
         "level1":"AR",
         "level2":"BUENOS AIRES",
         "level3":"CHASCOMUS ",
         "level4":"ADELA",
         "level5":"",
         "suggestedItem":"",
         "street":"",
         "houseNumber":"0",
         "postalCode":"",
         "latitude":"-35.684877",
         "longitude":"-57.956156",
         "label":", ADELA, BUENOS AIRES",
         "locationType":"CITY",
         "merlinCustomValues":[

         ]
      },
      {
         "level1":"AR",
         "level2":"BUENOS AIRES",
         "level3":"MERCEDES ",
         "level4":"AGOTE",
         "level5":"",
         "suggestedItem":"",
         "street":"",
         "houseNumber":"0",
         "postalCode":"",
         "latitude":"-34.645016",
         "longitude":"-59.359276",
         "label":", AGOTE, BUENOS AIRES",
         "locationType":"CITY",
         "merlinCustomValues":[

         ]
      },
      {
         "level1":"AR",
         "level2":"BUENOS AIRES",
         "level3":"GUAMINI ",
         "level4":"ALAMOS",
         "level5":"",
         "suggestedItem":"",
         "street":"",
         "houseNumber":"0",
         "postalCode":"",
         "latitude":"-36.894234",
         "longitude":"-62.356312",
         "label":", ALAMOS, BUENOS AIRES",
         "locationType":"CITY",
         "merlinCustomValues":[

         ]
      }
   ]
}