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

airRetrieveSeatMap error processingLevel 1 #465

Open
feyzprod opened this issue Oct 4, 2023 · 0 comments
Open

airRetrieveSeatMap error processingLevel 1 #465

feyzprod opened this issue Oct 4, 2023 · 0 comments

Comments

@feyzprod
Copy link

feyzprod commented Oct 4, 2023

I am unable to retrieve a seat map, I am doing something wrong?

Request:
`$output = $client->airRetrieveSeatMap(new AirRetrieveSeatMapOptions(['flight' => new FlightInfo([
'departureDate' => \DateTime::createFromFormat('Ymd', '20231028', new \DateTimeZone('UTC')),
'departure' => 'DFW',
'arrival' => 'ATL',
'airline' => 'DL',
'flightNumber' => '401'
])]));

echo print_r($output,true);
`

Response:

`Amadeus\Client\Result Object
(
[status] => OK
[messages] => Array
(
)

[response] => stdClass Object
    (
        [errorDetails] => stdClass Object
            (
                [errorInformation] => stdClass Object
                    (
                        [processingLevel] => 1
                        [errorNumber] => 5
                    )

            )

    )

[responseXml] => <Air_RetrieveSeatMapReply xmlns="http://xml.amadeus.com/SMPRES_97_1_IA"><errorDetails><errorInformation><processingLevel>1</processingLevel><errorNumber>5</errorNumber></errorInformation></errorDetails></Air_RetrieveSeatMapReply>

)
`

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