Sample json

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

Hold GDS Request JSON
                                {  
   "EndUserIp":"1.1.1.1",
   "ClientId":"XXXX",
   "UserName":"XXXX",
   "Password":"XXXX",
   "SrdvType":"XXXX",
   "SrdvIndex":"XXXX",
   "TraceId":"XXXX",
   "ResultIndex":"XXXX",
   "Passengers":[  
      {  
         "Title":"Mr",
         "FirstName":"Joe",
         "LastName":"Milson",
         "PaxType":1,
         "DateOfBirth":"1997-03-12T00:00:00",
         "Gender":"1",
         "PassportNo":"abc12345",
         "PassportExpiry":"2027-12-12T00:00:00",
         "AddressLine1":"Noida, Sector 63",
         "City":"Noida",
         "CountryCode":"IN",
         "CountryName":"INDIA",
         "ContactNo":"1234567890",
         "Email":"email@gmail.com",
         "IsLeadPax":1,
         "Fare":[  
            {  
               "BaseFare":10205,
               "Tax":1214,
               "TransactionFee":"0",
               "YQTax":0,
               "AdditionalTxnFeeOfrd":0,
               "AdditionalTxnFeePub":0,
               "AirTransFee":"0"
            }
         ],
         "GSTCompanyAddress": "",
	    	"GSTCompanyContactNumber": "",
		   "GSTCompanyName": "",
		   "GSTNumber": "",
		   "GSTCompanyEmail": ""
      }
   ]
  }
Hold GDS Response JSON
                                {  
   "Error":{  
      "ErrorCode":"0",
      "ErrorMessage":""
   },
   "TraceId":"XXXX",
   "ResponseStatus":1,
   "SrdvType":"SingleTB",
   "Response":{  
      "SrdvIndex":"SrdvTB",
      "PNR":"VSDSY6",
      "BookingId":1495552,
      "SSRDenied":false,
      "SSRMessage":null,
      "Status":1,
      "IsPriceChanged":false,
      "IsTimeChanged":false,
      "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":"Amit",
               "LastName":"Singh",
               "PaxType":1,
               "DateOfBirth":"1997-03-12T00:00:00",
               "Gender":1,
               "PassportNo":"abc12345",
               "AddressLine1":"A152 Ashok Nagar",
               "City":"Delhi",
               "CountryCode":"IN",
               "CountryName":"INDIA",
               "Nationality":"IN",
               "ContactNo":"1234567890",
               "Email":"tt@tt.tt",
               "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
               }
            }
         ],
         "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":"2020-03-12T09:00:00",
               "StopPointDepartureTime":"2020-03-12T03:30:00",
               "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"
            }
         ]
      }
   }
}