Point of Interest » History » Version 1
Eric Vieillevigne, 05/12/2015 01:39 PM
| 1 | 1 | Eric Vieillevigne | h1. Point Of interest- POI |
|---|---|---|---|
| 2 | |||
| 3 | The poi API is used to manage the Point of interest entered by the member of the family. |
||
| 4 | |||
| 5 | h2. Get POI List- _poigetall_ |
||
| 6 | |||
| 7 | The method poigetall enables a logged user to retrieve all the POI shared by the family |
||
| 8 | |||
| 9 | By sending an HTTP request http://devserver/api/poi/getall? |
||
| 10 | |||
| 11 | *Parameters*: |
||
| 12 | |||
| 13 | No parameters necessary for this method |
||
| 14 | |||
| 15 | |||
| 16 | The method returns the list of POI Ipoi. |
||
| 17 | |||
| 18 | |||
| 19 | *Response*: |
||
| 20 | <pre><code class="javascript"> |
||
| 21 | { |
||
| 22 | "cn":"poigetall", |
||
| 23 | "feed":[ |
||
| 24 | { |
||
| 25 | "isTemporary":"true",/*Is Temporary is used for temporary location suchas phone location*/ |
||
| 26 | "accountId":"133",/*Author of the POi*/ |
||
| 27 | "mapURI":"http:\/\/devserver\/media\/144_5790?",/*Url address of the google map*/ |
||
| 28 | "placeTips":[],/*associated tip*/ |
||
| 29 | "placeId":"144_1453",/*Unique Id of the place*/ |
||
| 30 | "address":{/*Geocoding information*/ |
||
| 31 | "latitudeE6":"48824623", |
||
| 32 | "attribute3ZipCode":"92310", |
||
| 33 | "attribute2Town":"Sèvres", |
||
| 34 | "attribute0Country":"France", |
||
| 35 | "attribute4Line":"Chemin de Halage", |
||
| 36 | "radius":"230", |
||
| 37 | "formattedAddress":"Chemin de Halage, 92310 Sèvres, France", |
||
| 38 | "longitudeE6":"2228993", |
||
| 39 | "accuracy":"5",/*Accuracy please see Google Map documentation*/ |
||
| 40 | "attribute1State":"Île-de-France" |
||
| 41 | }, |
||
| 42 | "name":"Chemin de Halage 92310 Sèvres France",/*Name of the place*/ |
||
| 43 | "pictureURIs":[],/*Define picture of the place*/ |
||
| 44 | "placeType":"UNKNOWN"/*Type of the place*/ |
||
| 45 | },{ |
||
| 46 | "isTemporary":"true", |
||
| 47 | "accountId":"133", |
||
| 48 | "mapURI":"http:\/\/devserver\/media\/144_8631?", |
||
| 49 | "placeTips":[], |
||
| 50 | "placeId":"144_1856", |
||
| 51 | "address":{ |
||
| 52 | "latitudeE6":"48899165", |
||
| 53 | "attribute3ZipCode":"92110", |
||
| 54 | "attribute2Town":"Clichy", |
||
| 55 | "attribute0Country":"France", |
||
| 56 | "attribute4Line":"40 Boulevard Jean Jaurès", |
||
| 57 | "radius":"125", |
||
| 58 | "formattedAddress":"40 Boulevard Jean Jaurès, 92110 Clichy, France", |
||
| 59 | "longitudeE6":"2307130", |
||
| 60 | "accuracy":"5", |
||
| 61 | "attribute1State":"Île-de-France" |
||
| 62 | }, |
||
| 63 | "name":"40 Boulevard Jean Jaurès 92110 Clichy France", |
||
| 64 | "pictureURIs":[], |
||
| 65 | "placeType":"UNKNOWN" |
||
| 66 | } |
||
| 67 | |||
| 68 | } |
||
| 69 | ] |
||
| 70 | } |
||
| 71 | </code></pre> |
||
| 72 | |||
| 73 | |||
| 74 | *Error*: |
||
| 75 | |*Error Code*|*Type*|*Value*|*Description*| |
||
| 76 | |FizMediaQuotaExceededException|ex|601|Media Quota exceedded| |
||
| 77 | |FizApiUnattendedException|un|500|Unattended Exception| |
||
| 78 | |FizAccountNotFoundInSessionException|un|501|Session is invalid| |
||
| 79 | |FizApiInvalidParameterException|un|502|invalid token| |
||
| 80 | |FizApiModelDoesNotExistException|un|503|Object does not exists| |
||
| 81 | |FizApiModelRightException|un|504|Right exception to use this method| |
||
| 82 | |||
| 83 | |||
| 84 | h2. Get POI - _poiget_ |
||
| 85 | |||
| 86 | The method poiget enables a logged user to retreive a poi with a specific placeId. |
||
| 87 | |||
| 88 | By sending an HTTP request http://devserver/api/poi/get?placeId=144_1453 |
||
| 89 | |||
| 90 | *Parameters*: |
||
| 91 | |*Name*|*Type*|*Description*| |
||
| 92 | |placeId|String|Place Id of the POI queried| |
||
| 93 | |||
| 94 | |||
| 95 | The method returns the POI information Iplace. |
||
| 96 | |||
| 97 | |||
| 98 | *Response*: |
||
| 99 | <pre><code class="javascript"> |
||
| 100 | { |
||
| 101 | "cn":"poiget", |
||
| 102 | "feed":{ |
||
| 103 | "isTemporary":"true", |
||
| 104 | "accountId":"133", |
||
| 105 | "mapURI":"http:\/\/devserver\/media\/144_5790?", |
||
| 106 | "placeTips":[], |
||
| 107 | "placeId":"144_1453", |
||
| 108 | "address":{ |
||
| 109 | "latitudeE6":"48824623", |
||
| 110 | "attribute3ZipCode":"92310", |
||
| 111 | "attribute2Town":"Sèvres", |
||
| 112 | "attribute0Country":"France", |
||
| 113 | "attribute4Line":"Chemin de Halage", |
||
| 114 | "radius":"230", |
||
| 115 | "formattedAddress":"Chemin de Halage, 92310 Sèvres, France", |
||
| 116 | "longitudeE6":"2228993", |
||
| 117 | "accuracy":"5", |
||
| 118 | "attribute1State":"Île-de-France" |
||
| 119 | }, |
||
| 120 | "name":"Chemin de Halage 92310 Sèvres France", |
||
| 121 | "pictureURIs":[], |
||
| 122 | "placeType":"UNKNOWN" |
||
| 123 | } |
||
| 124 | } |
||
| 125 | </code></pre> |
||
| 126 | |||
| 127 | |||
| 128 | *Error*: |
||
| 129 | |*Error Code*|*Type*|*Value*|*Description*| |
||
| 130 | |FizMediaQuotaExceededException|ex|601|Media Quota exceedded| |
||
| 131 | |FizApiUnattendedException|un|500|Unattended Exception| |
||
| 132 | |FizAccountNotFoundInSessionException|un|501|Session is invalid| |
||
| 133 | |FizApiInvalidParameterException|un|502|invalid token| |
||
| 134 | |FizApiModelDoesNotExistException|un|503|Object does not exists| |
||
| 135 | |FizApiModelRightException|un|504|Right exception to use this method| |
||
| 136 | |||
| 137 | |||
| 138 | h2. Create a POI - _poicreate_ |
||
| 139 | |||
| 140 | The method poicreate enables a logged user to create a poi. |
||
| 141 | |||
| 142 | By sending an HTTP request http://devserver/api/poi/create?placeId=144_1453 |
||
| 143 | |||
| 144 | *Parameters*: |
||
| 145 | |*Name*|*Type*|*Description*| |
||
| 146 | |name|String|Name of the POI - required field| |
||
| 147 | |geocodedAddress.accuracy|String|accuracy of the address (0 if a country, 5 if a precise address with street number)| |
||
| 148 | |geocodedAddress.attribute0Country|string|Country where the address is| |
||
| 149 | |geocodedAddress.attribute1State|string|State where the address is| |
||
| 150 | |geocodedAddress.attribute2Town|string|Town where the address is| |
||
| 151 | |geocodedAddress.attribute3ZipCode|string|Zipcode where the address is| |
||
| 152 | |geocodedAddress.attribute4Line|string|line of the address (ex : 3 st-james street)| |
||
| 153 | |geocodedAddress.formattedAddress|string|the well formatted address latitude as an int| |
||
| 154 | |geocodedAddress.latitudeE6|string|the well formatted address latitude as an int (* 1 000 000)| |
||
| 155 | |geocodedAddress.longitudeE6|string|the well formatted address longitude as an int (* 1 000 000)| |
||
| 156 | |geocodedAddress.radius|string|the radius of the place in meter| |
||
| 157 | |placeType|String Value|Place Type UNKNOWN,SPORT,SCHOOL,HOME,SHOPPING,MUSIC,PARK,WORK| |
||
| 158 | |contactId|String|contact Id of the contact linked to the place (e.g. Place of Mr. Smith)| |
||
| 159 | |text|String|text describing the place| |
||
| 160 | |picture|binary or url|multiples files to attach with a place| |
||
| 161 | |||
| 162 | |||
| 163 | The method returns the POI information Iplace. |
||
| 164 | |||
| 165 | |||
| 166 | *Response*: |
||
| 167 | <pre><code class="javascript"> |
||
| 168 | { |
||
| 169 | "cn":"poicreate", |
||
| 170 | "feed":{ |
||
| 171 | "isTemporary":"true", |
||
| 172 | "accountId":"133", |
||
| 173 | "mapURI":"http:\/\/devserver\/media\/144_5790?", |
||
| 174 | "placeTips":[], |
||
| 175 | "placeId":"144_1453", |
||
| 176 | "address":{ |
||
| 177 | "latitudeE6":"48824623", |
||
| 178 | "attribute3ZipCode":"92310", |
||
| 179 | "attribute2Town":"Sèvres", |
||
| 180 | "attribute0Country":"France", |
||
| 181 | "attribute4Line":"Chemin de Halage", |
||
| 182 | "radius":"230", |
||
| 183 | "formattedAddress":"Chemin de Halage, 92310 Sèvres, France", |
||
| 184 | "longitudeE6":"2228993", |
||
| 185 | "accuracy":"5", |
||
| 186 | "attribute1State":"Île-de-France" |
||
| 187 | }, |
||
| 188 | "name":"Chemin de Halage 92310 Sèvres France", |
||
| 189 | "pictureURIs":[], |
||
| 190 | "placeType":"UNKNOWN" |
||
| 191 | } |
||
| 192 | } |
||
| 193 | </code></pre> |
||
| 194 | |||
| 195 | |||
| 196 | *Error*: |
||
| 197 | |*Error Code*|*Type*|*Value*|*Description*| |
||
| 198 | |FizApiUnattendedException|un|500|Unattended Exception| |
||
| 199 | |FizAccountNotFoundInSessionException|un|501|Session is invalid| |
||
| 200 | |FizApiInvalidParameterException|un|502|invalid token| |
||
| 201 | |FizApiModelDoesNotExistException|un|503|Object does not exists| |
||
| 202 | |FizApiModelRightException|un|504|Right exception to use this method| |
||
| 203 | |||
| 204 | |||
| 205 | h2. Create a simple POI - _poicreatesimple_ |
||
| 206 | |||
| 207 | The method poicreatesimple enables a logged user to rcreate a simple Place with no geocode information necessary (typicaly createsimple is used by web cl. |
||
| 208 | |||
| 209 | By sending an HTTP request http://devserver/api/poi/createsimple?placeId=144_1453 |
||
| 210 | |||
| 211 | *Parameters*: |
||
| 212 | |*Name*|*Type*|*Description*| |
||
| 213 | |name|String|Name of the POI - required field| |
||
| 214 | |address|String|Full Address number street,zipcode,town,country or free form. Address will then be geocoded using google| |
||
| 215 | |placeType|String Value|Place Type UNKNOWN,SPORT,SCHOOL,HOME,SHOPPING,MUSIC,PARK,WORK| |
||
| 216 | |contactId|String|contact Id of the contact linked to the place (e.g. Place of Mr. Smith)| |
||
| 217 | |text|String|text describing the place| |
||
| 218 | |picture|binary or url|multiples files to attach with a place| |
||
| 219 | |||
| 220 | |||
| 221 | The method returns the POI information Iplace. |
||
| 222 | |||
| 223 | |||
| 224 | *Response*: |
||
| 225 | <pre><code class="javascript"> |
||
| 226 | { |
||
| 227 | "cn":"poicreatesimple", |
||
| 228 | "feed":{ |
||
| 229 | "isTemporary":"false", |
||
| 230 | "accountId":"130", |
||
| 231 | "mapURI":"http:\/\/devserver\/media\/144_11588?", |
||
| 232 | "placeTips":[], |
||
| 233 | "placeId":"144_2008", |
||
| 234 | "address":{ |
||
| 235 | "latitudeE6":"48878318", |
||
| 236 | "attribute3ZipCode":"75017", |
||
| 237 | "attribute2Town":"Paris", |
||
| 238 | "attribute0Country":"France", |
||
| 239 | "attribute4Line":"36 Rue Brunel", |
||
| 240 | "radius":"125", |
||
| 241 | "formattedAddress":"36 Rue Brunel, 75017 Paris, France", |
||
| 242 | "longitudeE6":"2287954", |
||
| 243 | "accuracy":"5", |
||
| 244 | "attribute1State":"Île-de-France" |
||
| 245 | }, |
||
| 246 | "name":"my place", |
||
| 247 | "pictureURIs":[], |
||
| 248 | "placeType":"WORK" |
||
| 249 | } |
||
| 250 | } |
||
| 251 | </code></pre> |
||
| 252 | |||
| 253 | |||
| 254 | *Error*: |
||
| 255 | |*Error Code*|*Type*|*Value*|*Description*| |
||
| 256 | |FizApiUnattendedException|un|500|Unattended Exception| |
||
| 257 | |FizAccountNotFoundInSessionException|un|501|Session is invalid| |
||
| 258 | |FizApiInvalidParameterException|un|502|invalid token| |
||
| 259 | |FizApiModelDoesNotExistException|un|503|Object does not exists| |
||
| 260 | |FizApiModelRightException|un|504|Right exception to use this method| |
||
| 261 | |||
| 262 | h2. POI Update - _poiupdate_ |
||
| 263 | |||
| 264 | The method poiupdate a logged user to update a simple Place with no geocode information necessary . |
||
| 265 | |||
| 266 | By sending an HTTP request http://devserver/api/poi/update |
||
| 267 | |||
| 268 | *Parameters*: |
||
| 269 | |*Name*|*Type*|*Description*| |
||
| 270 | |placeId|String|Id of the place to be updated| |
||
| 271 | |name|String|Name of the POI - required field| |
||
| 272 | |address|String|Full Address number street,zipcode,town,country or free form. Address will then be geocoded using google| |
||
| 273 | |placeType|String Value|Place Type UNKNOWN,SPORT,SCHOOL,HOME,SHOPPING,MUSIC,PARK,WORK| |
||
| 274 | |contactId|String|contact Id of the contact linked to the place (e.g. Place of Mr. Smith)| |
||
| 275 | |text|String|text describing the place| |
||
| 276 | |picture|binary or url|multiples files to attach with a place| |
||
| 277 | |||
| 278 | |||
| 279 | The method returns the POI information Iplace. |
||
| 280 | |||
| 281 | |||
| 282 | *Response*: |
||
| 283 | <pre><code class="javascript"> |
||
| 284 | { |
||
| 285 | "cn":"poicreatesimple", |
||
| 286 | "feed":{ |
||
| 287 | "isTemporary":"false", |
||
| 288 | "accountId":"130", |
||
| 289 | "mapURI":"http:\/\/devserver\/media\/144_11588?", |
||
| 290 | "placeTips":[], |
||
| 291 | "placeId":"144_2008", |
||
| 292 | "address":{ |
||
| 293 | "latitudeE6":"48878318", |
||
| 294 | "attribute3ZipCode":"75017", |
||
| 295 | "attribute2Town":"Paris", |
||
| 296 | "attribute0Country":"France", |
||
| 297 | "attribute4Line":"36 Rue Brunel", |
||
| 298 | "radius":"125", |
||
| 299 | "formattedAddress":"36 Rue Brunel, 75017 Paris, France", |
||
| 300 | "longitudeE6":"2287954", |
||
| 301 | "accuracy":"5", |
||
| 302 | "attribute1State":"Île-de-France" |
||
| 303 | }, |
||
| 304 | "name":"my place", |
||
| 305 | "pictureURIs":[], |
||
| 306 | "placeType":"WORK" |
||
| 307 | } |
||
| 308 | } |
||
| 309 | </code></pre> |
||
| 310 | |||
| 311 | |||
| 312 | *Error*: |
||
| 313 | |*Error Code*|*Type*|*Value*|*Description*| |
||
| 314 | |FizApiUnattendedException|un|500|Unattended Exception| |
||
| 315 | |FizAccountNotFoundInSessionException|un|501|Session is invalid| |
||
| 316 | |FizApiInvalidParameterException|un|502|invalid token| |
||
| 317 | |FizApiModelDoesNotExistException|un|503|Object does not exists| |
||
| 318 | |FizApiModelRightException|un|504|Right exception to use this method| |
||
| 319 | |||
| 320 | h2. Create a tip for a POI - _poicreatetip_ |
||
| 321 | |||
| 322 | The method poicreatetip enables a logged user to create a TIP (textual information attach to POI (e.g. 'entry code is 4353434') Place with a specific PlaceId. |
||
| 323 | |||
| 324 | By sending an HTTP request http://devserver/api/poi/createtip?placeId=144_1453&text=My%20new%20tip%20from%20API |
||
| 325 | *Parameters*: |
||
| 326 | |*Name*|*Type*|*Description*| |
||
| 327 | |placeId|String|Id of the place you want to add a tip| |
||
| 328 | |text|String|text describing the tip| |
||
| 329 | |||
| 330 | The method returns the POI information IplaceTip. |
||
| 331 | |||
| 332 | |||
| 333 | *Response*: |
||
| 334 | <pre><code class="javascript"> |
||
| 335 | { |
||
| 336 | "cn":"poicreatetip", |
||
| 337 | "feed":{ |
||
| 338 | "text":"My new tip from API", |
||
| 339 | "accountId":"130", |
||
| 340 | "placeTipId":"144_1453_202" |
||
| 341 | } |
||
| 342 | } |
||
| 343 | </code></pre> |
||
| 344 | |||
| 345 | |||
| 346 | *Error*: |
||
| 347 | |*Error Code*|*Type*|*Value*|*Description*| |
||
| 348 | |FizApiUnattendedException|un|500|Unattended Exception| |
||
| 349 | |FizAccountNotFoundInSessionException|un|501|Session is invalid| |
||
| 350 | |FizApiInvalidParameterException|un|502|invalid token| |
||
| 351 | |FizApiModelDoesNotExistException|un|503|Object does not exists| |
||
| 352 | |FizApiModelRightException|un|504|Right exception to use this method| |
||
| 353 | |||
| 354 | |||
| 355 | h2. delete a POI - _poidelete_ |
||
| 356 | |||
| 357 | The method poidelete enables a logged user to delete a Place with a specific PlaceId. |
||
| 358 | |||
| 359 | By sending an HTTP request http://devserver/api/poi/delete?placeId=144_1453 |
||
| 360 | |||
| 361 | *Parameters*: |
||
| 362 | |*Name*|*Type*|*Description*| |
||
| 363 | |placeId|String|Id of the place you want to add a tip| |
||
| 364 | |||
| 365 | The method returns a boleean. |
||
| 366 | |||
| 367 | *Response*: |
||
| 368 | <pre><code class="javascript"> |
||
| 369 | { |
||
| 370 | "cn":"poidelete", |
||
| 371 | "feed":"true" |
||
| 372 | } |
||
| 373 | </code></pre> |
||
| 374 | |||
| 375 | |||
| 376 | *Error*: |
||
| 377 | |*Error Code*|*Type*|*Value*|*Description*| |
||
| 378 | |FizApiUnattendedException|un|500|Unattended Exception| |
||
| 379 | |FizAccountNotFoundInSessionException|un|501|Session is invalid| |
||
| 380 | |FizApiInvalidParameterException|un|502|invalid token| |
||
| 381 | |FizApiModelDoesNotExistException|un|503|Object does not exists| |
||
| 382 | |FizApiModelRightException|un|504|Right exception to use this method| |
||
| 383 | |||
| 384 | h2. POI Nearby - _poinearby_ |
||
| 385 | |||
| 386 | The method poinearby enables a logged user to list the POI nearby a certain position express in latitude and longitude. |
||
| 387 | |||
| 388 | By sending an HTTP request http://devserver/api/poi/nearby?latitudeE6=48825973&longitudeE6=2226752 |
||
| 389 | |||
| 390 | *Parameters*: |
||
| 391 | |*Name*|*Type*|*Description*| |
||
| 392 | |latitudeE6|string|latitude as an int (* 1 000 000)| |
||
| 393 | |longitudeE6|string|longitude as an int (* 1 000 000)| |
||
| 394 | |||
| 395 | The method returns 2 lists of Iplaces: |
||
| 396 | 1-'nearbyPlaces':Ordered by distance named |
||
| 397 | 2-'otherPlaces'Ordered by name |
||
| 398 | |||
| 399 | *Response*: |
||
| 400 | <pre><code class="javascript"> |
||
| 401 | { |
||
| 402 | "cn":"poinearby", |
||
| 403 | "feed":{ |
||
| 404 | "nearbyPlaces":[ |
||
| 405 | { |
||
| 406 | "isTemporary":"true", |
||
| 407 | "accountId":"133", |
||
| 408 | "mapURI":"http:\/\/devserver\/media\/144_8634?", |
||
| 409 | "placeTips":[], |
||
| 410 | "placeId":"144_1858", |
||
| 411 | "address":{ |
||
| 412 | "latitudeE6":"48825973", |
||
| 413 | "attribute3ZipCode":"92310", |
||
| 414 | "attribute2Town":"Sèvres", |
||
| 415 | "attribute0Country":"France", |
||
| 416 | "attribute4Line":"20 Rue Troyon", |
||
| 417 | "radius":"125", |
||
| 418 | "formattedAddress":"20 Rue Troyon, 92310 Sèvres, France", |
||
| 419 | "longitudeE6":"2226752", |
||
| 420 | "accuracy":"5", |
||
| 421 | "attribute1State":"Île-de-France" |
||
| 422 | }, |
||
| 423 | "name":"20 Rue Troyon 92310 Sèvres France", |
||
| 424 | "pictureURIs":[], |
||
| 425 | "placeType":"UNKNOWN" |
||
| 426 | },{ |
||
| 427 | "isTemporary":"true", |
||
| 428 | "accountId":"133", |
||
| 429 | "mapURI":"http:\/\/devserver\/media\/144_8640?", |
||
| 430 | "placeTips":[], |
||
| 431 | "placeId":"144_1862", |
||
| 432 | "address":{ |
||
| 433 | "latitudeE6":"48825973", |
||
| 434 | "attribute3ZipCode":"92310", |
||
| 435 | "attribute2Town":"Sèvres", |
||
| 436 | "attribute0Country":"France", |
||
| 437 | "attribute4Line":"20 Rue Troyon", |
||
| 438 | "radius":"125", |
||
| 439 | "formattedAddress":"20 Rue Troyon, 92310 Sèvres, France", |
||
| 440 | "longitudeE6":"2226752", |
||
| 441 | "accuracy":"5", |
||
| 442 | "attribute1State":"Île-de-France" |
||
| 443 | }, |
||
| 444 | "name":"20 Rue Troyon 92310 Sèvres France", |
||
| 445 | "pictureURIs":[], |
||
| 446 | "placeType":"UNKNOWN" |
||
| 447 | },{ |
||
| 448 | "isTemporary":"true", |
||
| 449 | "accountId":"133", |
||
| 450 | "mapURI":"http:\/\/jeronimo.dnsalias.net\/fiztestdev\/media\/144_8648?", |
||
| 451 | "placeTips":[], |
||
| 452 | "placeId":"144_1866", |
||
| 453 | "address":{ |
||
| 454 | "latitudeE6":"48825973", |
||
| 455 | "attribute3ZipCode":"92310", |
||
| 456 | "attribute2Town":"Sèvres", |
||
| 457 | "attribute0Country":"France", |
||
| 458 | "attribute4Line":"20 Rue Troyon", |
||
| 459 | "radius":"125", |
||
| 460 | "formattedAddress":"20 Rue Troyon, 92310 Sèvres, France", |
||
| 461 | "longitudeE6":"2226752", |
||
| 462 | "accuracy":"5", |
||
| 463 | "attribute1State":"Île-de-France" |
||
| 464 | }, |
||
| 465 | "name":"20 Rue Troyon 92310 Sèvres France", |
||
| 466 | "pictureURIs":[], |
||
| 467 | "placeType":"UNKNOWN" |
||
| 468 | },{ |
||
| 469 | "isTemporary":"true", |
||
| 470 | "accountId":"133", |
||
| 471 | "mapURI":"http:\/\/devserver\/media\/144_8636?", |
||
| 472 | "placeTips":[], |
||
| 473 | "placeId":"144_1859", |
||
| 474 | "address":{ |
||
| 475 | "latitudeE6":"48826060", |
||
| 476 | "attribute3ZipCode":"92310", |
||
| 477 | "attribute2Town":"Sèvres", |
||
| 478 | "attribute0Country":"France", |
||
| 479 | "attribute4Line":"16 Rue Troyon", |
||
| 480 | "radius":"125", |
||
| 481 | "formattedAddress":"16 Rue Troyon, 92310 Sèvres, France", |
||
| 482 | "longitudeE6":"2226413", |
||
| 483 | "accuracy":"5", |
||
| 484 | "attribute1State":"Île-de-France" |
||
| 485 | }, |
||
| 486 | "name":"16 Rue Troyon 92310 Sèvres France", |
||
| 487 | "pictureURIs":[], |
||
| 488 | "placeType":"UNKNOWN" |
||
| 489 | },{ |
||
| 490 | "isTemporary":"true", |
||
| 491 | "accountId":"133", |
||
| 492 | "mapURI":"http:\/\/devserver\/media\/144_8686?", |
||
| 493 | "placeTips":[], |
||
| 494 | "placeId":"144_1904", |
||
| 495 | "address":{ |
||
| 496 | "latitudeE6":"48826060", |
||
| 497 | "attribute3ZipCode":"92310", |
||
| 498 | "attribute2Town":"Sèvres", |
||
| 499 | "attribute0Country":"France", |
||
| 500 | "attribute4Line":"16 Rue Troyon", |
||
| 501 | "radius":"125", |
||
| 502 | "formattedAddress":"16 Rue Troyon, 92310 Sèvres, France", |
||
| 503 | "longitudeE6":"2226413", |
||
| 504 | "accuracy":"5", |
||
| 505 | "attribute1State":"Île-de-France" |
||
| 506 | }, |
||
| 507 | "name":"16 Rue Troyon 92310 Sèvres France", |
||
| 508 | "pictureURIs":[], |
||
| 509 | "placeType":"UNKNOWN" |
||
| 510 | },{ |
||
| 511 | "isTemporary":"true", |
||
| 512 | "accountId":"133", |
||
| 513 | "mapURI":"http:\/\/jeronimo.dnsalias.net\/fiztestdev\/media\/144_8662?", |
||
| 514 | "placeTips":[], |
||
| 515 | "placeId":"144_1882", |
||
| 516 | "address":{ |
||
| 517 | "latitudeE6":"48824270", |
||
| 518 | "attribute3ZipCode":"", |
||
| 519 | "attribute2Town":"Sèvres", |
||
| 520 | "attribute0Country":"France", |
||
| 521 | "attribute4Line":"", |
||
| 522 | "radius":"1997", |
||
| 523 | "formattedAddress":"Sèvres, France", |
||
| 524 | "longitudeE6":"2215421", |
||
| 525 | "accuracy":"5", |
||
| 526 | "attribute1State":"Île-de-France" |
||
| 527 | }, |
||
| 528 | "name":"Sèvres France", |
||
| 529 | "pictureURIs":[], |
||
| 530 | "placeType":"UNKNOWN" |
||
| 531 | } |
||
| 532 | ], |
||
| 533 | "otherPlaces":[ |
||
| 534 | { |
||
| 535 | "isTemporary":"true", |
||
| 536 | "accountId":"130", |
||
| 537 | "mapURI":"http:\/\/devserver\/media\/144_9044?", |
||
| 538 | "placeTips":[], |
||
| 539 | "placeId":"144_1945", |
||
| 540 | "address":{ |
||
| 541 | "latitudeE6":"40742627", |
||
| 542 | "attribute3ZipCode":"10011", |
||
| 543 | "attribute2Town":"New York", |
||
| 544 | "attribute0Country":"United States", |
||
| 545 | "attribute4Line":"153 W 21st St", |
||
| 546 | "radius":"131", |
||
| 547 | "formattedAddress":"153 W 21st St, New York, NY 10011, USA", |
||
| 548 | "longitudeE6":"-73995555", |
||
| 549 | "accuracy":"5", |
||
| 550 | "attribute1State":"New York" |
||
| 551 | }, |
||
| 552 | "name":"153 W 21st St Manhattan, NY 10011 USA", |
||
| 553 | "pictureURIs":[], |
||
| 554 | "placeType":"UNKNOWN" |
||
| 555 | },{ |
||
| 556 | "isTemporary":"true", |
||
| 557 | "accountId":"133", |
||
| 558 | "mapURI":"http:\/\/devserver\/media\/144_9931?", |
||
| 559 | "placeTips":[], |
||
| 560 | "placeId":"144_1970", |
||
| 561 | "address":{ |
||
| 562 | "latitudeE6":"40742627", |
||
| 563 | "attribute3ZipCode":"10011", |
||
| 564 | "attribute2Town":"New York", |
||
| 565 | "attribute0Country":"United States", |
||
| 566 | "attribute4Line":"153 W 21st St", |
||
| 567 | "radius":"131", |
||
| 568 | "formattedAddress":"153 W 21st St, New York, NY 10011, USA", |
||
| 569 | "longitudeE6":"-73995555", |
||
| 570 | "accuracy":"5", |
||
| 571 | "attribute1State":"New York" |
||
| 572 | }, |
||
| 573 | "name":"153 W 21st St Manhattan, NY 10011 USA", |
||
| 574 | "pictureURIs":[], |
||
| 575 | "placeType":"UNKNOWN" |
||
| 576 | },{ |
||
| 577 | "isTemporary":"true", |
||
| 578 | "accountId":"130", |
||
| 579 | "mapURI":"http:\/\/devserver\/144_11229?", |
||
| 580 | "placeTips":[], |
||
| 581 | "placeId":"144_2000", |
||
| 582 | "address":{ |
||
| 583 | "latitudeE6":"48866034", |
||
| 584 | "attribute3ZipCode":"93360", |
||
| 585 | "attribute2Town":"Neuilly-Plaisance", |
||
| 586 | "attribute0Country":"France", |
||
| 587 | "attribute4Line":"10 Rue des Morands", |
||
| 588 | "radius":"125", |
||
| 589 | "formattedAddress":"10 Rue des Morands, 93360 Neuilly-Plaisance, France", |
||
| 590 | "longitudeE6":"2509519", |
||
| 591 | "accuracy":"5", |
||
| 592 | "attribute1State":"Île-de-France" |
||
| 593 | }, |
||
| 594 | "name":"4-10 Rue des Morands 93360 Neuilly-Plaisance France", |
||
| 595 | "pictureURIs":[], |
||
| 596 | "placeType":"UNKNOWN" |
||
| 597 | },{ |
||
| 598 | "isTemporary":"true", |
||
| 599 | "accountId":"133", |
||
| 600 | "mapURI":"http:\/\/devserver\/media\/144_8631?", |
||
| 601 | "placeTips":[], |
||
| 602 | "placeId":"144_1856", |
||
| 603 | "address":{ |
||
| 604 | "latitudeE6":"48899165", |
||
| 605 | "attribute3ZipCode":"92110", |
||
| 606 | "attribute2Town":"Clichy", |
||
| 607 | "attribute0Country":"France", |
||
| 608 | "attribute4Line":"40 Boulevard Jean Jaurès", |
||
| 609 | "radius":"125", |
||
| 610 | "formattedAddress":"40 Boulevard Jean Jaurès, 92110 Clichy, France", |
||
| 611 | "longitudeE6":"2307130", |
||
| 612 | "accuracy":"5", |
||
| 613 | "attribute1State":"Île-de-France" |
||
| 614 | }, |
||
| 615 | "name":"40 Boulevard Jean Jaurès 92110 Clichy France", |
||
| 616 | "pictureURIs":[], |
||
| 617 | "placeType":"UNKNOWN" |
||
| 618 | },{ |
||
| 619 | "isTemporary":"true", |
||
| 620 | "accountId":"133", |
||
| 621 | "mapURI":"http:\/\/devserver\/media\/144_9585?", |
||
| 622 | "placeTips":[], |
||
| 623 | "placeId":"144_1959", |
||
| 624 | "address":{ |
||
| 625 | "latitudeE6":"48899165", |
||
| 626 | "attribute3ZipCode":"92110", |
||
| 627 | "attribute2Town":"Clichy", |
||
| 628 | "attribute0Country":"France", |
||
| 629 | "attribute4Line":"40 Boulevard Jean Jaurès", |
||
| 630 | "radius":"125", |
||
| 631 | "formattedAddress":"40 Boulevard Jean Jaurès, 92110 Clichy, France", |
||
| 632 | "longitudeE6":"2307130", |
||
| 633 | "accuracy":"5", |
||
| 634 | "attribute1State":"Île-de-France" |
||
| 635 | }, |
||
| 636 | "name":"40 Boulevard Jean Jaurès 92110 Clichy France", |
||
| 637 | "pictureURIs":[], |
||
| 638 | "placeType":"UNKNOWN" |
||
| 639 | },{ |
||
| 640 | "isTemporary":"false", |
||
| 641 | "text":"", |
||
| 642 | "accountId":"133", |
||
| 643 | "mapURI":"http:\/\/jeronimo.dnsalias.net\/fiztestdev\/media\/144_9829?", |
||
| 644 | "placeTips":[], |
||
| 645 | "placeId":"144_1968", |
||
| 646 | "address":{ |
||
| 647 | "latitudeE6":"48865498", |
||
| 648 | "attribute3ZipCode":"93360", |
||
| 649 | "attribute2Town":"Neuilly-Plaisance", |
||
| 650 | "attribute0Country":"France", |
||
| 651 | "attribute4Line":"10 Allée de Bruges", |
||
| 652 | "radius":"125", |
||
| 653 | "formattedAddress":"10 Allée de Bruges, 93360 Neuilly-Plaisance, France", |
||
| 654 | "longitudeE6":"2509900", |
||
| 655 | "accuracy":"5", |
||
| 656 | "attribute1State":"Île-de-France" |
||
| 657 | }, |
||
| 658 | "name":"maison Willy", |
||
| 659 | "pictureURIs":[], |
||
| 660 | "placeType":"HOME" |
||
| 661 | }, |
||
| 662 | } |
||
| 663 | ] |
||
| 664 | } |
||
| 665 | } |
||
| 666 | </code></pre> |
||
| 667 | |||
| 668 | |||
| 669 | *Error*: |
||
| 670 | |*Error Code*|*Type*|*Value*|*Description*| |
||
| 671 | |FizApiUnattendedException|un|500|Unattended Exception| |
||
| 672 | |FizAccountNotFoundInSessionException|un|501|Session is invalid| |
||
| 673 | |FizApiInvalidParameterException|un|502|invalid token| |
||
| 674 | |FizApiModelDoesNotExistException|un|503|Object does not exists| |
||
| 675 | |FizApiModelRightException|un|504|Right exception to use this method| |