如何在PNR_AddMultiElement api中添加此条目?

时间:2018-01-29 17:24:01

标签: amadeus

我想在PNR_AddMuleiElement API XML中添加此条目,但它一直让我犯错误。

条目:SR FOID PPT-TBA / P1

我的代码

                $j++;
                $refn++;
                $params['dataElementsMaster']['dataElementsIndiv'][$j]['elementManagementData']['reference']['qualifier'] = 'SR';
                $params['dataElementsMaster']['dataElementsIndiv'][$j]['elementManagementData']['reference']['number'] = $refn;
                $params['dataElementsMaster']['dataElementsIndiv'][$j]['elementManagementData']['segmentName'] = 'SSR';
                $params['dataElementsMaster']['dataElementsIndiv'][$j]['serviceRequest']['ssr']['type'] = 'FOID';
                $params['dataElementsMaster']['dataElementsIndiv'][$j]['serviceRequest']['ssr']['companyId'] = $passport_required_airline;                
                $params['dataElementsMaster']['dataElementsIndiv'][$j]['serviceRequest']['ssr']['freetext'] = 'TBA';
                $params['dataElementsMaster']['dataElementsIndiv'][$j]['referenceForDataElement']['reference']['qualifier'] = "PP";
                $params['dataElementsMaster']['dataElementsIndiv'][$j]['referenceForDataElement']['reference']['number'] = $k;

0 个答案:

没有答案