Sample json

https://flight.srdvtest.com/v8/rest/TicketGDS

TicketGDS Request JSON

                                {  
      "EndUserIp":"1.1.1.1",
      "ClientId":"XXXX",
      "UserName":"XXXX",
      "Password":"XXXX",
      "SrdvType":"XXXX",
      "SrdvIndex":"XXXX",
      "TraceId":"XXXX",
      "PNR":"XXXX",
      "BookingId":"XXXX"
   }
TicketGDS Response JSON
                                {  
      "Error":{  
         "ErrorCode":"0",
         "ErrorMessage":""
      },
      "TraceId":"XXXX",
      "ResponseStatus":1,
      "SrdvType":"SingleTB",
      "Response":{  
         "SrdvIndex":"SrdvTB",
         "PNR":"VSDSY6",
         "BookingId":1495552,
         "SSRDenied":false,
         "SSRMessage":null,
         "IsPriceChanged":false,
         "IsTimeChanged":false,
         "TicketStatus":1,
         "FlightItinerary":{  
            "BookingId":1495552,
            "IsManual":false,
            "PNR":"VSDSY6",
            "IsDomestic":false,
            "Source":4,
            "Origin":"DEL",
            "Destination":"BKK",
            "AirlineCode":"TG",
            "LastTicketDate":"2020-03-02T04:00:00",
            "ValidatingAirlineCode":"TG",
            "AirlineRemark":"",
            "IsLCC":false,
            "NonRefundable":false,
            "FareType":"RA",
            "CreditNoteNo":null,
            "Fare":{  
               "Currency":"INR",
               "BaseFare":10205,
               "Tax":1214,
               "YQTax":0,
               "AdditionalTxnFeeOfrd":0,
               "AdditionalTxnFeePub":0,
               "PGCharge":0,
               "OtherCharges":11.8,
               "PublishedFare":11430.8,
               "OfferedFare":11380.8,
               "CommissionEarned":50,
               "TdsOnCommission":20,
               "ServiceFee":0,
               "TotalBaggageCharges":0,
               "TotalMealCharges":0,
               "TotalSeatCharges":0,
               "TotalSpecialServiceCharges":0
            },
            "CreditNoteCreatedOn":null,
            "Passenger":[  
               {  
                  "PaxId":2144710,
                  "Title":"Mr",
                  "FirstName":"Joe",
                  "LastName":"Milson",
                  "PaxType":1,
                  "DateOfBirth":"1997-03-12T00:00:00",
                  "Gender":1,
                  "PassportNo":"abc12345",
                  "AddressLine1":"Noida, Sector 63",
                  "City":"Noida",
                  "CountryCode":"IN",
                  "CountryName":"",
                  "Nationality":"IN",
                  "ContactNo":"1234567890",
                  "Email":"email@gmail.com",
                  "IsLeadPax":true,
                  "FFAirlineCode":null,
                  "FFNumber":null,
                  "Fare":{  
                     "Currency":"INR",
                     "BaseFare":10205,
                     "Tax":1214,
                     "YQTax":0,
                     "AdditionalTxnFeeOfrd":0,
                     "AdditionalTxnFeePub":0,
                     "PGCharge":0,
                     "OtherCharges":11.8,
                     "PublishedFare":11430.8,
                     "OfferedFare":11380.8,
                     "ServiceFee":0,
                     "TotalBaggageCharges":0,
                     "TotalMealCharges":0,
                     "TotalSeatCharges":0,
                     "TotalSpecialServiceCharges":0
                  },
                  "Ticket":{  
                     "TicketId":1760879,
                     "TicketNumber":"3432743357",
                     "IssueDate":"2019-08-18T18:25:03",
                     "ValidatingAirline":"217",
                     "Remarks":"",
                     "ServiceFeeDisplayType":"ShowInTax",
                     "Status":"OK"
                  },
                  "SegmentAdditionalInfo":[  
                     {  
                        "FareBasis":"W1LOII3",
                        "NVA":"",
                        "NVB":"",
                        "Baggage":"30 Kg",
                        "Meal":"0 Platter",
                        "Seat":"",
                        "SpecialService":""
                     }
                  ]
               }
            ],
            "CancellationCharges":null,
            "Segments":[  
               {  
                  "Baggage":null,
                  "CabinBaggage":null,
                  "TripIndicator":1,
                  "SegmentIndicator":1,
                  "DepTime":"2020-03-12T03:30:00",
                  "ArrTime":"2020-03-12T09:00:00",
                  "Airline":{  
                     "AirlineCode":"TG",
                     "AirlineName":"Thai Airways International",
                     "FlightNumber":"332",
                     "FareClass":"W",
                     "OperatingCarrier":"TG"
                  },
                  "AirlinePNR":"VSDSY6",
                  "AccumulatedDuration":240,
                  "Origin":{  
                     "AirportCode":"DEL",
                     "AirportName":"Indira Gandhi Airport",
                     "Terminal":"3 ",
                     "CityCode":"DEL",
                     "CityName":"Delhi",
                     "CountryCode":"IN",
                     "CountryName":"India"
                  },
                  "Destination":{  
                     "AirportCode":"BKK",
                     "AirportName":"Bangkok Int'l",
                     "Terminal":"",
                     "CityCode":"BKK",
                     "CityName":"Bangkok",
                     "CountryCode":"TH",
                     "CountryName":"Thailand"
                  },
                  "Duration":240,
                  "GroundTime":0,
                  "Mile":0,
                  "StopOver":false,
                  "StopPoint":"",
                  "StopPointArrivalTime":null,
                  "StopPointDepartureTime":null,
                  "Craft":"788",
                  "Remark":"INDIAN NATIONALITY REQ MIN 2 HRS TRANSIT, FOR ARVL VISA APPLICABLE ON THAILAND ENTRY, SEE RTSVC",
                  "IsETicketEligible":true,
                  "FlightStatus":"Confirmed",
                  "Status":"HK"
               }
            ],
            "FareRules":[  
               {  
                  "Origin":"DEL",
                  "Destination":"BKK",
                  "Airline":"TG",
                  "FareBasisCode":"W1LOII3",
                  "FareRuleDetail":"",
                  "FareRestriction":"Y"
               }
            ],
            "InvoiceNo":"IW/1920/4652",
            "InvoiceStatus":3,
            "InvoiceCreatedOn":"2019-08-18T18:25:03",
            "Remarks":""
         }
      }
   }