Sample json

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

Ticket LCC Request JSON
                {
                "EndUserIp": "1.1.1.1",
                "ClientId": "xxxxxxxxx",
                "UserName": "xxxxxxx",
                "Password": "xxxxxxxxx",
                "SrdvType": "MixAPI",
                "SrdvIndex": "2",
                "TraceId": "174278",
                "ResultIndex": "5-5668111542_36DELAMD6E2501AMDBOM6E6794~36270019929212",
                "Passengers": [
                  {
                    "Title": "Mr",
                    "FirstName": "First",
                    "LastName": "Name",
                    "PaxType": 1,
                    "DateOfBirth": "",
                    "Gender": "1",
                    "PassportNo": "",
                    "PassportExpiry": "",
                    "PassportIssueDate": "",
                    "AddressLine1": "A152 Ashok Nagar",
                    "City": "Delhi",
                    "CountryCode": "IN",
                    "CountryName": "INDIA",
                    "CellCountryCode": "+91",
                    "ContactNo": "1234567890",
                    "Email": "brajesh@srdvtechnologies.com",
                    "Baggage": [
                      {
                        "WayType": 1,
                        "Code": "XBPESeKey309",
                        "Description": "Excess Baggage - 3 Kg",
                        "Weight": "Excess Baggage - 3 Kg",
                        "Currency": "INR",
                        "Price": 1350,
                        "Origin": "DEL",
                        "Destination": "AMD"
                      }
                    ],
                    "MealDynamic": [
                      {
                        "WayType": 1,
                        "Code": "TCSWSeKey309",
                        "Description": "Tomato Cucumber Cheese Lettuce Sandwich Combo",
                        "AirlineDescription": "Tomato Cucumber Cheese Lettuce Sandwich Combo",
                        "Quantity": "Tomato Cucumber Cheese Lettuce Sandwich Combo",
                        "Currency": "INR",
                        "Price": 400,
                        "Origin": "DEL",
                        "Destination": "AMD"
                      },
                      {
                        "WayType": 1,
                        "Code": "TCSWSeKey310",
                        "Description": "Tomato Cucumber Cheese Lettuce Sandwich Combo",
                        "AirlineDescription": "Tomato Cucumber Cheese Lettuce Sandwich Combo",
                        "Quantity": "Tomato Cucumber Cheese Lettuce Sandwich Combo",
                        "Currency": "INR",
                        "Price": 400,
                        "Origin": "AMD",
                        "Destination": "BOM"
                      }
                    ],
                    "Seat": [
                      {
                        "AirlineCode": "6E",
                        "FlightNumber": "6794",
                        "SeatNumber": "5B",
                        "IsBooked": false,
                        "IsLegroom": false,
                        "IsAisle": null,
                        "Amount": 250,
                        "Code": "5BSeKey310",
                        "Origin": "AMD",
                        "Destination": "BOM"
                      },
                      {
                        "AirlineCode": "6E",
                        "FlightNumber": "2501",
                        "SeatNumber": "4C",
                        "IsBooked": false,
                        "IsLegroom": false,
                        "IsAisle": true,
                        "Amount": 350,
                        "Code": "4CSeKey309",
                        "Origin": "DEL",
                        "Destination": "AMD"
                      }
                    ],
                    "IsLeadPax": 1,
                    "Fare": {
                      "BaseFare": 3691,
                      "Tax": 1465,
                      "TransactionFee": "0",
                      "YQTax": 700,
                      "AdditionalTxnFeeOfrd": "",
                      "AdditionalTxnFeePub": "",
                      "AirTransFee": "0"
                    }
                  }
                ]
              }
              
Ticket LCC Response JSON
                  {
                  "Error": {
                    "ErrorCode": "0",
                    "ErrorMessage": ""
                  },
                  "TraceId": "174278",
                  "ResponseStatus": "1",
                  "SrdvType": "MixAPI",
                  "Response": {
                    "SrdvIndex": "2",
                    "PNR": "TESTPNR",
                    "BookingId": 2106,
                    "SSRDenied": "",
                    "SSRMessage": "",
                    "Status": "1",
                    "IsPriceChanged": false,
                    "IsTimeChanged": false,
                    "TicketStatus": "1",
                    "FlightItinerary": {
                      "BookingId": 2106,
                      "IsManual": false,
                      "PNR": "TESTPNR",
                      "IsDomestic": "Not Set",
                      "Source": "Publish",
                      "Origin": "DEL",
                      "Destination": "AMD",
                      "AirlineCode": "6E",
                      "LastTicketDate": "",
                      "ValidatingAirlineCode": "",
                      "AirlineRemark": [],
                      "IsLCC": true,
                      "NonRefundable": false,
                      "FareType": "Publish",
                      "CreditNoteNo": "",
                      "Fare": {
                        "Currency": "INR",
                        "BaseFare": 3691,
                        "Tax": 1465,
                        "YQTax": 700,
                        "AdditionalTxnFeeOfrd": 0,
                        "AdditionalTxnFeePub": 0,
                        "PGCharge": 0,
                        "OtherCharges": 0,
                        "PublishedFare": 5156,
                        "OfferedFare": 5156,
                        "CommissionEarned": 0,
                        "TdsOnCommission": 0,
                        "ServiceFee": 0,
                        "TotalBaggageCharges": 0,
                        "TotalMealCharges": 0,
                        "TotalSeatCharges": 0,
                        "TotalSpecialServiceCharges": 0
                      },
                      "CreditNoteCreatedOn": "",
                      "Passenger": [
                        {
                          "PaxId": "",
                          "Title": "Mr",
                          "FirstName": "First",
                          "LastName": "Name",
                          "PaxType": "1",
                          "DateOfBirth": "",
                          "Gender": "",
                          "PassportNo": "",
                          "AddressLine1": "",
                          "City": "",
                          "CountryCode": "",
                          "CountryName": "",
                          "Nationality": "",
                          "ContactNo": "09870123654",
                          "Email": "navneet@srdvtechnologies.com",
                          "IsLeadPax": "",
                          "FFAirlineCode": "",
                          "FFNumber": "",
                          "Fare": {
                            "Currency": "",
                            "BaseFare": "",
                            "Tax": "",
                            "YQTax": "",
                            "AdditionalTxnFeeOfrd": "",
                            "AdditionalTxnFeePub": "",
                            "PGCharge": "",
                            "OtherCharges": "",
                            "PublishedFare": "",
                            "OfferedFare": "",
                            "ServiceFee": "",
                            "TotalBaggageCharges": "",
                            "TotalMealCharges": "",
                            "TotalSeatCharges": "",
                            "TotalSpecialServiceCharges": ""
                          },
                          "Ticket": {
                            "TicketId": "",
                            "TicketNumber": "",
                            "IssueDate": "",
                            "ValidatingAirline": "",
                            "Remarks": "",
                            "ServiceFeeDisplayType": "",
                            "Status": ""
                          },
                          "SegmentAdditionalInfo": [
                            {
                              "FareBasis": "",
                              "NVA": "",
                              "NVB": "",
                              "Baggage": "",
                              "Meal": "",
                              "Seat": "",
                              "SpecialService": ""
                            }
                          ]
                        }
                      ],
                      "CancellationCharges": "",
                      "Segments": [
                        {
                          "Baggage": "15 Kg (01 Piece only)",
                          "CabinBaggage": "7 Kg",
                          "TripIndicator": 1,
                          "SegmentIndicator": 1,
                          "DepTime": "2023-12-31T18:40",
                          "ArrTime": "2023-12-31T20:05",
                          "Airline": {
                            "AirlineCode": "6E",
                            "AirlineName": "IndiGo",
                            "FlightNumber": "2501",
                            "FareClass": "R",
                            "OperatingCarrier": ""
                          },
                          "AirlinePNR": "",
                          "AccumulatedDuration": 245,
                          "Origin": {
                            "AirportCode": "DEL",
                            "AirportName": "Delhi Indira Gandhi Intl",
                            "Terminal": "Terminal 2",
                            "CityCode": "DEL",
                            "CityName": "Delhi",
                            "CountryCode": "IN",
                            "CountryName": "India"
                          },
                          "Destination": {
                            "AirportCode": "AMD",
                            "AirportName": "Sardar Vallabh Bhai Patel Intl Arpt",
                            "Terminal": "Terminal 1",
                            "CityCode": "AMD",
                            "CityName": "Ahmedabad",
                            "CountryCode": "IN",
                            "CountryName": "India"
                          },
                          "Duration": 85,
                          "GroundTime": 160,
                          "Mile": "",
                          "StopOver": "",
                          "StopPoint": "",
                          "StopPointArrivalTime": "",
                          "StopPointDepartureTime": "",
                          "Craft": "",
                          "Remark": "",
                          "IsETicketEligible": "",
                          "FlightStatus": "",
                          "Status": ""
                        },
                        {
                          "Baggage": "15 Kg (01 Piece only)",
                          "CabinBaggage": "7 Kg",
                          "TripIndicator": 1,
                          "SegmentIndicator": 2,
                          "DepTime": "2023-12-31T22:45",
                          "ArrTime": "2024-01-01T00:10",
                          "Airline": {
                            "AirlineCode": "6E",
                            "AirlineName": "IndiGo",
                            "FlightNumber": "6794",
                            "FareClass": "R",
                            "OperatingCarrier": ""
                          },
                          "AirlinePNR": "",
                          "AccumulatedDuration": 330,
                          "Origin": {
                            "AirportCode": "AMD",
                            "AirportName": "Sardar Vallabh Bhai Patel Intl Arpt",
                            "Terminal": "Terminal 1",
                            "CityCode": "AMD",
                            "CityName": "Ahmedabad",
                            "CountryCode": "IN",
                            "CountryName": "India"
                          },
                          "Destination": {
                            "AirportCode": "BOM",
                            "AirportName": "Chhatrapati Shivaji",
                            "Terminal": "Terminal 2",
                            "CityCode": "BOM",
                            "CityName": "Mumbai",
                            "CountryCode": "IN",
                            "CountryName": "India"
                          },
                          "Duration": 85,
                          "GroundTime": "",
                          "Mile": "",
                          "StopOver": "",
                          "StopPoint": "",
                          "StopPointArrivalTime": "",
                          "StopPointDepartureTime": "",
                          "Craft": "",
                          "Remark": "",
                          "IsETicketEligible": "",
                          "FlightStatus": "",
                          "Status": ""
                        }
                      ],
                      "FareRules": [
                        {
                          "Origin": "",
                          "Destination": "",
                          "Airline": "",
                          "FareBasisCode": "",
                          "FareRuleDetail": "",
                          "FareRestriction": ""
                        }
                      ],
                      "InvoiceNo": "",
                      "InvoiceStatus": "",
                      "InvoiceCreatedOn": "",
                      "Remarks": "",
                      "PartialSegmentCancellation": "Not Allowed"
                    }
                  }
                }