addresses_delete.php [Original Seitentitel]
Deletes all searched addresses.
Description
POST addresses_delete.php?company=COMPANY_RTIKEY&import=IMPORT_RTIKEY&name1=Test&city=Dresden&searchtype=like&searchlogic=or
Parameter
Parameter | Description | Typ | Note | Mandatory |
---|---|---|---|---|
company | RTI company key | string | yes | |
import | RTI import key | string | yes | |
searchtype | should be searched with "exact" or "like" | string |
| no |
searchlogic | if the parameters are to be linked with "and" or an "or" | string |
| no |
name1 | search parameter name 1 | string | no | |
name2 | search parameter name 2 | string | no | |
street | search parameter street | string | no | |
number | search parameter street number | string | no | |
zipcode | search parameter zipcode | string | no | |
country | search parameter country code | string | no | |
comment | search parameter comment | string | no | |
city | search parameter name | string | no | |
phone | search parameter telephone | string | no | |
search parameter e-mail | string | no | ||
posdesc | search parameter position-description | string | no |
At least one search parameter must be set.
Return
A string is returned."OK:X_ADDRESSES_DELETED" is returned. In case of an error, "ERROR:Beschreibung" is returned
Example call
delete with 2 different search parameters
https://dev.yellowfox.de/rti/addresses_get.php?company=COMPANY_RTIKEY&import=IMPORT_RTIKEY&city=Dresden&name1=Test&searchtype=like&searchlogic=or