ExternalAgencies
Click here for a complete list of operations.
getTuiData
Returns TUI Spain Company Data
Test
The test form is only available for requests from the local machine.SOAP 1.1
The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.
POST /ExternalAgencies.asmx HTTP/1.1
Host: wsagencias.int.samatravel.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://tempuri.org/getTuiData"
<?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>
<getTuiData xmlns="http://tempuri.org/">
<BookingCountry>string</BookingCountry>
<PolarTurVersion>string</PolarTurVersion>
<Company>string</Company>
</getTuiData>
</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>
<getTuiDataResponse xmlns="http://tempuri.org/">
<getTuiDataResult>
<lic>string</lic>
<dir>string</dir>
<pob>string</pob>
<ivan>decimal</ivan>
<ivar>decimal</ivar>
<nif>string</nif>
<mc>string</mc>
<igicn>decimal</igicn>
<igicr>decimal</igicr>
<autofac>int</autofac>
<redondeo>int</redondeo>
<numcop>int</numcop>
<versionprg>int</versionprg>
<tel>string</tel>
<fax>string</fax>
<email>string</email>
<dirweb>string</dirweb>
<tralog>int</tralog>
<envfax>int</envfax>
<moneda>string</moneda>
<feccla>string</feccla>
<horacupo>string</horacupo>
<horamsg>string</horamsg>
<servidor>string</servidor>
<cicma>string</cicma>
<tel1>string</tel1>
<grpgen>string</grpgen>
<digcta>string</digcta>
<domban>string</domban>
<ctaban>string</ctaban>
<leyenda>string</leyenda>
<ctaivacom>string</ctaivacom>
<ctacomis>string</ctacomis>
<fecdes>string</fecdes>
<fechas>string</fechas>
<limite>string</limite>
<texto1>string</texto1>
<texto2>string</texto2>
<sinseguro>string</sinseguro>
<porivasm>string</porivasm>
<ctagastos>string</ctagastos>
<contaplus>string</contaplus>
<ctatasas>string</ctatasas>
<sufijocp>string</sufijocp>
<cierre>string</cierre>
<diasacc>string</diasacc>
<ctadif>string</ctadif>
<horaH>string</horaH>
<grupogeneral>string</grupogeneral>
<gtosgestion>decimal</gtosgestion>
<rutatxt>string</rutatxt>
<mrgmin>decimal</mrgmin>
<mrgmax>decimal</mrgmax>
<retardo>int</retardo>
<idioma>string</idioma>
<rutapdf>string</rutapdf>
<limiteplazasweb>string</limiteplazasweb>
<prgconta>string</prgconta>
<rutaimpor>string</rutaimpor>
<envmail>string</envmail>
<maxhorasprersv>string</maxhorasprersv>
<rutaficherosweb>string</rutaficherosweb>
<rutaficheroswebxml>string</rutaficheroswebxml>
<numrsv>string</numrsv>
<numpre>string</numpre>
<margeniris>decimal</margeniris>
<correoprov_quien>string</correoprov_quien>
<correoprov_de>string</correoprov_de>
<correoprov_proc_alm>string</correoprov_proc_alm>
<correoprov_textini>string</correoprov_textini>
<permitele_vuelos>string</permitele_vuelos>
<recuperapvp>string</recuperapvp>
<limiteprersv>string</limiteprersv>
<fecha_saldos>string</fecha_saldos>
</getTuiDataResult>
</getTuiDataResponse>
</soap:Body>
</soap:Envelope>
SOAP 1.2
The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.
POST /ExternalAgencies.asmx HTTP/1.1
Host: wsagencias.int.samatravel.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>
<getTuiData xmlns="http://tempuri.org/">
<BookingCountry>string</BookingCountry>
<PolarTurVersion>string</PolarTurVersion>
<Company>string</Company>
</getTuiData>
</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>
<getTuiDataResponse xmlns="http://tempuri.org/">
<getTuiDataResult>
<lic>string</lic>
<dir>string</dir>
<pob>string</pob>
<ivan>decimal</ivan>
<ivar>decimal</ivar>
<nif>string</nif>
<mc>string</mc>
<igicn>decimal</igicn>
<igicr>decimal</igicr>
<autofac>int</autofac>
<redondeo>int</redondeo>
<numcop>int</numcop>
<versionprg>int</versionprg>
<tel>string</tel>
<fax>string</fax>
<email>string</email>
<dirweb>string</dirweb>
<tralog>int</tralog>
<envfax>int</envfax>
<moneda>string</moneda>
<feccla>string</feccla>
<horacupo>string</horacupo>
<horamsg>string</horamsg>
<servidor>string</servidor>
<cicma>string</cicma>
<tel1>string</tel1>
<grpgen>string</grpgen>
<digcta>string</digcta>
<domban>string</domban>
<ctaban>string</ctaban>
<leyenda>string</leyenda>
<ctaivacom>string</ctaivacom>
<ctacomis>string</ctacomis>
<fecdes>string</fecdes>
<fechas>string</fechas>
<limite>string</limite>
<texto1>string</texto1>
<texto2>string</texto2>
<sinseguro>string</sinseguro>
<porivasm>string</porivasm>
<ctagastos>string</ctagastos>
<contaplus>string</contaplus>
<ctatasas>string</ctatasas>
<sufijocp>string</sufijocp>
<cierre>string</cierre>
<diasacc>string</diasacc>
<ctadif>string</ctadif>
<horaH>string</horaH>
<grupogeneral>string</grupogeneral>
<gtosgestion>decimal</gtosgestion>
<rutatxt>string</rutatxt>
<mrgmin>decimal</mrgmin>
<mrgmax>decimal</mrgmax>
<retardo>int</retardo>
<idioma>string</idioma>
<rutapdf>string</rutapdf>
<limiteplazasweb>string</limiteplazasweb>
<prgconta>string</prgconta>
<rutaimpor>string</rutaimpor>
<envmail>string</envmail>
<maxhorasprersv>string</maxhorasprersv>
<rutaficherosweb>string</rutaficherosweb>
<rutaficheroswebxml>string</rutaficheroswebxml>
<numrsv>string</numrsv>
<numpre>string</numpre>
<margeniris>decimal</margeniris>
<correoprov_quien>string</correoprov_quien>
<correoprov_de>string</correoprov_de>
<correoprov_proc_alm>string</correoprov_proc_alm>
<correoprov_textini>string</correoprov_textini>
<permitele_vuelos>string</permitele_vuelos>
<recuperapvp>string</recuperapvp>
<limiteprersv>string</limiteprersv>
<fecha_saldos>string</fecha_saldos>
</getTuiDataResult>
</getTuiDataResponse>
</soap12:Body>
</soap12:Envelope>