Skip to content

Instantly share code, notes, and snippets.

@bludnic
Created April 21, 2020 15:00
Show Gist options
  • Save bludnic/e83e628c6bd3c9c34c03bef00df21054 to your computer and use it in GitHub Desktop.
Save bludnic/e83e628c6bd3c9c34c03bef00df21054 to your computer and use it in GitHub Desktop.
{
"status": "booked",
"tickets": [
{
"id": "atlas:3816813",
"price": 550,
"data": {
"series": "3816813",
"number": "3816813",
"id": "3816813"
},
"onlinePrice": 550,
"passenger": {
"genderType": "male",
"middleName": "Иванович",
"ticketType": "full",
"firstName": "Иван",
"docType": "id_ru",
"lastName": "Иванов",
"docNumber": "11111111114611770735",
"seat": null,
"birthDate": "1993-08-18",
"citizenship": "RU"
},
"paid": null,
"refunded": null,
"url": null,
"status": "booked",
"cancelledAt": null,
"createdAt": "2020-04-21T15:00:05.582Z",
"updatedAt": "2020-04-21T15:00:05.582Z"
}
],
"rideInfo": {
"partnerPhone": null,
"dischargeStops": [
{
"timezone": "Europe/Moscow",
"longitude": 37.86375145950311,
"latitude": 55.74509262979952,
"datetime": "2020-04-24T11:30:00",
"desc": "Метро Новокосино",
"id": "10886"
},
{
"timezone": "Europe/Moscow",
"longitude": 37.66050438919006,
"latitude": 55.75700093615955,
"datetime": "2020-04-24T12:00:00",
"desc": "Курский вокзал",
"id": "10887"
}
],
"carrier": "Тестовая Служба' 2\"",
"bus": {
"color": {
"name": "Белый",
"code": "FFFFFF"
},
"mark": "Mercedes-Benz",
"model": "Sprinter",
"reg": "5 TAX 3744"
},
"departure": "2020-04-24T07:00:00",
"fee": 0,
"connector": "atlas",
"from": {
"timezone": "Europe/Kaliningrad",
"id": "c554234",
"desc": "Калининград"
},
"carrierID": "77",
"to": {
"timezone": "Europe/Moscow",
"id": "c524901",
"desc": "Москва"
},
"price": 550,
"onlinePrice": 550,
"onlineRefund": true,
"status": "sale",
"valid_before": 600,
"partner": "101",
"id": "atlas:458922:554234:524901:1",
"partnerName": "Atlas",
"refundConditions": "",
"ticketLimit": 5,
"freeSeats": 22,
"benefits": [
"wifi",
"tv",
"air"
],
"arrival": "2020-04-24T12:00:00",
"currency": "RUB",
"bookFields": [
"phone",
"name",
"surname"
],
"rideType": null,
"carrier_phones": [
"375333333333",
"375290000000",
"88001001001"
],
"paymentTypes": [
"atlas_promocode",
"card",
"reccur",
"miles",
"cash"
],
"pickupStops": [
{
"timezone": "Europe/Kaliningrad",
"longitude": 20.53396115760784,
"latitude": 54.696812420975284,
"datetime": "2020-04-24T07:00:00",
"desc": "Стадион \"Калининград\"",
"id": "10885"
},
{
"timezone": "Europe/Kaliningrad",
"longitude": 20.609953503417948,
"latitude": 54.704616680174254,
"datetime": "2020-04-24T07:30:00",
"desc": "Московский проспект",
"id": "10737"
}
]
},
"pickupStop": {
"timezone": "Europe/Kaliningrad",
"longitude": 20.609953503417948,
"latitude": 54.704616680174254,
"datetime": "2020-04-24T07:30:00",
"desc": "Московский проспект",
"id": "10737"
},
"dischargeStop": {
"timezone": "Europe/Moscow",
"longitude": 37.66050438919006,
"latitude": 55.75700093615955,
"datetime": "2020-04-24T12:00:00",
"desc": "Курский вокзал",
"id": "10887"
},
"loyaltyInfo": null,
"paymentMethod": null,
"onlinePrice": 550,
"price": 550,
"createdAt": "2020-04-21T15:00:03.143Z",
"expiresIn": 897
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment