Last modified by YellowFox_RD on 2025/03/12 14:43

From version 2.1
edited by Dominic Lippmann
on 2025/03/04 16:40
Change comment: There is no comment for this version
To version 1.1
edited by Dominic Lippmann
on 2025/03/04 16:39
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1,26 +1,20 @@
1 1  (% class="box" %)
2 -(((
3 -Table of Contents
4 -)))
5 -
2 +(((Table of Contents)))
6 6  {{toc/}}
7 7  
8 8  Return the item profiles including assigned detail values.
9 -
10 10  = Description =
11 -
12 12  (% class="green mark" %)**GET**(%%)//**/inventory/get_profiles.php?company**=RTI_COMPANYKEY**&import**=IMPORTKEY//
13 13  
14 14  = Parameter =
15 -
16 16  |=Parameter|=Descriptions|=Type|=Hint|=Mandatory
17 -|company|RTI company key|string| |yes
18 -|import|RTI import key|string| |yes
19 -|offset| |unsigned int|Pro Abfrage werden bis zu 1000 Einträge zurück geliefert. Um weitere Einträge zu erhalten, können Sie ein Offset angeben.|no
11 +|company|RTI company key|string||yes
12 +|import|RTI import key|string||yes
13 +|offset||unsigned int|Pro Abfrage werden bis zu 1000 Einträge zurück geliefert.  Um weitere Einträge zu erhalten, können Sie ein Offset angeben.|no
20 20  |profiles[]|profiles UUID|[] string|optional limitation to a list of given profiles|no
21 21  |objects[]|objects UUID|[] string|optional limitaiton to a list of given items|no
22 22  |groups[]|group UUID|[] string|optional limitiation to a list of given object groups|no
23 -|with_beacon|Beacon position updates|bool|(((
17 +|with_beacon|Beacon position updates|bool| (((
24 24  * false: only return booked item or state changes
25 25  * true: additionally return all beacon position updates(((
26 26  * Keep in mind: This may result in large response data.
... ... @@ -27,12 +27,11 @@
27 27  )))
28 28  )))|no
29 29  
24 += =
30 30  = Return value =
31 -
32 32  On success you will receive the result as json. On missing parameters or errors you will receive "(% class="error" %)**ERROR:description**(%%)".
33 33  
34 34  == Possible error values ==
35 -
36 36  |=Fehler|=Beschreibung
37 37  |ERROR_MAINTENANCE|Your company is under maintenance, no RTI request are possible at the moment.
38 38  |INVALID_COMPANY|Company not found. Company key or import key might be faulty.
... ... @@ -42,13 +42,11 @@
42 42  |INVALID_FORMAT_OFFSET|Offset value faulty
43 43  
44 44  = JSON =
45 -
46 46  You can access the specification as a JSON Schema file [[here>>https://map.yellowfox.de/rti/schema/get_profiles_schema.json]].
47 47  
48 48  **Output example**
49 49  
50 -{{code language="js"}}
51 -{
42 +{{code language="js"}}{
52 52      "_date": "2025-02-26T10:26:09+01:00",
53 53      "_links": {
54 54          "next": {
... ... @@ -130,11 +130,8 @@
130 130              ]
131 131          }
132 132      ]
133 -}
134 -{{/code}}
124 +}{{/code}}
135 135  
136 136  = Example calls =
127 +{{code language="java"}}https://[[map.yellowfox.de/rti/inventory/get_profiles.php?company=COMPANY_RTIKEY&import=IMPORT_RTIKEY>>http://map.yellowfox.de/rti/inventory/get_inventories.php?company=COMPANY_RTIKEY&import=IMPORT_RTIKEY]]{{/code}}
137 137  
138 -{{code language="java"}}
139 -https://[[map.yellowfox.de/rti/inventory/get_profiles.php?company=COMPANY_RTIKEY&import=IMPORT_RTIKEY>>http://map.yellowfox.de/rti/inventory/get_inventories.php?company=COMPANY_RTIKEY&import=IMPORT_RTIKEY]]
140 -{{/code}}