Skip to content

Instantly share code, notes, and snippets.

@bludnic
Created April 21, 2020 12:38
Show Gist options
  • Save bludnic/52f67450a26c0326c8fbeff4d1be87d4 to your computer and use it in GitHub Desktop.
Save bludnic/52f67450a26c0326c8fbeff4d1be87d4 to your computer and use it in GitHub Desktop.
{
"status": "expired",
"tickets": [
{
"id": "atlas:3816801",
"price": 550,
"data": {
"series": "3816801",
"id": "3816801",
"number": "3816801"
},
"onlinePrice": 550,
"passenger": {
"middleName": "Иванович",
"citizenship": "RU",
"ticketType": "full",
"lastName": "Иванов",
"seat": null,
"docType": "id_ru",
"firstName": "Иван",
"birthDate": "1993-08-18",
"docNumber": "11111111114611770735",
"genderType": "male"
},
"paid": 0,
"refunded": 0,
"url": "",
"status": "expired",
"cancelledAt": null,
"createdAt": "2020-04-19T18:48:40.375Z",
"updatedAt": "2020-04-19T19:20:00.649Z"
}
],
"rideInfo": {
"id": "458922:143:195:1",
"routeID": 519,
"from": {
"id": 143,
"desc": "Калининград"
},
"to": {
"id": 195,
"desc": "Москва"
},
"currency": "RUB",
"carrier": "Тестовая Служба' 2\"",
"billing": {
"partnerId": 101,
"carrierId": 77
},
"bus": {
"mark": "Mercedes-Benz",
"model": "Sprinter",
"reg": "5 TAX 3744",
"color": {
"name": "Белый",
"code": "FFFFFF"
},
"benefits": [
"wifi",
"tv",
"air"
]
},
"pickupStops": [
{
"id": 10737,
"desc": "Московский проспект",
"comment": "",
"latitude": "54.704616680174254",
"longitude": "20.609953503417948",
"datetime": "2020-04-24 07:30:00"
}
],
"dischargeStops": [
{
"id": 10887,
"desc": "Курский вокзал",
"comment": "",
"latitude": "55.75700093615955",
"longitude": "37.66050438919006",
"datetime": "2020-04-24 12:00:00"
}
],
"points": {
"from": {
"id": 10737,
"desc": "Московский проспект",
"comment": "",
"latitude": "54.704616680174254",
"longitude": "20.609953503417948",
"datetime": "2020-04-24 07:30:00"
},
"to": {
"id": 10887,
"desc": "Курский вокзал",
"comment": "",
"latitude": "55.75700093615955",
"longitude": "37.66050438919006",
"datetime": "2020-04-24 12:00:00"
}
},
"tariff": {
"id": 0,
"name": "Стандартный",
"description": ""
}
},
"pickupStop": {
"id": 10737,
"desc": "Московский проспект",
"comment": "",
"latitude": "54.704616680174254",
"longitude": "20.609953503417948",
"datetime": "2020-04-24 07:30:00"
},
"dischargeStop": {
"id": 10887,
"desc": "Курский вокзал",
"comment": "",
"latitude": "55.75700093615955",
"longitude": "37.66050438919006",
"datetime": "2020-04-24 12:00:00"
},
"loyaltyInfo": {
"tickets": [
{
"id": "atlas:3816801",
"miles": {
"price": 1774,
"toCollect": {
"cash": 89,
"card": 177
}
},
"discounts": {
"promocode": {
"cash": 550,
"card": 550
}
},
"basePrice": {
"cash": 550,
"card": 550
}
}
],
"promocode": {
"applied": false,
"error": null
}
},
"paymentMethod": "card",
"onlinePrice": 550,
"price": 550,
"createdAt": "2020-04-19T18:48:38.921Z",
"expiresIn": -149667
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment