@@ -253,35 +253,32 @@ fun updateAddress(address: SharedData.AddressBookmark)
253
253
:material-arrow-right: Update an existing favorite journey
254
254
255
255
``` kotlin
256
- fun updateJourney (travelId : String , additionalInformation : String )
256
+ fun updateJourney (journey : SharedData . JourneyBookmark )
257
257
```
258
258
259
259
| Param | Type | Description |
260
260
| --- | --- | --- |
261
- | ` travelId ` | ` String ` | Travel id of the favorite journey to update |
262
- | ` additionalInformation ` | ` String ` | Extra data to update |
261
+ | ` journey ` | ` SharedData.JourneyBookmark ` | Favorite journey to update |
263
262
264
263
:material-arrow-right: Update an existing favorite POI
265
264
266
265
``` kotlin
267
- fun updatePoi (id : String , additionalInformation : String )
266
+ fun updatePoi (poi : SharedData . PoiBookmark )
268
267
```
269
268
270
269
| Param | Type | Description |
271
270
| --- | --- | --- |
272
- | ` id ` | ` String ` | Id of the favorite POI to update |
273
- | ` additionalInformation ` | ` String ` | Extra data to update |
271
+ | ` poi ` | ` SharedData.PoiBookmark ` | Favorite poi to update |
274
272
275
273
:material-arrow-right: Update an existing favorite station
276
274
277
275
``` kotlin
278
- fun updateStation (id : String , additionalInformation : String )
276
+ fun updateStation (station : SharedData . StationBookmark )
279
277
```
280
278
281
279
| Param | Type | Description |
282
280
| --- | --- | --- |
283
- | ` is ` | ` String ` | Id of the favorite station to update |
284
- | ` additionalInformation ` | ` String ` | Extra data to update |
281
+ | ` station ` | ` SharedData.StationBookmark ` | Favorite station to update |
285
282
286
283
<h4 >Delete</h4 >
287
284
@@ -332,6 +329,7 @@ fun deleteStation(stopAreaId: String, lineId: String)
332
329
333
330
| Name | Required | Description | Type |
334
331
| --- | :---:| --- | :---: |
332
+ | ` databaseId ` | :material-check: | Unique database id | ` Long? ` |
335
333
| ` id ` | :material-check: | Unique address id | ` String ` |
336
334
| ` name ` | :material-check: | Address name | ` String ` |
337
335
| ` houseNumber ` | :material-check: | House number | ` Int ` |
@@ -345,6 +343,7 @@ fun deleteStation(stopAreaId: String, lineId: String)
345
343
346
344
| Name | Required | Description | Type |
347
345
| --- | :---:| --- | :---: |
346
+ | ` databaseId ` | :material-check: | Unique database id | ` Long? ` |
348
347
| ` travelId ` | :material-check: | Unique journey id | ` String ` |
349
348
| ` from ` | :material-check: | Departure name | ` String ` |
350
349
| ` fromId ` | :material-check: | Departure Navitia id | ` String ` |
@@ -386,6 +385,7 @@ fun deleteStation(stopAreaId: String, lineId: String)
386
385
387
386
| Name | Required | Description | Type |
388
387
| --- | :---:| --- | :---: |
388
+ | ` databaseId ` | :material-check: | Unique database id | ` Long? ` |
389
389
| ` id ` | :material-check: | Unique POI id | ` String ` |
390
390
| ` coords ` | :material-check: | POI coordinates | ` LatLng ` |
391
391
| ` name ` | :material-check: | POI name | ` String ` |
@@ -399,6 +399,7 @@ fun deleteStation(stopAreaId: String, lineId: String)
399
399
400
400
| Name | Required | Description | Type |
401
401
| --- | :---:| --- | :---: |
402
+ | ` databaseId ` | :material-check: | Unique database id | ` Long? ` |
402
403
| ` stopAreaId ` | :material-check: | Navitia stop area id | ` String ` |
403
404
| ` coords ` | :material-check: | Station coordinates | ` LatLng ` |
404
405
| ` name ` | :material-check: | Station name | ` String ` |
0 commit comments