-1

SOAP API を使用して、AddRemarkLLSRQ を使用してクロスまたはロレーヌをコメントに書き込むにはどうすればよいですか?

アスキーコードを使用してみましたが、うまくいきませんでした

リクエストは

   <soapenv:Body>
      <ns:AddRemarkRQ Version="2.1.0">
         <ns:RemarkInfo>
            <!--Zero or more repetitions:-->
            <ns:Remark Code="X" Type="General">
               <ns:Text>☨ REMARK 1</ns:Text>
            </ns:Remark>
         </ns:RemarkInfo>
      </ns:AddRemarkRQ>
   </soapenv:Body>

レスポンスは

  <AddRemarkRS Version="2.1.0" xmlns="http://webservices.sabre.com/sabreXML/2011/10" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:stl="http://services.sabre.com/STL/v01">
     <stl:ApplicationResults status="NotProcessed">
        <stl:Error type="BusinessLogic" timeStamp="2015-05-12T06:09:21-05:00">
           <stl:SystemSpecificResults>
              <stl:Message>.FRMT.NOT ENT BGNG WITH</stl:Message>
              <stl:ShortText>ERR.SWS.HOST.ERROR_IN_RESPONSE</stl:ShortText>
           </stl:SystemSpecificResults>
        </stl:Error>
     </stl:ApplicationResults>
  </AddRemarkRS>
4

3 に答える 3

1

これは少し遅いかもしれませんが、他の人にとっては...

fizmhd が提供するサンプルは、これを実装する正しい方法です。サービスがこれを行うため、「ロレーヌの十字架」文字を指定する必要はありません。

属性: コード = 修飾子 (あなたの場合は X、「X 修飾コメント」) タイプ = 一般 (「一般的な」コメント)

このサービスは、ユーザーが "X-qualified general remark" を追加しようとしていることを認識しているため、そこに×印を付けます。

また、ロレーヌのクロスは扱いにくい場合があることに注意してください。
Sabre のサンプル: 5H‡TEST
jmacagno のコメントより: ¥

どちらも使用する場所が異なるため、手元に置いておいてください。端末 (エージェント画面データ) は XML データとは異なる可能性があるため、両方を確認することがよくあります。

于 2015-11-02T19:05:54.267 に答える
0

これは私が信じている正しい文字である必要があります:「¥」

于 2015-05-18T03:20:27.180 に答える
0
<!--
"Code" is used to specify an alpha sorting character.
-->
<!--
"SegmentNumber" is used to specify a segment number.
-->
<!--
"Type" is used to specify the type of remark.  Acceptable values are: Alpha-Coded, Client Address, Corporate, Delivery Address, General, Group Name, Hidden, Historical, Invoice, or Itinerary.
-->


  <!--
Equivalent Sabre host command: 5H‡TEST ALPHA CODED REMARK
-->
<AddRemarkRQ xmlns="http://webservices.sabre.com/sabreXML/2011/10" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" Version="2.1.0">
<RemarkInfo>
<Remark Code="H" Type="Alpha-Coded">
<Text>TEST ALPHA CODED REMARK</Text>
</Remark>
</RemarkInfo>
</AddRemarkRQ>

これは sabre の開発者リソースからのサンプルです。これを試しましたか。

于 2015-06-10T05:49:25.090 に答える