Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Booking Issue #520

Open
ChidambaramPG opened this issue Apr 19, 2021 · 0 comments
Open

Booking Issue #520

ChidambaramPG opened this issue Apr 19, 2021 · 0 comments

Comments

@ChidambaramPG
Copy link

ChidambaramPG commented Apr 19, 2021

Hello,

I'm trying to book a flight using this, but im getting an error "Cannot read property 'LocatorCode' of undefined"

here is my request object

{
	"segments":[
		 {
				"from": "BLR",
				"to": "DXB",
				"group": 0,
				"departure": "2021-04-25T17:00:00.000+05:30",
				"arrival": "2021-04-25T21:15:00.000+04:00",
				"airline": "AI",
				"flightNumber": "993",
				"serviceClass": "Economy",
				"plane": "319",
				"bookingClass": "S",
				"fareBasisCode": "SLOWBLAE"
		 }
	],
	"passengers":[
            {
              "lastName":"Wick",
              "firstName":"John",
              "title":"Mr",
              "birthDate":"1992-05-19",
              "gender":"M",
              "ageCategory":"ADT",
              "passNumber":"123",
              "passCountry":"India"
        
            }
	],
	"phone":{
		"location":"COK",
		"countryCode":"91",
		"number":"9746******"
	},
	"allowWaitlist": true,
	"rule": "SIP"
}

What should i do?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant