SHARE
TWEET

Untitled

a guest Aug 14th, 2019 67 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Request: POST https://odri-ua.com/api/v2/booking/search_trips HTTP/1.1
  2. Headers:
  3.     Accept: application/json
  4.     Accept-Language: uk
  5.     Content-Type: application/json
  6.     odri-api-key: ciwoqUaeb0mMiZ6mecKXfQ==
  7. Payload:
  8. {"departure_city_id":18,"arrival_city_id":157,"depature_date":"11.09.2019","days_count_limit":1,"passengers_count":0,"currecny_code":"UAH","back":false,"trips_sequence_to":null,"search_with_cross":false,"search_only_with_free_passengers_count":false}
  9.  
  10. Response: HTTP/1.1 200 OK
  11. Headers:
  12.     Cache-Control: no-cache
  13.     Pragma: no-cache
  14.     Content-Type: application/json; charset=utf-8
  15.     Expires: -1
  16.     Vary: Accept-Encoding
  17.     Server: Microsoft-IIS/10.0
  18.     X-AspNet-Version: 4.0.30319
  19.     X-Powered-By: ASP.NET
  20.     Set-Cookie: ARRAffinity=a62af598e46a8b84f30cfb1aae55cd93b4f4ab42b6d6d16d196bb07f7ebd66d0;Path=/;HttpOnly;Domain=odri-ua.com
  21.     Date: Wed, 14 Aug 2019 13:03:36 GMT
  22. Payload:
  23. {"trips_sequences":[{"departure_date":"11.09.2019","departure_date_ddmmyyyy":"11.09.2019","departure_day_of_a_week":"Середа","departure_time":"16:10:00","departure_time_hhmm":"16:10","price":2210.00,"currency_code":"UAH","duration":"1.07:20:00","duration_mm":"20","duration_hh":"7","duration_dd":"1","trips":[{"id":8157,"bus_id":1116,"bus_picture":"https://odriuastorage.blob.core.windows.net/odri2container/dc871c33-080b-4c61-8a0b-8062acbcfa97.png","bus_number":"BC 7601 IP","departure_city_id":18,"departure_city":"Рівне","departure_place":"АС, вул. Київська, 40","departure_place_latitude":50.61489290,"departure_place_longitude":26.28121950,"departure_date":"11.09.2019","departure_date_ddmmyyyy":"11.09.2019","departure_time":"16:10:00","departure_time_hhmm":"16:10","arrival_city_id":157,"arrival_city":"Кобленц","arrival_place":"АВ при ЖД вокзалі, Шпардабанк, Франкенштрасе 1 (56068)","arrival_place_latitude":50.34928150,"arrival_place_longitude":7.58957090,"arrival_date":"12.09.2019","arrival_date_ddmmyyyy":"12.09.2019","arrival_time":"23:30:00","arrival_time_hhmm":"23:30","price":2210.00,"duration":"1.07:20:00","duration_mm":"20","duration_hh":"7","duration_dd":"1","trip_direction":"з України","carrier_id":"1","carrier_name":"ODRI LVIV LTD","carrier_picture":"https://odriuastorage.blob.core.windows.net/odri2container/1b3d1dfc-caef-4e11-bca4-a716b33b7734.png","route_id":11,"route_name":"Запоріжжя - Кобленц, 10.09.2019, Вівторок","route_line_name":"Запоріжжя - Кобленц","number":1,"phoneNumber":"+380968575323, +4917665833766"}],"first_trip":{"id":8157,"bus_id":1116,"bus_picture":"https://odriuastorage.blob.core.windows.net/odri2container/dc871c33-080b-4c61-8a0b-8062acbcfa97.png","bus_number":"BC 7601 IP","departure_city_id":18,"departure_city":"Рівне","departure_place":"АС, вул. Київська, 40","departure_place_latitude":50.61489290,"departure_place_longitude":26.28121950,"departure_date":"11.09.2019","departure_date_ddmmyyyy":"11.09.2019","departure_time":"16:10:00","departure_time_hhmm":"16:10","arrival_city_id":157,"arrival_city":"Кобленц","arrival_place":"АВ при ЖД вокзалі, Шпардабанк, Франкенштрасе 1 (56068)","arrival_place_latitude":50.34928150,"arrival_place_longitude":7.58957090,"arrival_date":"12.09.2019","arrival_date_ddmmyyyy":"12.09.2019","arrival_time":"23:30:00","arrival_time_hhmm":"23:30","price":2210.00,"duration":"1.07:20:00","duration_mm":"20","duration_hh":"7","duration_dd":"1","trip_direction":"з України","carrier_id":"1","carrier_name":"ODRI LVIV LTD","carrier_picture":"https://odriuastorage.blob.core.windows.net/odri2container/1b3d1dfc-caef-4e11-bca4-a716b33b7734.png","route_id":11,"route_name":"Запоріжжя - Кобленц, 10.09.2019, Вівторок","route_line_name":"Запоріжжя - Кобленц","number":1,"phoneNumber":"+380968575323, +4917665833766"},"last_trip":{"id":8157,"bus_id":1116,"bus_picture":"https://odriuastorage.blob.core.windows.net/odri2container/dc871c33-080b-4c61-8a0b-8062acbcfa97.png","bus_number":"BC 7601 IP","departure_city_id":18,"departure_city":"Рівне","departure_place":"АС, вул. Київська, 40","departure_place_latitude":50.61489290,"departure_place_longitude":26.28121950,"departure_date":"11.09.2019","departure_date_ddmmyyyy":"11.09.2019","departure_time":"16:10:00","departure_time_hhmm":"16:10","arrival_city_id":157,"arrival_city":"Кобленц","arrival_place":"АВ при ЖД вокзалі, Шпардабанк, Франкенштрасе 1 (56068)","arrival_place_latitude":50.34928150,"arrival_place_longitude":7.58957090,"arrival_date":"12.09.2019","arrival_date_ddmmyyyy":"12.09.2019","arrival_time":"23:30:00","arrival_time_hhmm":"23:30","price":2210.00,"duration":"1.07:20:00","duration_mm":"20","duration_hh":"7","duration_dd":"1","trip_direction":"з України","carrier_id":"1","carrier_name":"ODRI LVIV LTD","carrier_picture":"https://odriuastorage.blob.core.windows.net/odri2container/1b3d1dfc-caef-4e11-bca4-a716b33b7734.png","route_id":11,"route_name":"Запоріжжя - Кобленц, 10.09.2019, Вівторок","route_line_name":"Запоріжжя - Кобленц","number":1,"phoneNumber":"+380968575323, +4917665833766"},"ActionsApiTripsSeats":"[{\"CityFromId\":18,\"CityToId\":157,\"TripId\":8157}]"}],"success":true,"execution_time":"00:14:07.6745921","lang":"uk","server_timestamp":1565787816.0}
  24.  
  25. Request: POST https://odri-ua.com/api/v2/booking/get_bus_map_for_trip HTTP/1.1
  26. Headers:
  27.     Accept: application/json
  28.     Accept-Language: uk
  29.     Content-Type: application/json
  30.     odri-api-key: ciwoqUaeb0mMiZ6mecKXfQ==
  31. Payload:
  32. {"trip_id":8157,"city_from_id":18,"city_to_id":157,"orientation":1}
  33.  
  34. Response: HTTP/1.1 200 OK
  35. Headers:
  36.     Cache-Control: no-cache
  37.     Pragma: no-cache
  38.     Content-Type: application/json; charset=utf-8
  39.     Expires: -1
  40.     Vary: Accept-Encoding
  41.     Server: Microsoft-IIS/10.0
  42.     X-AspNet-Version: 4.0.30319
  43.     X-Powered-By: ASP.NET
  44.     Set-Cookie: ARRAffinity=a62af598e46a8b84f30cfb1aae55cd93b4f4ab42b6d6d16d196bb07f7ebd66d0;Path=/;HttpOnly;Domain=odri-ua.com
  45.     Date: Wed, 14 Aug 2019 13:03:37 GMT
  46. Payload:
  47. {"bus_details":{"id":1116,"number":"BC 7601 IP","mark":"Bova","places_count":48,"floors_count":1,"image_url":"https://odriuastorage.blob.core.windows.net/odri2container/ea943ea1-20c1-45dd-ba1c-d89d8ad2adf0.png","image_thumb_url":"https://odriuastorage.blob.core.windows.net/odri2container/dc871c33-080b-4c61-8a0b-8062acbcfa97.png","has_air_condition":true,"has_wifi":true,"has_wc":true,"has_adjustable_seats":true,"has_hot_drinks":true,"has_drinks":false,"has_microwave":false,"has_tv":true,"has_places_for_persons_with_disabilities":false,"has_seat_belts":true,"floors":[{"rows":[{"places":[{"id":19353,"title":"","type":"path","status":"none","inner_html":"<img src=\"/Content/bus-icon/path.png\"/>","has_remark":false},{"id":19358,"title":"4","type":"seat","status":"reserved","inner_html":"4","has_remark":false},{"id":19363,"title":"8","type":"seat","status":"purchased","inner_html":"8","has_remark":false},{"id":19368,"title":"12","type":"seat","status":"reserved","inner_html":"12","has_remark":false},{"id":19373,"title":"16","type":"seat","status":"reserved","inner_html":"16","has_remark":false},{"id":19378,"title":"20","type":"seat","status":"purchased","inner_html":"20","has_remark":false},{"id":19383,"title":"24","type":"seat","status":"free","inner_html":"24","has_remark":false},{"id":19388,"title":"","type":"path","status":"none","inner_html":"<img src=\"/Content/bus-icon/path.png\"/>","has_remark":false},{"id":19393,"title":"","type":"coffee","status":"none","inner_html":"<img src=\"/Content/bus-icon/coffee.png\"/>","has_remark":false},{"id":19398,"title":"28","type":"seat","status":"free","inner_html":"28","has_remark":false},{"id":19403,"title":"36","type":"seat","status":"free","inner_html":"36","has_remark":false},{"id":19408,"title":"40","type":"seat","status":"free","inner_html":"40","has_remark":false},{"id":19413,"title":"44","type":"seat","status":"free","inner_html":"44","has_remark":false},{"id":19418,"title":"48","type":"seat","status":"free","inner_html":"48","has_remark":false}]},{"places":[{"id":19352,"title":"","type":"path","status":"none","inner_html":"<img src=\"/Content/bus-icon/path.png\"/>","has_remark":false},{"id":19357,"title":"3","type":"seat","status":"hidden","inner_html":"3","has_remark":false},{"id":19362,"title":"7","type":"seat","status":"purchased","inner_html":"7","has_remark":false},{"id":19367,"title":"11","type":"seat","status":"reserved","inner_html":"11","has_remark":false},{"id":19372,"title":"15","type":"seat","status":"reserved","inner_html":"15","has_remark":false},{"id":19377,"title":"19","type":"seat","status":"free","inner_html":"19","has_remark":false},{"id":19382,"title":"23","type":"seat","status":"free","inner_html":"23","has_remark":false},{"id":19387,"title":"","type":"path","status":"none","inner_html":"<img src=\"/Content/bus-icon/path.png\"/>","has_remark":false},{"id":19392,"title":"","type":"coffee","status":"none","inner_html":"<img src=\"/Content/bus-icon/coffee.png\"/>","has_remark":false},{"id":19397,"title":"27","type":"seat","status":"free","inner_html":"27","has_remark":false},{"id":19402,"title":"35","type":"seat","status":"free","inner_html":"35","has_remark":false},{"id":19407,"title":"39","type":"seat","status":"free","inner_html":"39","has_remark":false},{"id":19412,"title":"43","type":"seat","status":"free","inner_html":"43","has_remark":false},{"id":19417,"title":"47","type":"seat","status":"free","inner_html":"47","has_remark":false}]},{"places":[{"id":19351,"title":"","type":"path","status":"none","inner_html":"<img src=\"/Content/bus-icon/path.png\"/>","has_remark":false},{"id":19356,"title":"","type":"path","status":"none","inner_html":"<img src=\"/Content/bus-icon/path.png\"/>","has_remark":false},{"id":19361,"title":"","type":"path","status":"none","inner_html":"<img src=\"/Content/bus-icon/path.png\"/>","has_remark":false},{"id":19366,"title":"","type":"path","status":"none","inner_html":"<img src=\"/Content/bus-icon/path.png\"/>","has_remark":false},{"id":19371,"title":"","type":"path","status":"none","inner_html":"<img src=\"/Content/bus-icon/path.png\"/>","has_remark":false},{"id":19376,"title":"","type":"path","status":"none","inner_html":"<img src=\"/Content/bus-icon/path.png\"/>","has_remark":false},{"id":19381,"title":"","type":"path","status":"none","inner_html":"<img src=\"/Content/bus-icon/path.png\"/>","has_remark":false},{"id":19386,"title":"","type":"path","status":"none","inner_html":"<img src=\"/Content/bus-icon/path.png\"/>","has_remark":false},{"id":19391,"title":"","type":"path","status":"none","inner_html":"<img src=\"/Content/bus-icon/path.png\"/>","has_remark":false},{"id":19396,"title":"","type":"path","status":"none","inner_html":"<img src=\"/Content/bus-icon/path.png\"/>","has_remark":false},{"id":19401,"title":"","type":"path","status":"none","inner_html":"<img src=\"/Content/bus-icon/path.png\"/>","has_remark":false},{"id":19406,"title":"","type":"path","status":"none","inner_html":"<img src=\"/Content/bus-icon/path.png\"/>","has_remark":false},{"id":19411,"title":"","type":"path","status":"none","inner_html":"<img src=\"/Content/bus-icon/path.png\"/>","has_remark":false},{"id":19416,"title":"","type":"path","status":"none","inner_html":"<img src=\"/Content/bus-icon/path.png\"/>","has_remark":false}]},{"places":[{"id":19350,"title":"","type":"driver","status":"none","inner_html":"<img src=\"/Content/bus-icon/driver.png\" class=\"rotate-90\"/>","has_remark":false},{"id":19355,"title":"2","type":"seat","status":"free","inner_html":"2","has_remark":false},{"id":19360,"title":"6","type":"seat","status":"purchased","inner_html":"6","has_remark":false},{"id":19365,"title":"10","type":"seat","status":"purchased","inner_html":"10","has_remark":false},{"id":19370,"title":"14","type":"seat","status":"reserved","inner_html":"14","has_remark":false},{"id":19375,"title":"18","type":"seat","status":"reserved","inner_html":"18","has_remark":false},{"id":19380,"title":"22","type":"seat","status":"reserved","inner_html":"22","has_remark":false},{"id":19385,"title":"26","type":"seat","status":"free","inner_html":"26","has_remark":false},{"id":19390,"title":"30","type":"seat","status":"free","inner_html":"30","has_remark":false},{"id":19395,"title":"32","type":"seat","status":"free","inner_html":"32","has_remark":false},{"id":19400,"title":"34","type":"seat","status":"free","inner_html":"34","has_remark":false},{"id":19405,"title":"38","type":"seat","status":"purchased","inner_html":"38","has_remark":false},{"id":19410,"title":"42","type":"seat","status":"free","inner_html":"42","has_remark":false},{"id":19415,"title":"46","type":"seat","status":"free","inner_html":"46","has_remark":false}]},{"places":[{"id":19349,"title":"","type":"driver","status":"none","inner_html":"<img src=\"/Content/bus-icon/driver.png\" class=\"rotate-90\"/>","has_remark":false},{"id":19354,"title":"1","type":"seat","status":"free","inner_html":"1","has_remark":false},{"id":19359,"title":"5","type":"seat","status":"purchased","inner_html":"5","has_remark":false},{"id":19364,"title":"9","type":"seat","status":"purchased","inner_html":"9","has_remark":false},{"id":19369,"title":"13","type":"seat","status":"reserved","inner_html":"13","has_remark":false},{"id":19374,"title":"17","type":"seat","status":"reserved","inner_html":"17","has_remark":false},{"id":19379,"title":"21","type":"seat","status":"reserved","inner_html":"21","has_remark":false},{"id":19384,"title":"25","type":"seat","status":"reserved","inner_html":"25","has_remark":false},{"id":19389,"title":"29","type":"seat","status":"free","inner_html":"29","has_remark":false},{"id":19394,"title":"31","type":"seat","status":"free","inner_html":"31","has_remark":false},{"id":19399,"title":"33","type":"seat","status":"free","inner_html":"33","has_remark":false},{"id":19404,"title":"37","type":"seat","status":"purchased","inner_html":"37","has_remark":false},{"id":19409,"title":"41","type":"seat","status":"free","inner_html":"41","has_remark":false},{"id":19414,"title":"45","type":"seat","status":"free","inner_html":"45","has_remark":false}]}]}],"free_seats":[{"id":19383,"title":"24","type":"seat","status":"free","inner_html":"24","has_remark":false},{"id":19398,"title":"28","type":"seat","status":"free","inner_html":"28","has_remark":false},{"id":19403,"title":"36","type":"seat","status":"free","inner_html":"36","has_remark":false},{"id":19408,"title":"40","type":"seat","status":"free","inner_html":"40","has_remark":false},{"id":19413,"title":"44","type":"seat","status":"free","inner_html":"44","has_remark":false},{"id":19418,"title":"48","type":"seat","status":"free","inner_html":"48","has_remark":false},{"id":19377,"title":"19","type":"seat","status":"free","inner_html":"19","has_remark":false},{"id":19382,"title":"23","type":"seat","status":"free","inner_html":"23","has_remark":false},{"id":19397,"title":"27","type":"seat","status":"free","inner_html":"27","has_remark":false},{"id":19402,"title":"35","type":"seat","status":"free","inner_html":"35","has_remark":false},{"id":19407,"title":"39","type":"seat","status":"free","inner_html":"39","has_remark":false},{"id":19412,"title":"43","type":"seat","status":"free","inner_html":"43","has_remark":false},{"id":19417,"title":"47","type":"seat","status":"free","inner_html":"47","has_remark":false},{"id":19355,"title":"2","type":"seat","status":"free","inner_html":"2","has_remark":false},{"id":19385,"title":"26","type":"seat","status":"free","inner_html":"26","has_remark":false},{"id":19390,"title":"30","type":"seat","status":"free","inner_html":"30","has_remark":false},{"id":19395,"title":"32","type":"seat","status":"free","inner_html":"32","has_remark":false},{"id":19400,"title":"34","type":"seat","status":"free","inner_html":"34","has_remark":false},{"id":19410,"title":"42","type":"seat","status":"free","inner_html":"42","has_remark":false},{"id":19415,"title":"46","type":"seat","status":"free","inner_html":"46","has_remark":false},{"id":19354,"title":"1","type":"seat","status":"free","inner_html":"1","has_remark":false},{"id":19389,"title":"29","type":"seat","status":"free","inner_html":"29","has_remark":false},{"id":19394,"title":"31","type":"seat","status":"free","inner_html":"31","has_remark":false},{"id":19399,"title":"33","type":"seat","status":"free","inner_html":"33","has_remark":false},{"id":19409,"title":"41","type":"seat","status":"free","inner_html":"41","has_remark":false},{"id":19414,"title":"45","type":"seat","status":"free","inner_html":"45","has_remark":false}],"photos":[{"photo":"https://odriuastorage.blob.core.windows.net/odri2container/50e10e22-74f9-4d93-b786-1ae4b131d508.png","thumb":"https://odriuastorage.blob.core.windows.net/odri2container/1740a061-bb7e-4367-b123-6a4688aede6e.png"},{"photo":"https://odriuastorage.blob.core.windows.net/odri2container/336b75c1-8dbc-4532-b07d-0bef9873cbc5.png","thumb":"https://odriuastorage.blob.core.windows.net/odri2container/58f1bd5d-9b81-4769-92b5-5dab863f6100.png"},{"photo":"https://odriuastorage.blob.core.windows.net/odri2container/d62d6838-258a-481f-8525-cbc297a98900.png","thumb":"https://odriuastorage.blob.core.windows.net/odri2container/956f6387-a46e-4322-81fe-43aaf8aac68b.png"},{"photo":"https://odriuastorage.blob.core.windows.net/odri2container/4313b8df-5d6b-482e-aa6a-a77ff6500f6e.png","thumb":"https://odriuastorage.blob.core.windows.net/odri2container/738e9321-5cc4-480d-9da9-7228195af803.png"},{"photo":"https://odriuastorage.blob.core.windows.net/odri2container/f18034f2-19a3-4dff-b4a1-202300d70f01.png","thumb":"https://odriuastorage.blob.core.windows.net/odri2container/dce5f4f5-4b64-493a-92e1-f7f65474e1ed.png"},{"photo":"https://odriuastorage.blob.core.windows.net/odri2container/17903e39-b41b-4dc9-9b44-3c7109ace644.png","thumb":"https://odriuastorage.blob.core.windows.net/odri2container/a0d0a1d5-3667-4eb7-9ef9-bc8bbc400215.png"},{"photo":"https://odriuastorage.blob.core.windows.net/odri2container/9815e03c-cb01-41a1-81d7-0eb6a08157a0.png","thumb":"https://odriuastorage.blob.core.windows.net/odri2container/53d8c851-b257-4e79-98e3-b4038ed4bb56.png"},{"photo":"https://odriuastorage.blob.core.windows.net/odri2container/d407c284-c5b0-4a89-a9c6-eee175550b9f.png","thumb":"https://odriuastorage.blob.core.windows.net/odri2container/b5d819a2-12eb-4f67-bb0a-c248b1982bd7.png"}],"description":"Bova BC 7601 IP"},"success":true,"execution_time":"00:14:07.8283212","lang":"uk","server_timestamp":1565787817.0}
  48.  
  49. Request: POST https://odri-ua.com/api/v2/booking/get_bus_map_for_trip HTTP/1.1
  50. Headers:
  51.     Accept: application/json
  52.     Accept-Language: uk
  53.     Content-Type: application/json
  54.     odri-api-key: ciwoqUaeb0mMiZ6mecKXfQ==
  55. Payload:
  56. {"trip_id":8157,"city_from_id":18,"city_to_id":157,"orientation":1}
  57.  
  58. Response: HTTP/1.1 200 OK
  59. Headers:
  60.     Cache-Control: no-cache
  61.     Pragma: no-cache
  62.     Content-Type: application/json; charset=utf-8
  63.     Expires: -1
  64.     Vary: Accept-Encoding
  65.     Server: Microsoft-IIS/10.0
  66.     X-AspNet-Version: 4.0.30319
  67.     X-Powered-By: ASP.NET
  68.     Set-Cookie: ARRAffinity=a62af598e46a8b84f30cfb1aae55cd93b4f4ab42b6d6d16d196bb07f7ebd66d0;Path=/;HttpOnly;Domain=odri-ua.com
  69.     Date: Wed, 14 Aug 2019 13:03:40 GMT
  70. Payload:
  71. {"bus_details":{"id":1116,"number":"BC 7601 IP","mark":"Bova","places_count":48,"floors_count":1,"image_url":"https://odriuastorage.blob.core.windows.net/odri2container/ea943ea1-20c1-45dd-ba1c-d89d8ad2adf0.png","image_thumb_url":"https://odriuastorage.blob.core.windows.net/odri2container/dc871c33-080b-4c61-8a0b-8062acbcfa97.png","has_air_condition":true,"has_wifi":true,"has_wc":true,"has_adjustable_seats":true,"has_hot_drinks":true,"has_drinks":false,"has_microwave":false,"has_tv":true,"has_places_for_persons_with_disabilities":false,"has_seat_belts":true,"floors":[{"rows":[{"places":[{"id":19353,"title":"","type":"path","status":"none","inner_html":"<img src=\"/Content/bus-icon/path.png\"/>","has_remark":false},{"id":19358,"title":"4","type":"seat","status":"reserved","inner_html":"4","has_remark":false},{"id":19363,"title":"8","type":"seat","status":"purchased","inner_html":"8","has_remark":false},{"id":19368,"title":"12","type":"seat","status":"reserved","inner_html":"12","has_remark":false},{"id":19373,"title":"16","type":"seat","status":"reserved","inner_html":"16","has_remark":false},{"id":19378,"title":"20","type":"seat","status":"purchased","inner_html":"20","has_remark":false},{"id":19383,"title":"24","type":"seat","status":"free","inner_html":"24","has_remark":false},{"id":19388,"title":"","type":"path","status":"none","inner_html":"<img src=\"/Content/bus-icon/path.png\"/>","has_remark":false},{"id":19393,"title":"","type":"coffee","status":"none","inner_html":"<img src=\"/Content/bus-icon/coffee.png\"/>","has_remark":false},{"id":19398,"title":"28","type":"seat","status":"free","inner_html":"28","has_remark":false},{"id":19403,"title":"36","type":"seat","status":"free","inner_html":"36","has_remark":false},{"id":19408,"title":"40","type":"seat","status":"free","inner_html":"40","has_remark":false},{"id":19413,"title":"44","type":"seat","status":"free","inner_html":"44","has_remark":false},{"id":19418,"title":"48","type":"seat","status":"free","inner_html":"48","has_remark":false}]},{"places":[{"id":19352,"title":"","type":"path","status":"none","inner_html":"<img src=\"/Content/bus-icon/path.png\"/>","has_remark":false},{"id":19357,"title":"3","type":"seat","status":"hidden","inner_html":"3","has_remark":false},{"id":19362,"title":"7","type":"seat","status":"purchased","inner_html":"7","has_remark":false},{"id":19367,"title":"11","type":"seat","status":"reserved","inner_html":"11","has_remark":false},{"id":19372,"title":"15","type":"seat","status":"reserved","inner_html":"15","has_remark":false},{"id":19377,"title":"19","type":"seat","status":"free","inner_html":"19","has_remark":false},{"id":19382,"title":"23","type":"seat","status":"free","inner_html":"23","has_remark":false},{"id":19387,"title":"","type":"path","status":"none","inner_html":"<img src=\"/Content/bus-icon/path.png\"/>","has_remark":false},{"id":19392,"title":"","type":"coffee","status":"none","inner_html":"<img src=\"/Content/bus-icon/coffee.png\"/>","has_remark":false},{"id":19397,"title":"27","type":"seat","status":"free","inner_html":"27","has_remark":false},{"id":19402,"title":"35","type":"seat","status":"free","inner_html":"35","has_remark":false},{"id":19407,"title":"39","type":"seat","status":"free","inner_html":"39","has_remark":false},{"id":19412,"title":"43","type":"seat","status":"free","inner_html":"43","has_remark":false},{"id":19417,"title":"47","type":"seat","status":"free","inner_html":"47","has_remark":false}]},{"places":[{"id":19351,"title":"","type":"path","status":"none","inner_html":"<img src=\"/Content/bus-icon/path.png\"/>","has_remark":false},{"id":19356,"title":"","type":"path","status":"none","inner_html":"<img src=\"/Content/bus-icon/path.png\"/>","has_remark":false},{"id":19361,"title":"","type":"path","status":"none","inner_html":"<img src=\"/Content/bus-icon/path.png\"/>","has_remark":false},{"id":19366,"title":"","type":"path","status":"none","inner_html":"<img src=\"/Content/bus-icon/path.png\"/>","has_remark":false},{"id":19371,"title":"","type":"path","status":"none","inner_html":"<img src=\"/Content/bus-icon/path.png\"/>","has_remark":false},{"id":19376,"title":"","type":"path","status":"none","inner_html":"<img src=\"/Content/bus-icon/path.png\"/>","has_remark":false},{"id":19381,"title":"","type":"path","status":"none","inner_html":"<img src=\"/Content/bus-icon/path.png\"/>","has_remark":false},{"id":19386,"title":"","type":"path","status":"none","inner_html":"<img src=\"/Content/bus-icon/path.png\"/>","has_remark":false},{"id":19391,"title":"","type":"path","status":"none","inner_html":"<img src=\"/Content/bus-icon/path.png\"/>","has_remark":false},{"id":19396,"title":"","type":"path","status":"none","inner_html":"<img src=\"/Content/bus-icon/path.png\"/>","has_remark":false},{"id":19401,"title":"","type":"path","status":"none","inner_html":"<img src=\"/Content/bus-icon/path.png\"/>","has_remark":false},{"id":19406,"title":"","type":"path","status":"none","inner_html":"<img src=\"/Content/bus-icon/path.png\"/>","has_remark":false},{"id":19411,"title":"","type":"path","status":"none","inner_html":"<img src=\"/Content/bus-icon/path.png\"/>","has_remark":false},{"id":19416,"title":"","type":"path","status":"none","inner_html":"<img src=\"/Content/bus-icon/path.png\"/>","has_remark":false}]},{"places":[{"id":19350,"title":"","type":"driver","status":"none","inner_html":"<img src=\"/Content/bus-icon/driver.png\" class=\"rotate-90\"/>","has_remark":false},{"id":19355,"title":"2","type":"seat","status":"free","inner_html":"2","has_remark":false},{"id":19360,"title":"6","type":"seat","status":"purchased","inner_html":"6","has_remark":false},{"id":19365,"title":"10","type":"seat","status":"purchased","inner_html":"10","has_remark":false},{"id":19370,"title":"14","type":"seat","status":"reserved","inner_html":"14","has_remark":false},{"id":19375,"title":"18","type":"seat","status":"reserved","inner_html":"18","has_remark":false},{"id":19380,"title":"22","type":"seat","status":"reserved","inner_html":"22","has_remark":false},{"id":19385,"title":"26","type":"seat","status":"free","inner_html":"26","has_remark":false},{"id":19390,"title":"30","type":"seat","status":"free","inner_html":"30","has_remark":false},{"id":19395,"title":"32","type":"seat","status":"free","inner_html":"32","has_remark":false},{"id":19400,"title":"34","type":"seat","status":"free","inner_html":"34","has_remark":false},{"id":19405,"title":"38","type":"seat","status":"purchased","inner_html":"38","has_remark":false},{"id":19410,"title":"42","type":"seat","status":"free","inner_html":"42","has_remark":false},{"id":19415,"title":"46","type":"seat","status":"free","inner_html":"46","has_remark":false}]},{"places":[{"id":19349,"title":"","type":"driver","status":"none","inner_html":"<img src=\"/Content/bus-icon/driver.png\" class=\"rotate-90\"/>","has_remark":false},{"id":19354,"title":"1","type":"seat","status":"free","inner_html":"1","has_remark":false},{"id":19359,"title":"5","type":"seat","status":"purchased","inner_html":"5","has_remark":false},{"id":19364,"title":"9","type":"seat","status":"purchased","inner_html":"9","has_remark":false},{"id":19369,"title":"13","type":"seat","status":"reserved","inner_html":"13","has_remark":false},{"id":19374,"title":"17","type":"seat","status":"reserved","inner_html":"17","has_remark":false},{"id":19379,"title":"21","type":"seat","status":"reserved","inner_html":"21","has_remark":false},{"id":19384,"title":"25","type":"seat","status":"reserved","inner_html":"25","has_remark":false},{"id":19389,"title":"29","type":"seat","status":"free","inner_html":"29","has_remark":false},{"id":19394,"title":"31","type":"seat","status":"free","inner_html":"31","has_remark":false},{"id":19399,"title":"33","type":"seat","status":"free","inner_html":"33","has_remark":false},{"id":19404,"title":"37","type":"seat","status":"purchased","inner_html":"37","has_remark":false},{"id":19409,"title":"41","type":"seat","status":"free","inner_html":"41","has_remark":false},{"id":19414,"title":"45","type":"seat","status":"free","inner_html":"45","has_remark":false}]}]}],"free_seats":[{"id":19383,"title":"24","type":"seat","status":"free","inner_html":"24","has_remark":false},{"id":19398,"title":"28","type":"seat","status":"free","inner_html":"28","has_remark":false},{"id":19403,"title":"36","type":"seat","status":"free","inner_html":"36","has_remark":false},{"id":19408,"title":"40","type":"seat","status":"free","inner_html":"40","has_remark":false},{"id":19413,"title":"44","type":"seat","status":"free","inner_html":"44","has_remark":false},{"id":19418,"title":"48","type":"seat","status":"free","inner_html":"48","has_remark":false},{"id":19377,"title":"19","type":"seat","status":"free","inner_html":"19","has_remark":false},{"id":19382,"title":"23","type":"seat","status":"free","inner_html":"23","has_remark":false},{"id":19397,"title":"27","type":"seat","status":"free","inner_html":"27","has_remark":false},{"id":19402,"title":"35","type":"seat","status":"free","inner_html":"35","has_remark":false},{"id":19407,"title":"39","type":"seat","status":"free","inner_html":"39","has_remark":false},{"id":19412,"title":"43","type":"seat","status":"free","inner_html":"43","has_remark":false},{"id":19417,"title":"47","type":"seat","status":"free","inner_html":"47","has_remark":false},{"id":19355,"title":"2","type":"seat","status":"free","inner_html":"2","has_remark":false},{"id":19385,"title":"26","type":"seat","status":"free","inner_html":"26","has_remark":false},{"id":19390,"title":"30","type":"seat","status":"free","inner_html":"30","has_remark":false},{"id":19395,"title":"32","type":"seat","status":"free","inner_html":"32","has_remark":false},{"id":19400,"title":"34","type":"seat","status":"free","inner_html":"34","has_remark":false},{"id":19410,"title":"42","type":"seat","status":"free","inner_html":"42","has_remark":false},{"id":19415,"title":"46","type":"seat","status":"free","inner_html":"46","has_remark":false},{"id":19354,"title":"1","type":"seat","status":"free","inner_html":"1","has_remark":false},{"id":19389,"title":"29","type":"seat","status":"free","inner_html":"29","has_remark":false},{"id":19394,"title":"31","type":"seat","status":"free","inner_html":"31","has_remark":false},{"id":19399,"title":"33","type":"seat","status":"free","inner_html":"33","has_remark":false},{"id":19409,"title":"41","type":"seat","status":"free","inner_html":"41","has_remark":false},{"id":19414,"title":"45","type":"seat","status":"free","inner_html":"45","has_remark":false}],"photos":[{"photo":"https://odriuastorage.blob.core.windows.net/odri2container/50e10e22-74f9-4d93-b786-1ae4b131d508.png","thumb":"https://odriuastorage.blob.core.windows.net/odri2container/1740a061-bb7e-4367-b123-6a4688aede6e.png"},{"photo":"https://odriuastorage.blob.core.windows.net/odri2container/336b75c1-8dbc-4532-b07d-0bef9873cbc5.png","thumb":"https://odriuastorage.blob.core.windows.net/odri2container/58f1bd5d-9b81-4769-92b5-5dab863f6100.png"},{"photo":"https://odriuastorage.blob.core.windows.net/odri2container/d62d6838-258a-481f-8525-cbc297a98900.png","thumb":"https://odriuastorage.blob.core.windows.net/odri2container/956f6387-a46e-4322-81fe-43aaf8aac68b.png"},{"photo":"https://odriuastorage.blob.core.windows.net/odri2container/4313b8df-5d6b-482e-aa6a-a77ff6500f6e.png","thumb":"https://odriuastorage.blob.core.windows.net/odri2container/738e9321-5cc4-480d-9da9-7228195af803.png"},{"photo":"https://odriuastorage.blob.core.windows.net/odri2container/f18034f2-19a3-4dff-b4a1-202300d70f01.png","thumb":"https://odriuastorage.blob.core.windows.net/odri2container/dce5f4f5-4b64-493a-92e1-f7f65474e1ed.png"},{"photo":"https://odriuastorage.blob.core.windows.net/odri2container/17903e39-b41b-4dc9-9b44-3c7109ace644.png","thumb":"https://odriuastorage.blob.core.windows.net/odri2container/a0d0a1d5-3667-4eb7-9ef9-bc8bbc400215.png"},{"photo":"https://odriuastorage.blob.core.windows.net/odri2container/9815e03c-cb01-41a1-81d7-0eb6a08157a0.png","thumb":"https://odriuastorage.blob.core.windows.net/odri2container/53d8c851-b257-4e79-98e3-b4038ed4bb56.png"},{"photo":"https://odriuastorage.blob.core.windows.net/odri2container/d407c284-c5b0-4a89-a9c6-eee175550b9f.png","thumb":"https://odriuastorage.blob.core.windows.net/odri2container/b5d819a2-12eb-4f67-bb0a-c248b1982bd7.png"}],"description":"Bova BC 7601 IP"},"success":true,"execution_time":"00:14:07.9987828","lang":"uk","server_timestamp":1565787821.0}
  72.  
  73. Request: POST https://odri-ua.com/api/v2/references/passenger_types_by_trip_id HTTP/1.1
  74. Headers:
  75.     Accept: application/json
  76.     Accept-Language: uk
  77.     Content-Type: application/json
  78.     odri-api-key: ciwoqUaeb0mMiZ6mecKXfQ==
  79. Payload:
  80. {"trip_id":8157}
  81.  
  82. Response: HTTP/1.1 200 OK
  83. Headers:
  84.     Cache-Control: no-cache
  85.     Pragma: no-cache
  86.     Content-Type: application/json; charset=utf-8
  87.     Expires: -1
  88.     Vary: Accept-Encoding
  89.     Server: Microsoft-IIS/10.0
  90.     X-AspNet-Version: 4.0.30319
  91.     X-Powered-By: ASP.NET
  92.     Set-Cookie: ARRAffinity=a62af598e46a8b84f30cfb1aae55cd93b4f4ab42b6d6d16d196bb07f7ebd66d0;Path=/;HttpOnly;Domain=odri-ua.com
  93.     Date: Wed, 14 Aug 2019 13:03:41 GMT
  94. Payload:
  95. {"passenger_types":[{"id":1,"name":"Дорослий","discount":0},{"id":2,"name":"Дитина (0-4) (-50%)","discount":50},{"id":3,"name":"Дитина (4-12) (-30%)","discount":30},{"id":4,"name":"Мл./Пс. (-10%)","discount":10}],"success":true,"execution_time":"00:14:08.0128281","lang":"uk","server_timestamp":1565787821.0}
  96.  
  97. Request: POST https://odri-ua.com/api/v2/auth/signin HTTP/1.1
  98. Headers:
  99.     Accept: application/json
  100.     Accept-Language: null
  101.     Content-Type: application/json
  102.     odri-api-key: ciwoqUaeb0mMiZ6mecKXfQ==
  103. Payload:
  104. {"email":"*********","password":"***************"}
  105.  
  106. Response: HTTP/1.1 200 OK
  107. Headers:
  108.     Cache-Control: no-cache
  109.     Pragma: no-cache
  110.     Content-Type: application/json; charset=utf-8
  111.     Expires: -1
  112.     Vary: Accept-Encoding
  113.     Server: Microsoft-IIS/10.0
  114.     Set-Cookie: .AspNet.ExternalCookie=; path=/; expires=Thu, 01-Jan-1970 00:00:00 GMT
  115.     Set-Cookie: .AspNet.ApplicationCookie=YdryJ4g3zOBdV4YGnMPsl5UaV8dG1K_R9c66ZIyTQS-0v9oN7szmDXdmqnThFb9HbQjMPepregtG6UXz6MvQl2mShWxZ7tD8MssFDT1YoCZnMKBIrJm37JCwDiwaBEHssTMujZadQcDCK3yzWJqstlhrOY-onf5E_SUJy0Fa9DTY3CQGNf5ttmYFGisB1wwTHDEmZh_vOTHoGIh9kEfbb5w1Tl5fNhkCAloT_wnDwmr0ncF_ZIlFQyL-V8GyClHqD4Eyym579hdq1B63KH5rDGY1QpaR6ylmSKy7oLXqOwEMO_dONF22kX2ZJZYDCV-FLzDg1jpVjANz8-_yyvpdq4MQIOH-_IbJZq-jAMQGWNPFID-cL0k49ldLfrTny4DAcIM1Qp76Z-hml1dnjF9LNw9tr45J8FfnPiHUCv55EKCHiVv7_YqPiReBQJVhot1mTrRWpUxi2u8NdD58bIujzk6e5BQgDUkyVjfwlhOjmyZqUuiAGLXFI2YCPJiLwD1YyO_sts0G4cfHaPMVFHt8mIc8-qaGR2whNhL17gud-rQV31ckQJQCvaimOQxg1hBL3n5XoYCfzoHxKyWOqOCI1-wtmSkQ9gBiVKpb2HiFOo4wS4aQPxxv_wGatK0wveqqivUUAy3pX9xC1MuPT0u2uU7xD82XIYEcX90CdUXcPjHOuQhoqxQFuAXck4K_OK4h; path=/; expires=Wed, 28-Aug-2019 13:04:28 GMT; secure; HttpOnly
  116.     X-AspNet-Version: 4.0.30319
  117.     X-Powered-By: ASP.NET
  118.     Set-Cookie: ARRAffinity=a62af598e46a8b84f30cfb1aae55cd93b4f4ab42b6d6d16d196bb07f7ebd66d0;Path=/;HttpOnly;Domain=odri-ua.com
  119.     Date: Wed, 14 Aug 2019 13:04:27 GMT
  120. Payload:
  121. {"sign_in_status":"success","access_token":"tU7mKUABs53XReLOK2hFWRdiygUxXxy9RN6eA6RrLtQsWWhDx16dQrrAhgNaOzKKE3d_6NsgnQLnA3365SplCXip8xbsCTOq-jgBrANHQewZg_8xr67wAAvzRRaraXwXImazEGL2LMF4Kh8ijMl58x0CFx3flImPjR8ItseFzZSCjUdIvtLkNuBIeKSjGmm-pFGT_mz6fIbGoPIFmN6UXaFOJY2nUpciQIT6HxKH1Z9y3KaUv2yqNgR9bi_Zxie6Bw-Say23RSSOA0Z9jExqXEYmCg4SosckaCB3Mt-mLXq61fPsgxixE25IWRQfdYgUo2NfVKQejlqnoRq6dMDKAIepRxYD0wlWQsbGxpbbCqSqPqYqGScwrbTJmlGdC4FQ9_D3RugmqVPgByyyPZfue-gXwbzCVS-j9MWb_PRddmCeFQ-VUHMYeh3J3WqkYBxb2LuTdzYi57ZGvelgoBjp3qPr5rONN4alMxaXK7dne20hAul0zgPrz7xhC5IbrEimP0kJ_gjytzoeABRCj1AExaIk0yvAjYtEmnnLTKim7QZra4_RmIZTW_VkDSrVn7TDTN9CxobGL6iO3io204sfT1AT_Bwt_Ku3qQPsgpJgu_ZvHXFKKKft9SSNJrf5temTxp1_2EX55Xozm19b-IdFwwbISQ7vGg32OCMNDJnpMkkUS5o-afWPaCYjhj47gX_cFNE_Xrz_9bhg_WpeGrnlVQ","user":{"id":11333,"name":"PRIVAT BANK","email":"integrationbuspb@gmail.com","first_name":"PRIVAT","last_name":"BANK","gender":"none","photo_url":"https://odriuastorage.blob.core.windows.net/odri2container/18f5756e-c7a0-4d2e-a2a2-f2d84e48d278.png","photo_thumb_url":"https://odriuastorage.blob.core.windows.net/odri2container/0555928c-caf7-4c17-91ea-a39557452aa0.png","auto_fill":false,"roles":"Agent","allow_comment_on_booking":true,"is_online_user":false,"is_admin":false,"is_agent":true,"is_carrier_admin":false,"is_driver":false,"discount_cards":[]},"success":true,"execution_time":"00:14:09.5745316","lang":"uk","server_timestamp":1565787868.0}
  122.  
  123. Request: POST https://odri-ua.com/api/v2/booking/reserve_tickets HTTP/1.1
  124. Headers:
  125.     Accept: application/json
  126.     Accept-Language: uk
  127.     Content-Type: application/json
  128.     odri-api-key: ciwoqUaeb0mMiZ6mecKXfQ==
  129.     AdapterAuthorization: Bearer tU7mKUABs53XReLOK2hFWRdiygUxXxy9RN6eA6RrLtQsWWhDx16dQrrAhgNaOzKKE3d_6NsgnQLnA3365SplCXip8xbsCTOq-jgBrANHQewZg_8xr67wAAvzRRaraXwXImazEGL2LMF4Kh8ijMl58x0CFx3flImPjR8ItseFzZSCjUdIvtLkNuBIeKSjGmm-pFGT_mz6fIbGoPIFmN6UXaFOJY2nUpciQIT6HxKH1Z9y3KaUv2yqNgR9bi_Zxie6Bw-Say23RSSOA0Z9jExqXEYmCg4SosckaCB3Mt-mLXq61fPsgxixE25IWRQfdYgUo2NfVKQejlqnoRq6dMDKAIepRxYD0wlWQsbGxpbbCqSqPqYqGScwrbTJmlGdC4FQ9_D3RugmqVPgByyyPZfue-gXwbzCVS-j9MWb_PRddmCeFQ-VUHMYeh3J3WqkYBxb2LuTdzYi57ZGvelgoBjp3qPr5rONN4alMxaXK7dne20hAul0zgPrz7xhC5IbrEimP0kJ_gjytzoeABRCj1AExaIk0yvAjYtEmnnLTKim7QZra4_RmIZTW_VkDSrVn7TDTN9CxobGL6iO3io204sfT1AT_Bwt_Ku3qQPsgpJgu_ZvHXFKKKft9SSNJrf5temTxp1_2EX55Xozm19b-IdFwwbISQ7vGg32OCMNDJnpMkkUS5o-afWPaCYjhj47gX_cFNE_Xrz_9bhg_WpeGrnlVQ
  130. Payload:
  131. {"trip_type":"oneWay","passengers":[{"first_name":"SVITLANA","last_name":"RAZHYK","phone1":"+380979930572","trip_seats_to":[{"trip_id":8157,"seat_id":19383,"city_from_id":18,"city_to_id":157,"passenger_type_id":"1","passenger_type_discount":0,"number":1,"discount_cart_percent":0}]}],"currency_code":"UAH","hours_to_auto_cancel_reserved_status":1}
  132.  
  133. Response: HTTP/1.1 401 Unauthorized
  134. Headers:
  135.     Cache-Control: no-cache
  136.     Pragma: no-cache
  137.     Content-Length: 58
  138.     Content-Type: text/html
  139.     Expires: -1
  140.     Server: Microsoft-IIS/10.0
  141.     WWW-Authenticate: Bearer
  142.     X-AspNet-Version: 4.0.30319
  143.     X-Powered-By: ASP.NET
  144.     Set-Cookie: ARRAffinity=a62af598e46a8b84f30cfb1aae55cd93b4f4ab42b6d6d16d196bb07f7ebd66d0;Path=/;HttpOnly;Domain=odri-ua.com
  145.     Date: Wed, 14 Aug 2019 13:04:28 GMT
  146. Payload:
  147. You do not have permission to view this directory or page.
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top