Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- curl -i -X POST \
- https://api-mmp-prod.onelya.ru/v1/get-oneway-multi-modal-routes-stream \
- -H 'Content-Type: application/json' \
- -H 'Authorization: Bearer 1241c86bfca138f457387810dc877e3b7aeb513c1df31cdf206483d795e35f40' \
- -d '{
- "max_results": 100,
- "min_trips_in_leg": 2,
- "max_trips_in_leg": 4,
- "system_params": {
- "search_via_ar": "SVA_SEARCH_BUT_NOT_RETURN",
- "search_via_graph": "SVG_SEARCH_WITH_DETAIL",
- "detailed_location": true,
- "debug": false
- },
- "start_location": {
- "city": {
- "key": "5a13bd41340c745ca1e88b55",
- "name_ru": "Казань"
- },
- "type": "city"
- },
- "finish_location": {
- "city": {
- "key": "5a26e4cb340c743fc5608b70",
- "name_ru": "Лондон"
- },
- "type": "city"
- },
- "start_datetime_range": {
- "from": "2018-12-11T21:00:00.000Z",
- "to": "2018-12-12T20:59:59.000Z"
- },
- "filters": [
- {
- "param_name": "route.provider.key",
- "exact_filter": {
- "param_values": [
- "b2brails",
- "aeroexpress",
- "b2bbus",
- "b2bavia"
- ]
- }
- }
- ]
- }'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement