Wiki source code of addresses_delete.php
Last modified by YellowFox_RD on 2025/01/23 09:12
Show last authors
author | version | line-number | content |
---|---|---|---|
1 | (% class="box" %) | ||
2 | ((( | ||
3 | Table of Contents | ||
4 | ))) | ||
5 | |||
6 | {{toc/}} | ||
7 | |||
8 | = addresses_delete.php = | ||
9 | |||
10 | Deletes all searched addresses. | ||
11 | |||
12 | = Description = | ||
13 | |||
14 | (% class="blue mark" %)**POST**(%%)** addresses_delete.php**?**company**=COMPANY_RTIKEY&**import**=IMPORT_RTIKEY&**name1**=Test&**city**=Dresden&**searchtype**=like&**searchlogic**=or | ||
15 | |||
16 | = Parameter = | ||
17 | |||
18 | |=Parameter|=Description|=Typ|=Note|=Mandatory | ||
19 | |company|RTI company key|string| |yes | ||
20 | |import|RTI import key|string| |yes | ||
21 | |searchtype|should be searched with "exact" or "like"|string|((( | ||
22 | * exact (standard) | ||
23 | * like | ||
24 | )))|no | ||
25 | |searchlogic|if the parameters are to be linked with "and" or an "or"|string|((( | ||
26 | * and (standard) | ||
27 | * or | ||
28 | )))|no | ||
29 | |name1|search parameter name 1|string| |no | ||
30 | |name2|search parameter name 2|string| |no | ||
31 | |street|search parameter street|string| |no | ||
32 | |number|search parameter street number|string| |no | ||
33 | |zipcode|search parameter zipcode|string| |no | ||
34 | |country|search parameter country code|string| |no | ||
35 | |comment|search parameter comment|string| |no | ||
36 | |city|search parameter name|string| |no | ||
37 | |phone|search parameter telephone|string| |no | ||
38 | |email|search parameter e-mail|string| |no | ||
39 | |posdesc|search parameter position-description|string| |no | ||
40 | |||
41 | At least one search parameter must be set. | ||
42 | |||
43 | = Return = | ||
44 | |||
45 | A **string** is returned."**OK:X_ADDRESSES_DELETED**" is returned. In case of an error, "(% class="error" %)**ERROR:Beschreibung**(%%)" is returned | ||
46 | |||
47 | = Example call = | ||
48 | |||
49 | **delete with 2 different search parameters** | ||
50 | {{code language="java"}}https://dev.yellowfox.de/rti/addresses_get.php?company=COMPANY_RTIKEY&import=IMPORT_RTIKEY&city=Dresden&name1=Test&searchtype=like&searchlogic=or{{/code}} | ||
51 |