Mish Zee

Mish Zee

  • NA
  • 259
  • 805

Returning Flight Schedules From XML

Dec 2 2015 5:50 PM
Hi,
 
I am trying to fetch and return flight schedules using the xml sample below.
Please any idea on how to achieve that either by using an asp.net web service or JSON.Net?
 

<?xml version="1.0"?>
<mds>
<auth>
<login>9000</login>
<pass>
aaw</pass>
<srcDomain>my.test.sabreng.com</srcDomain>
</auth>
<request>
<type>check_external_flight_nowait</type>
<conditions>
<trp_depDate>20150411</trp_depDate>
<trp_depCode>LOS</trp_depCode>
<trp_desCode>LON</trp_desCode>
<par_adt>1</par_adt>
<par_chd>0</par_chd>
<par_inf>0</par_inf>
<ofr_tourOp>XTVF,XSAB</ofr_tourOp>
<trp_durationM>7</trp_durationM>
<ofr_type>NF</ofr_type>
</conditions>
</request>
</mds>

 Thanks 

Answers (6)