'Unable to get getConfigurationAndPricing in PromoStandard

I am trying to getting Product getConfigurationAndPricing using Promostandard Soap API but for some reason I am unable to get those information. Here is my code snapit

$productId = 'TM17907'
$client = new \SoapClient("https://pspriceconfig100.pcna.online/psPriceConfig.svc?singleWsdl", array('trace' => 1));
$options  = array(  
                        'wsVersion' => '1.0.0',
                        'id' => $apiUsername, 
                        'password' => $apiPassword,
                        'productId' => $productId,
                        'currency' => 'USD',
                        'fobId' => '1',
                        'priceType' => 'List',
                        'localizationCountry'=>'US',
                        'localizationLanguage' => 'en',
                        'configurationType' => 'Decorated',
                        'cache_wsdl' => WSDL_CACHE_MEMORY
                    );
                    try{
                        $result = $client->__soapCall('getConfigurationAndPricing',[$options]);
                    } catch (\Exception $e){
                        $output->writeln("<error>HTTP issue generate in product ID : ".$productId.", Row No.".$currentRow."</error>");
                        continue;
                    }

I am using to get PCNA products.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source