amabnl / amadeus-ws-client

PHP Amadeus SOAP Web Service client library
Apache License 2.0
184 stars 191 forks source link

airRetrieveSeatMap error processingLevel 1 #465

Open feyzprod opened 1 year ago

feyzprod commented 1 year ago

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>

) `