Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "messages": [
- {
- "attachment":{
- "type":"template",
- "payload": {
- "template_type": "airline_boardingpass",
- "intro_message": "You are checked in.",
- "locale": "en_US",
- "boarding_pass": [
- {
- "passenger_name": "SMITH\/NICOLAS",
- "pnr_number": "CG4X7U",
- "seat": "74J",
- "logo_image_url": "https:\/\/i.ytimg.com\/vi\/FrTN98wK9FY\/maxresdefault.jpg",
- "header_image_url": "http:\/\/www.usaflightinsurance.com\/wp-content\/themes\/usaflightinsurance\/images\/header1.jpg",
- "qr_code": "M1SMITH\/NICOLAS CG4X7U nawouehgawgnapwi3jfa0wfh",
- "above_bar_code_image_url": "https:\/\/www.example.com\/en\/PLAT.png",
- "auxiliary_fields": [
- {
- "label": "Terminal",
- "value": "T1"
- },
- {
- "label": "Departure",
- "value": "30OCT 19:05"
- }
- ],
- "secondary_fields": [
- {
- "label": "Boarding",
- "value": "18:30"
- },
- {
- "label": "Gate",
- "value": "D57"
- },
- {
- "label": "Seat",
- "value": "74J"
- },
- {
- "label": "Sec.Nr.",
- "value": "003"
- }
- ],
- "flight_info": {
- "flight_number": "KL0642",
- "departure_airport": {
- "airport_code": "JFK",
- "city": "New York",
- "terminal": "T1",
- "gate": "D57"
- },
- "arrival_airport": {
- "airport_code": "AMS",
- "city": "Amsterdam"
- },
- "flight_schedule": {
- "departure_time": "2016-01-02T19:05",
- "arrival_time": "2016-01-05T17:30"
- }
- }
- }
- ]
- }
- }
- }
- ]
- }
Add Comment
Please, Sign In to add comment