address_new.php [Original Seitentitel]
Creates a new customer address.
Description
POST address_new.php?company=COMPANY_RTIKEY&import=IMPORT_RTIKEY&name1=YellowFox%20GmbH&street=Hauptstraße&number=1a&zipcode=01257&city=Kesselsdorf&country=D&posdesc=YellowFox%20Headquarter&map=1&lat=51.0374&lon=13.587813
Parameter
Parameter | Description | Typ | Note | Mandatory |
---|---|---|---|---|
company | RTI company key | string | yes | |
import | RTI import key | string | yes | |
name1 | name 1 | string | max. 100 characters | yes |
name2 | name 2 | string | max. 100 characters | no |
street | streetname | string | max. 100 characters | no |
number | street number | string | max. 10 characters | no |
zipcode | zipcode | string | max. 100 characters | no |
city | cityname | string | max. 100 characters | no |
country | countrytag | string | max. 3 characters | no |
map | map view active | int | 0 = invisible, 1 = visible (geocoordinates must be available) | no |
lat | latitude | float | -90 to +90 in format WGS84 | no |
lon | longitude | float | -180 to +180 in format WGS84 | no |
posdesc | position description | string | max. 100 characters, displayed as text on the map and in position lists | no |
comment | comment | string | max. 2000 characters | no |
phone | phonenumber | string | max. 100 characters | no |
string | max. 100 characters | no |
Return
A string is returned. If successful, "OK" is returned as the response. Otherwise an "ERROR:Beschreibung" is returned.
Example call
create address
https://map.yellowfox.de/rti/address_new.php?company=COMPANY_RTIKEY&import=IMPORT_RTIKEY&name1=YellowFox%20GmbH&posdesc=YellowFox%20GmbH&street=Am%20Wüsteberg&number=3&zipcode=01723&city=Kesselsdorf&country=D&map=1&lat=51.036423&lon=13.598794