address_new.php

Last modified by YellowFox_RD on 2025/01/23 09:12

Table of Contents

address_new.php

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

ParameterDescriptionTypNoteMandatory
companyRTI company keystring yes
importRTI import keystring yes
name1name 1stringmax. 100 charactersyes
name2name 2stringmax. 100 charactersno
streetstreetnamestringmax. 100 charactersno
numberstreet numberstringmax. 10 charactersno
zipcodezipcodestringmax. 100 charactersno
citycitynamestringmax. 100 charactersno
countrycountrytagstringmax. 3 charactersno
mapmap view activeint0 = invisible, 1 = visible (geocoordinates must be available)no
latlatitudefloat-90 to +90 in format WGS84no
lonlongitudefloat-180 to +180 in format WGS84no
posdescposition descriptionstringmax. 100 characters, displayed as text on the map and in position listsno
commentcommentstringmax. 2000 charactersno
phonephonenumberstringmax. 100 charactersno
emaile-mailstringmax. 100 charactersno

Return

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