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