API_2_04


Click here for a complete list of operations.

CustomData_SEARCH

Test

The test form is only available for methods with primitive types as parameters.

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/CustomData_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>
    <CustomData_SEARCH xmlns="Giav.Core.Business">
      <apikey>string</apikey>
      <idsCustomData>
        <int>int</int>
        <int>int</int>
      </idsCustomData>
      <types>
        <CustomDataType>TextBox or ComboBox or ComboBoMultiSelect or Boolean or Moneraty or Date or Numeric</CustomDataType>
        <CustomDataType>TextBox or ComboBox or ComboBoMultiSelect or Boolean or Moneraty or Date or Numeric</CustomDataType>
      </types>
      <name>string</name>
      <targetClass>
        <CustomDataTargetClass>Agente or Cliente or Departamento or Proveedor or Presupuesto or Expediente or Reserva or Cobro or Factura or FacturaProveedor or FacturaAcreedor or Pago</CustomDataTargetClass>
        <CustomDataTargetClass>Agente or Cliente or Departamento or Proveedor or Presupuesto or Expediente or Reserva or Cobro or Factura or FacturaProveedor or FacturaAcreedor or Pago</CustomDataTargetClass>
      </targetClass>
      <required>NoAplicar or Si or No</required>
      <modificationDateHourFrom>string</modificationDateHourFrom>
      <modificationDateHourTo>string</modificationDateHourTo>
      <pageSize>int</pageSize>
      <pageIndex>int</pageIndex>
    </CustomData_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>
    <CustomData_SEARCHResponse xmlns="Giav.Core.Business">
      <CustomData_SEARCHResult>
        <CustomData>
          <Id>int</Id>
          <Name>string</Name>
          <Type>TextBox or ComboBox or ComboBoMultiSelect or Boolean or Moneraty or Date or Numeric</Type>
          <Required>boolean</Required>
          <ComboBoxOptions>
            <string>string</string>
            <string>string</string>
          </ComboBoxOptions>
        </CustomData>
        <CustomData>
          <Id>int</Id>
          <Name>string</Name>
          <Type>TextBox or ComboBox or ComboBoMultiSelect or Boolean or Moneraty or Date or Numeric</Type>
          <Required>boolean</Required>
          <ComboBoxOptions>
            <string>string</string>
            <string>string</string>
          </ComboBoxOptions>
        </CustomData>
      </CustomData_SEARCHResult>
    </CustomData_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>
    <CustomData_SEARCH xmlns="Giav.Core.Business">
      <apikey>string</apikey>
      <idsCustomData>
        <int>int</int>
        <int>int</int>
      </idsCustomData>
      <types>
        <CustomDataType>TextBox or ComboBox or ComboBoMultiSelect or Boolean or Moneraty or Date or Numeric</CustomDataType>
        <CustomDataType>TextBox or ComboBox or ComboBoMultiSelect or Boolean or Moneraty or Date or Numeric</CustomDataType>
      </types>
      <name>string</name>
      <targetClass>
        <CustomDataTargetClass>Agente or Cliente or Departamento or Proveedor or Presupuesto or Expediente or Reserva or Cobro or Factura or FacturaProveedor or FacturaAcreedor or Pago</CustomDataTargetClass>
        <CustomDataTargetClass>Agente or Cliente or Departamento or Proveedor or Presupuesto or Expediente or Reserva or Cobro or Factura or FacturaProveedor or FacturaAcreedor or Pago</CustomDataTargetClass>
      </targetClass>
      <required>NoAplicar or Si or No</required>
      <modificationDateHourFrom>string</modificationDateHourFrom>
      <modificationDateHourTo>string</modificationDateHourTo>
      <pageSize>int</pageSize>
      <pageIndex>int</pageIndex>
    </CustomData_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>
    <CustomData_SEARCHResponse xmlns="Giav.Core.Business">
      <CustomData_SEARCHResult>
        <CustomData>
          <Id>int</Id>
          <Name>string</Name>
          <Type>TextBox or ComboBox or ComboBoMultiSelect or Boolean or Moneraty or Date or Numeric</Type>
          <Required>boolean</Required>
          <ComboBoxOptions>
            <string>string</string>
            <string>string</string>
          </ComboBoxOptions>
        </CustomData>
        <CustomData>
          <Id>int</Id>
          <Name>string</Name>
          <Type>TextBox or ComboBox or ComboBoMultiSelect or Boolean or Moneraty or Date or Numeric</Type>
          <Required>boolean</Required>
          <ComboBoxOptions>
            <string>string</string>
            <string>string</string>
          </ComboBoxOptions>
        </CustomData>
      </CustomData_SEARCHResult>
    </CustomData_SEARCHResponse>
  </soap12:Body>
</soap12:Envelope>

HTTP POST

The following is a sample HTTP POST request and response. The placeholders shown need to be replaced with actual values.

POST /webservices/api_2_04.asmx/CustomData_SEARCH HTTP/1.1
Host: services.mytravelagency.app
Content-Type: application/x-www-form-urlencoded
Content-Length: length

apikey=string&idsCustomData=string&idsCustomData=string&types=string&types=string&name=string&targetClass=string&targetClass=string&required=string&modificationDateHourFrom=string&modificationDateHourTo=string&pageSize=string&pageIndex=string
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<ArrayOfCustomData xmlns="Giav.Core.Business">
  <CustomData>
    <Id>int</Id>
    <Name>string</Name>
    <Type>TextBox or ComboBox or ComboBoMultiSelect or Boolean or Moneraty or Date or Numeric</Type>
    <Required>boolean</Required>
    <ComboBoxOptions>
      <string>string</string>
      <string>string</string>
    </ComboBoxOptions>
  </CustomData>
  <CustomData>
    <Id>int</Id>
    <Name>string</Name>
    <Type>TextBox or ComboBox or ComboBoMultiSelect or Boolean or Moneraty or Date or Numeric</Type>
    <Required>boolean</Required>
    <ComboBoxOptions>
      <string>string</string>
      <string>string</string>
    </ComboBoxOptions>
  </CustomData>
</ArrayOfCustomData>