0

我想在 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;
4

0 回答 0