Service


按一下這裡以取得完整的作業清單。

f_doOrderHotel

處理国外订房訂單

測試

若要以 HTTP POST 通訊協定測試作業,請按一下 [叫用] 按鈕。
參數
p_usr_cnm:
p_pax_cd:
p_pax_qt:
p_grup_cd:
p_dep_dt:
p_usr_id:
get_tp:
assign_tp:
special_tp:
other_dr:
contact:
tel:
mobile:
total:
first_pax:
p_grup_nm:
extra_fee:
p_msln_cd:
p_paxs:
p_visas:
p_bed_tp1:
p_bed_tp2:
p_bed_tp3:
p_arr_dt:
p_room_cnm:
p_htl_cnm:
p_htl_cd:
p_htl_cu_dr:
p_htl_enm:
p_htl_ngt:
p_htl_acct_nop:
p_htl_br_dr:
p_pay_dl:
p_room_qt:
p_room_tp:
p_subd_sq:

SOAP 1.1

下列是 SOAP 1.1 要求與回應的範例。預留位置顯示之處必須代入實際的值。

POST /service.asmx HTTP/1.1
Host: beijing.ggogo.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://tempuri.org/f_doOrderHotel"

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <f_doOrderHotel xmlns="http://tempuri.org/">
      <p_usr_cnm>string</p_usr_cnm>
      <p_pax_cd>string</p_pax_cd>
      <p_pax_qt>string</p_pax_qt>
      <p_grup_cd>string</p_grup_cd>
      <p_dep_dt>string</p_dep_dt>
      <p_usr_id>string</p_usr_id>
      <get_tp>string</get_tp>
      <assign_tp>string</assign_tp>
      <special_tp>string</special_tp>
      <other_dr>string</other_dr>
      <contact>string</contact>
      <tel>string</tel>
      <mobile>string</mobile>
      <total>string</total>
      <first_pax>string</first_pax>
      <p_grup_nm>string</p_grup_nm>
      <extra_fee>string</extra_fee>
      <p_msln_cd>string</p_msln_cd>
      <p_paxs>string</p_paxs>
      <p_visas>string</p_visas>
      <p_bed_tp1>string</p_bed_tp1>
      <p_bed_tp2>string</p_bed_tp2>
      <p_bed_tp3>string</p_bed_tp3>
      <p_arr_dt>string</p_arr_dt>
      <p_room_cnm>string</p_room_cnm>
      <p_htl_cnm>string</p_htl_cnm>
      <p_htl_cd>string</p_htl_cd>
      <p_htl_cu_dr>string</p_htl_cu_dr>
      <p_htl_enm>string</p_htl_enm>
      <p_htl_ngt>string</p_htl_ngt>
      <p_htl_acct_nop>string</p_htl_acct_nop>
      <p_htl_br_dr>string</p_htl_br_dr>
      <p_pay_dl>string</p_pay_dl>
      <p_room_qt>string</p_room_qt>
      <p_room_tp>string</p_room_tp>
      <p_subd_sq>string</p_subd_sq>
    </f_doOrderHotel>
  </soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <f_doOrderHotelResponse xmlns="http://tempuri.org/">
      <f_doOrderHotelResult>string</f_doOrderHotelResult>
    </f_doOrderHotelResponse>
  </soap:Body>
</soap:Envelope>

SOAP 1.2

下列是 SOAP 1.2 要求與回應的範例。預留位置顯示之處必須代入實際的值。

POST /service.asmx HTTP/1.1
Host: beijing.ggogo.com
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <f_doOrderHotel xmlns="http://tempuri.org/">
      <p_usr_cnm>string</p_usr_cnm>
      <p_pax_cd>string</p_pax_cd>
      <p_pax_qt>string</p_pax_qt>
      <p_grup_cd>string</p_grup_cd>
      <p_dep_dt>string</p_dep_dt>
      <p_usr_id>string</p_usr_id>
      <get_tp>string</get_tp>
      <assign_tp>string</assign_tp>
      <special_tp>string</special_tp>
      <other_dr>string</other_dr>
      <contact>string</contact>
      <tel>string</tel>
      <mobile>string</mobile>
      <total>string</total>
      <first_pax>string</first_pax>
      <p_grup_nm>string</p_grup_nm>
      <extra_fee>string</extra_fee>
      <p_msln_cd>string</p_msln_cd>
      <p_paxs>string</p_paxs>
      <p_visas>string</p_visas>
      <p_bed_tp1>string</p_bed_tp1>
      <p_bed_tp2>string</p_bed_tp2>
      <p_bed_tp3>string</p_bed_tp3>
      <p_arr_dt>string</p_arr_dt>
      <p_room_cnm>string</p_room_cnm>
      <p_htl_cnm>string</p_htl_cnm>
      <p_htl_cd>string</p_htl_cd>
      <p_htl_cu_dr>string</p_htl_cu_dr>
      <p_htl_enm>string</p_htl_enm>
      <p_htl_ngt>string</p_htl_ngt>
      <p_htl_acct_nop>string</p_htl_acct_nop>
      <p_htl_br_dr>string</p_htl_br_dr>
      <p_pay_dl>string</p_pay_dl>
      <p_room_qt>string</p_room_qt>
      <p_room_tp>string</p_room_tp>
      <p_subd_sq>string</p_subd_sq>
    </f_doOrderHotel>
  </soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <f_doOrderHotelResponse xmlns="http://tempuri.org/">
      <f_doOrderHotelResult>string</f_doOrderHotelResult>
    </f_doOrderHotelResponse>
  </soap12:Body>
</soap12:Envelope>

HTTP GET

下列是 HTTP GET 要求與回應的範例。預留位置顯示之處必須代入實際的值。

GET /service.asmx/f_doOrderHotel?p_usr_cnm=string&p_pax_cd=string&p_pax_qt=string&p_grup_cd=string&p_dep_dt=string&p_usr_id=string&get_tp=string&assign_tp=string&special_tp=string&other_dr=string&contact=string&tel=string&mobile=string&total=string&first_pax=string&p_grup_nm=string&extra_fee=string&p_msln_cd=string&p_paxs=string&p_visas=string&p_bed_tp1=string&p_bed_tp2=string&p_bed_tp3=string&p_arr_dt=string&p_room_cnm=string&p_htl_cnm=string&p_htl_cd=string&p_htl_cu_dr=string&p_htl_enm=string&p_htl_ngt=string&p_htl_acct_nop=string&p_htl_br_dr=string&p_pay_dl=string&p_room_qt=string&p_room_tp=string&p_subd_sq=string HTTP/1.1
Host: beijing.ggogo.com
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<string xmlns="http://tempuri.org/">string</string>

HTTP POST

下列是 HTTP POST 要求與回應的範例。預留位置顯示之處必須代入實際的值。

POST /service.asmx/f_doOrderHotel HTTP/1.1
Host: beijing.ggogo.com
Content-Type: application/x-www-form-urlencoded
Content-Length: length

p_usr_cnm=string&p_pax_cd=string&p_pax_qt=string&p_grup_cd=string&p_dep_dt=string&p_usr_id=string&get_tp=string&assign_tp=string&special_tp=string&other_dr=string&contact=string&tel=string&mobile=string&total=string&first_pax=string&p_grup_nm=string&extra_fee=string&p_msln_cd=string&p_paxs=string&p_visas=string&p_bed_tp1=string&p_bed_tp2=string&p_bed_tp3=string&p_arr_dt=string&p_room_cnm=string&p_htl_cnm=string&p_htl_cd=string&p_htl_cu_dr=string&p_htl_enm=string&p_htl_ngt=string&p_htl_acct_nop=string&p_htl_br_dr=string&p_pay_dl=string&p_room_qt=string&p_room_tp=string&p_subd_sq=string
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<string xmlns="http://tempuri.org/">string</string>