API_2_04


Click here for a complete list of operations.

GastoGestion_SEARCH

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 /webservices/api_2_04.asmx HTTP/1.1
Host: services.mytravelagency.app
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "Giav.Core.Business/GastoGestion_SEARCH"

<?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>
    <GastoGestion_SEARCH xmlns="Giav.Core.Business">
      <apikey>string</apikey>
      <tipoServicio>BS or AV or HT or RC or BU or BC or CI or CR or DE or OT or RT or SG or TR or PQ or PZ</tipoServicio>
      <idCliente>int</idCliente>
      <fechaHoraModificacionDesde>string</fechaHoraModificacionDesde>
      <fechaHoraModificacionHasta>string</fechaHoraModificacionHasta>
      <pageSize>int</pageSize>
      <pageIndex>int</pageIndex>
    </GastoGestion_SEARCH>
  </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>
    <GastoGestion_SEARCHResponse xmlns="Giav.Core.Business">
      <GastoGestion_SEARCHResult>
        <WsGastoGestion>
          <Id>int</Id>
          <Descripcion>string</Descripcion>
          <TipoServicio>BS or AV or HT or RC or BU or BC or CI or CR or DE or OT or RT or SG or TR or PQ or PZ</TipoServicio>
          <Tarifa1>double</Tarifa1>
          <Tarifa2>double</Tarifa2>
          <Tarifa3>double</Tarifa3>
          <Tarifa4>double</Tarifa4>
          <Tarifa1EsPorcentaje>boolean</Tarifa1EsPorcentaje>
          <Tarifa2EsPorcentaje>boolean</Tarifa2EsPorcentaje>
          <Tarifa3EsPorcentaje>boolean</Tarifa3EsPorcentaje>
          <Tarifa4EsPorcentaje>boolean</Tarifa4EsPorcentaje>
          <Deshabilitado>boolean</Deshabilitado>
        </WsGastoGestion>
        <WsGastoGestion>
          <Id>int</Id>
          <Descripcion>string</Descripcion>
          <TipoServicio>BS or AV or HT or RC or BU or BC or CI or CR or DE or OT or RT or SG or TR or PQ or PZ</TipoServicio>
          <Tarifa1>double</Tarifa1>
          <Tarifa2>double</Tarifa2>
          <Tarifa3>double</Tarifa3>
          <Tarifa4>double</Tarifa4>
          <Tarifa1EsPorcentaje>boolean</Tarifa1EsPorcentaje>
          <Tarifa2EsPorcentaje>boolean</Tarifa2EsPorcentaje>
          <Tarifa3EsPorcentaje>boolean</Tarifa3EsPorcentaje>
          <Tarifa4EsPorcentaje>boolean</Tarifa4EsPorcentaje>
          <Deshabilitado>boolean</Deshabilitado>
        </WsGastoGestion>
      </GastoGestion_SEARCHResult>
    </GastoGestion_SEARCHResponse>
  </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 /webservices/api_2_04.asmx HTTP/1.1
Host: services.mytravelagency.app
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>
    <GastoGestion_SEARCH xmlns="Giav.Core.Business">
      <apikey>string</apikey>
      <tipoServicio>BS or AV or HT or RC or BU or BC or CI or CR or DE or OT or RT or SG or TR or PQ or PZ</tipoServicio>
      <idCliente>int</idCliente>
      <fechaHoraModificacionDesde>string</fechaHoraModificacionDesde>
      <fechaHoraModificacionHasta>string</fechaHoraModificacionHasta>
      <pageSize>int</pageSize>
      <pageIndex>int</pageIndex>
    </GastoGestion_SEARCH>
  </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>
    <GastoGestion_SEARCHResponse xmlns="Giav.Core.Business">
      <GastoGestion_SEARCHResult>
        <WsGastoGestion>
          <Id>int</Id>
          <Descripcion>string</Descripcion>
          <TipoServicio>BS or AV or HT or RC or BU or BC or CI or CR or DE or OT or RT or SG or TR or PQ or PZ</TipoServicio>
          <Tarifa1>double</Tarifa1>
          <Tarifa2>double</Tarifa2>
          <Tarifa3>double</Tarifa3>
          <Tarifa4>double</Tarifa4>
          <Tarifa1EsPorcentaje>boolean</Tarifa1EsPorcentaje>
          <Tarifa2EsPorcentaje>boolean</Tarifa2EsPorcentaje>
          <Tarifa3EsPorcentaje>boolean</Tarifa3EsPorcentaje>
          <Tarifa4EsPorcentaje>boolean</Tarifa4EsPorcentaje>
          <Deshabilitado>boolean</Deshabilitado>
        </WsGastoGestion>
        <WsGastoGestion>
          <Id>int</Id>
          <Descripcion>string</Descripcion>
          <TipoServicio>BS or AV or HT or RC or BU or BC or CI or CR or DE or OT or RT or SG or TR or PQ or PZ</TipoServicio>
          <Tarifa1>double</Tarifa1>
          <Tarifa2>double</Tarifa2>
          <Tarifa3>double</Tarifa3>
          <Tarifa4>double</Tarifa4>
          <Tarifa1EsPorcentaje>boolean</Tarifa1EsPorcentaje>
          <Tarifa2EsPorcentaje>boolean</Tarifa2EsPorcentaje>
          <Tarifa3EsPorcentaje>boolean</Tarifa3EsPorcentaje>
          <Tarifa4EsPorcentaje>boolean</Tarifa4EsPorcentaje>
          <Deshabilitado>boolean</Deshabilitado>
        </WsGastoGestion>
      </GastoGestion_SEARCHResult>
    </GastoGestion_SEARCHResponse>
  </soap12:Body>
</soap12:Envelope>