API_2_02


Click here for a complete list of operations.

Oficina_POST

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

<?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>
    <Oficina_POST xmlns="Giav.Core.Business">
      <apikey>string</apikey>
      <idSedeFiscal>ES_PenínsulaYBaleares or ES_Canarias or ES_CeutaYMelilla</idSedeFiscal>
      <codigo>string</codigo>
      <denominacion>string</denominacion>
      <nombreComercial>string</nombreComercial>
      <direccion>string</direccion>
      <codPostal>string</codPostal>
      <poblacion>string</poblacion>
      <provincia>string</provincia>
      <pais>string</pais>
      <telefono>string</telefono>
      <fax>string</fax>
      <email>string</email>
      <observaciones>string</observaciones>
      <permiteAltaCifEuropeo>boolean</permiteAltaCifEuropeo>
      <facturaECodPais>AFG or ALB or DZA or ASM or AND or AGO or AIA or ATG or ARG or ARM or ABW or AUS or AUT or AZE or BHS or BHR or BGD or BRB or BLR or BEL or BLZ or BEN or BMU or BTN or BOL or BIH or BWA or BRA or BRN or BGR or BFA or BDI or KHM or CMR or CAN or CPV or CYM or CAF or TCD or CHL or CHN or COD or COL or COM or COG or COK or CRI or CIV or HRV or CUB or CYP or CZE or DNK or DJI or DMA or DOM or ECU or EGY or SLV or GNQ or ERI or EST or ETH or FLK or FRO or FJI or FIN or FRA or GUF or PYF or GAB or GMB or GEO or GGY or DEU or GHA or GIB or GRC or GRL or GRD or GLP or GUM or GTM or GIN or GNB or GUY or HTI or HND or HKG or HUN or ISL or IND or IDN or IMN or IRN or IRQ or IRL or ISR or ITA or JAM or JEY or JPN or JOR or KAZ or KEN or KIR or PRK or KOR or KWT or KGZ or LAO or LVA or LBN or LSO or LBR or LBY or LIE or LTU or LUX or MAC or MKD or MDG or MWI or MYS or MDV or MLI or MLT or MHL or MTQ or MRT or MUS or MYT or MEX or FSM or MDA or MCO or MNE or MNG or MSR or MAR or MOZ or MMR or NAM or NRU or NPL or NLD or ANT or NCL or NZL or NIC or NER or NGA or NIU or NFK or MNP or NOR or OMN or PAK or PLW or PAN or PNG or PRY or PSE or PER or PHL or PCN or POL or PRT or PRI or QAT or REU or ROU or RUS or RWA or KNA or LCA or VCT or WSM or SMR or STP or SAU or SEN or SRB or SYC or SLE or SGP or SVK or SVN or SLB or SOM or ZAF or ESP or LKA or SHN or SPM or SDN or SUR or SJM or SWZ or SWE or CHE or SYR or TWN or TJK or TZA or THA or TGO or TKL or TON or TTO or TUN or TUR or TKM or TLS or TCA or TUV or UGA or UKR or ARE or GBR or USA or URY or UZB or VUT or VAT or VEN or VNM or VGB or VIR or WLF or ESH or YEM or ZAR or ZMB or ZWE</facturaECodPais>
      <enPracticas>boolean</enPracticas>
      <verSoloClientesOficina>boolean</verSoloClientesOficina>
      <codContableOficina>string</codContableOficina>
      <documentosColorLinea>string</documentosColorLinea>
      <documentosColorSombra>string</documentosColorSombra>
      <cierreExpFacturados>boolean</cierreExpFacturados>
      <cierreExpCobrados>boolean</cierreExpCobrados>
      <cierreExpCompensados>boolean</cierreExpCompensados>
      <cierreExpCostesRecepcionados>boolean</cierreExpCostesRecepcionados>
      <cierreExpCostesRecepcionadosyPagados>boolean</cierreExpCostesRecepcionadosyPagados>
      <CierreExpRentabilidadMinPrevisto>double</CierreExpRentabilidadMinPrevisto>
      <CierreExpRentabilidadMinReal>double</CierreExpRentabilidadMinReal>
      <CierreExpLiquidezMinima>double</CierreExpLiquidezMinima>
    </Oficina_POST>
  </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>
    <Oficina_POSTResponse xmlns="Giav.Core.Business">
      <Oficina_POSTResult>int</Oficina_POSTResult>
    </Oficina_POSTResponse>
  </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_02.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>
    <Oficina_POST xmlns="Giav.Core.Business">
      <apikey>string</apikey>
      <idSedeFiscal>ES_PenínsulaYBaleares or ES_Canarias or ES_CeutaYMelilla</idSedeFiscal>
      <codigo>string</codigo>
      <denominacion>string</denominacion>
      <nombreComercial>string</nombreComercial>
      <direccion>string</direccion>
      <codPostal>string</codPostal>
      <poblacion>string</poblacion>
      <provincia>string</provincia>
      <pais>string</pais>
      <telefono>string</telefono>
      <fax>string</fax>
      <email>string</email>
      <observaciones>string</observaciones>
      <permiteAltaCifEuropeo>boolean</permiteAltaCifEuropeo>
      <facturaECodPais>AFG or ALB or DZA or ASM or AND or AGO or AIA or ATG or ARG or ARM or ABW or AUS or AUT or AZE or BHS or BHR or BGD or BRB or BLR or BEL or BLZ or BEN or BMU or BTN or BOL or BIH or BWA or BRA or BRN or BGR or BFA or BDI or KHM or CMR or CAN or CPV or CYM or CAF or TCD or CHL or CHN or COD or COL or COM or COG or COK or CRI or CIV or HRV or CUB or CYP or CZE or DNK or DJI or DMA or DOM or ECU or EGY or SLV or GNQ or ERI or EST or ETH or FLK or FRO or FJI or FIN or FRA or GUF or PYF or GAB or GMB or GEO or GGY or DEU or GHA or GIB or GRC or GRL or GRD or GLP or GUM or GTM or GIN or GNB or GUY or HTI or HND or HKG or HUN or ISL or IND or IDN or IMN or IRN or IRQ or IRL or ISR or ITA or JAM or JEY or JPN or JOR or KAZ or KEN or KIR or PRK or KOR or KWT or KGZ or LAO or LVA or LBN or LSO or LBR or LBY or LIE or LTU or LUX or MAC or MKD or MDG or MWI or MYS or MDV or MLI or MLT or MHL or MTQ or MRT or MUS or MYT or MEX or FSM or MDA or MCO or MNE or MNG or MSR or MAR or MOZ or MMR or NAM or NRU or NPL or NLD or ANT or NCL or NZL or NIC or NER or NGA or NIU or NFK or MNP or NOR or OMN or PAK or PLW or PAN or PNG or PRY or PSE or PER or PHL or PCN or POL or PRT or PRI or QAT or REU or ROU or RUS or RWA or KNA or LCA or VCT or WSM or SMR or STP or SAU or SEN or SRB or SYC or SLE or SGP or SVK or SVN or SLB or SOM or ZAF or ESP or LKA or SHN or SPM or SDN or SUR or SJM or SWZ or SWE or CHE or SYR or TWN or TJK or TZA or THA or TGO or TKL or TON or TTO or TUN or TUR or TKM or TLS or TCA or TUV or UGA or UKR or ARE or GBR or USA or URY or UZB or VUT or VAT or VEN or VNM or VGB or VIR or WLF or ESH or YEM or ZAR or ZMB or ZWE</facturaECodPais>
      <enPracticas>boolean</enPracticas>
      <verSoloClientesOficina>boolean</verSoloClientesOficina>
      <codContableOficina>string</codContableOficina>
      <documentosColorLinea>string</documentosColorLinea>
      <documentosColorSombra>string</documentosColorSombra>
      <cierreExpFacturados>boolean</cierreExpFacturados>
      <cierreExpCobrados>boolean</cierreExpCobrados>
      <cierreExpCompensados>boolean</cierreExpCompensados>
      <cierreExpCostesRecepcionados>boolean</cierreExpCostesRecepcionados>
      <cierreExpCostesRecepcionadosyPagados>boolean</cierreExpCostesRecepcionadosyPagados>
      <CierreExpRentabilidadMinPrevisto>double</CierreExpRentabilidadMinPrevisto>
      <CierreExpRentabilidadMinReal>double</CierreExpRentabilidadMinReal>
      <CierreExpLiquidezMinima>double</CierreExpLiquidezMinima>
    </Oficina_POST>
  </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>
    <Oficina_POSTResponse xmlns="Giav.Core.Business">
      <Oficina_POSTResult>int</Oficina_POSTResult>
    </Oficina_POSTResponse>
  </soap12:Body>
</soap12:Envelope>