Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Sv translation
languageen

addresses_get.php [Original Seitentitel]

Returns a list of all addresses searched for.

Description

Status
colourGreen
titleGET
 addresses_get.php?company=COMPANY_RTIKEY&import=IMPORT_RTIKEY&name1=Test&city=Dresden&searchtype=like&searchlogic=or&format=json

Parameter

parameterParameterdescriptionDescriptiontypTypnoteNotemandatoryMandatory
companyRTI company keystring
yes
importRTI Importschlüsselstring
yes
formatformatstring
  • json (standard)
  • csv
  • xml
no
searchtypeshould be searched with "exact" or "like"string
  • exact (standard)
  • like

no

searchlogicif the parameters are to be linked with "and" or an "or"string
  • and (standard)
  • or


no 
name1search parameter name 1string
no
name2search parameter name 2string
no
streetsearch parameter streetstring
no
numbersearch parameter streetnumberstring
no
zipcodesearch parameter zipcodestring
no
countrysearch parameter country-codestring
no
commentsearch parameter commentstring
no
citysearch parameter citystring
no
phonesearch parameter phonestring
no
emailsearch parameter e-mailstring
no
posdescsearch parameter position descriptionstring
no


Retrurn

string gets returned. In case of error, "ERROR:Beschreibung" zurückgegeben

JSON format

Column

columndescription
name1name 1
name2name 2
streetstreetname
numberstreetnumber
zipcodezipcode
citycityname
countrycountry-code
mapmap active?0 = no, 1 = yes
commentcomment
posdescposition description textwill be displayed on map, position list
latlatitude
lonlongitude
phonephone
emaile-mail

Example

Code Block
titlereturn in json
[{"name1":"ASDF Test-2","name2":"","street":"Hariboweg","number":"7","zipcode":"","city":"Gummib\u00e4renstadt","country":"D","map":"0","comment":"","posdesc":"","lat":null,"lon":null,"phone":"","email":""},{"name1":"IrlandTest","name2":"","street":"Main Street","number":"1","zipcode":"","city":"Dublin","country":"IRL","map":"1","comment":"","posdesc":"IrlandTest","lat":"53.3884","lon":"-6.2983","phone":"","email":""}]

CSV Format

Metainformationen

SeparatorSemikolon ( ; )
textlimitTextlimitDoppeltes Hochkomma ( " )
end End of line0x0D 0x0A (CarriageReturn LineFeed)
headerHeaderZeile 1
encodingEncodingUTF-8

Column

columnColumndescriptionDescription
name1name 1
name2name 2
streetstreetname
numberstreetnumber
zipcodezipcode
citycityname
countrycountry-code
mapmap active?0 = no, 1 = yes
commentcomment
posdescposition description textwill be displayed on map, position list
latlatitude
lonlongitude
phonephone
emaile-mail

Example

Code Block
titlereturn in csv
"NAME1";"NAME2";"STREET";"NR";"ZIP";"CITY";"COUNTRY";"MAP";"COMMENT";"DESC";"LAT";"LON";"PHONE";"EMAIL"
"ASDF Test-2";"";"Hariboweg";"7";"";"Gummibärenstadt";"D";"0";"";"";"";"";"";""
"IrlandTest";"";"Main Street";"1";"";"Dublin";"IRL";"1";"";"IrlandTest";"53.3884";"-6.2983";"";""


XML format

Column

columnColumndescriptionDescription
name1name 1
name2name 2
streetstreetname
numberstreetnumber
zipcodezipcode
citycityname
countrycountry-code
mapmap active?0 = no, 1 = yes
commentcomment
posdescposition description textwill be displayed on map, position list
latlatitude
lonlongitude
phonephone
emaile-mail

Example

Code Block
languagexml
<?xml version="1.0" encoding="UTF-8"?>
<addresses>
   <address>
      <name1>ASDF Test-2</name1>
      <name2 />
      <street>Hariboweg</street>
      <number>7</number>
      <zipcode />
      <city>Gummibärenstadt</city>
      <country>D</country>
      <map>0</map>
      <comment />
      <posdesc />
      <lat />
      <lon />
      <phone />
      <email />
   </address>
   <address>
      <name1>IrlandTest</name1>
      <name2 />
      <street>Main Street</street>
      <number>1</number>
      <zipcode />
      <city>Dublin</city>
      <country>IRL</country>
      <map>1</map>
      <comment />
      <posdesc>IrlandTest</posdesc>
      <lat>53.3884</lat>
      <lon>-6.2983</lon>
      <phone />
      <email />
   </address>
</addresses>

Example call

Code Block
titlesearch with 2 different search criteria
 httpshttps://map.yellowfox.de/rti/addresses_get.php?company=COMPANY_RTIKEY&import=IMPORT_RTIKEY&city=Dresden&name1=Test&searchtype=like&searchlogic=or&format=csv