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