Wiki source code of addresses_delete.php

Last modified by YellowFox_RD on 2024/12/19 10:11

Hide last authors
YellowFox_RD 1.1 1 (% class="box" %)
Dominic Lippmann 2.1 2 (((
3 Table of Contents
4 )))
5
YellowFox_RD 1.1 6 {{toc/}}
7
Dominic Lippmann 2.1 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
YellowFox_RD 1.1 16 = Parameter =
Dominic Lippmann 2.1 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)
YellowFox_RD 1.1 23 * like
Dominic Lippmann 2.1 24 )))|no
25 |searchlogic|if the parameters are to be linked with "and" or an "or"|string|(((
26 * and (standard)
YellowFox_RD 1.1 27 * or
Dominic Lippmann 2.1 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
YellowFox_RD 1.1 40
Dominic Lippmann 2.1 41 At least one search parameter must be set.
YellowFox_RD 1.1 42
Dominic Lippmann 2.1 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}}
YellowFox_RD 1.1 51