User Tools

Site Tools


ors-soap-api:public:getunits

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Last revision Both sides next revision
ors-soap-api:public:getunits [2015/02/18 20:32]
admin created
ors-soap-api:public:getunits [2015/02/18 21:33]
admin [Return parameters]
Line 24: Line 24:
  
 <​code>​ <​code>​
-array+Array
 ( (
     [objects] => Array     [objects] => Array
Line 34: Line 34:
                     [objectPlace] => Strunjan                     [objectPlace] => Strunjan
                     [objectCountryIso] => SI                     [objectCountryIso] => SI
-                ​)+                    [units] => Array 
 +                        ( 
 +                            [17281] => Array 
 +                                ( 
 +                                    [id] => 17281 
 +                                    [unitName] => A2+2 
 +                                    [unitType] => AP 
 +                                    [unitView] => pool 
 +                                ) 
 + 
 +                            [17291] => Array 
 +                                ( 
 +                                    [id] => 17291 
 +                                    [unitName] => B4+2 
 +                                    [unitType] => AP 
 +                                    [unitView] => pool 
 +                                ) 
 + 
 +                        ​)
  
-            [1] => Array 
-                ( 
-                    [id] => 5471 
-                    [objectName] => Vile Terme Zreče 
-                    [objectPlace] => Zreče 
-                    [objectCountryIso] => SI 
                 )                 )
  
-            [2] => Array +        ) 
-                ( + 
-                    [id] => 7871 +)
-                    [objectName] => Villa Piranesi +
-                    [objectPlace] => Piran +
-                    [objectCountryIso] => SI +
-                ​) +
-...+
 </​code>​ </​code>​
  
Line 62: Line 69:
     * ''​objectPlace''​ : object place     * ''​objectPlace''​ : object place
     * ''​objectCountryIso''​ : object country ISO code     * ''​objectCountryIso''​ : object country ISO code
 +    * ''​units''​ (array) : list of units
 +      * ''​id''​ : unit ID
 +      * ''​unitName''​ : unit name
 +      * ''​unitType''​ : unit type
 +      * ''​unitView''​ : unit view
        
 ===== Examples ===== ===== Examples =====
ors-soap-api/public/getunits.txt · Last modified: 2015/02/18 21:35 by admin