TvSupport


Click here for a complete list of operations.

GetAgencyInfo

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 /TvWebServices/TvSupport.asmx HTTP/1.1
Host: tivrona.tourvisio.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://www.tourvisio.com/GetAgencyInfo"

<?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>
    <GetAgencyInfo xmlns="http://www.tourvisio.com/">
      <token>string</token>
      <agencyCode>string</agencyCode>
    </GetAgencyInfo>
  </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>
    <GetAgencyInfoResponse xmlns="http://www.tourvisio.com/">
      <GetAgencyInfoResult>
        <RecID>int</RecID>
        <Code>string</Code>
        <Status>boolean</Status>
        <Name>string</Name>
        <BlackList>boolean</BlackList>
        <EmailInvoice>string</EmailInvoice>
        <TaxOffice>string</TaxOffice>
        <TaxAccNo>string</TaxAccNo>
        <AccountCode>string</AccountCode>
        <TAcCode>string</TAcCode>
        <Bank1>string</Bank1>
        <Bank1BankNo>string</Bank1BankNo>
        <Bank1AccNo>string</Bank1AccNo>
        <Bank1Location>string</Bank1Location>
        <Bank1IBAN>string</Bank1IBAN>
        <Bank1Curr>string</Bank1Curr>
        <Bank2>string</Bank2>
        <Bank2BankNo>string</Bank2BankNo>
        <Bank2AccNo>string</Bank2AccNo>
        <Bank2Location>string</Bank2Location>
        <Bank2IBAN>string</Bank2IBAN>
        <Bank2Curr>string</Bank2Curr>
        <ContName>string</ContName>
        <Address>string</Address>
        <AddrZip>string</AddrZip>
        <AddrCity>string</AddrCity>
        <AddrCountry>string</AddrCountry>
        <Phone1>string</Phone1>
        <Phone2>string</Phone2>
        <MobPhone>string</MobPhone>
        <Fax1>string</Fax1>
        <Fax2>string</Fax2>
        <www>string</www>
        <Email1>string</Email1>
        <Email2>string</Email2>
        <InvAddress>string</InvAddress>
        <InvAddrZip>string</InvAddrZip>
        <InvAddrCity>string</InvAddrCity>
        <InvAddrCountry>string</InvAddrCountry>
        <VocAddr_Address>string</VocAddr_Address>
        <VocAddr_Zip>string</VocAddr_Zip>
        <VocAddr_City>string</VocAddr_City>
        <VocAddr_Country>string</VocAddr_Country>
        <VocAddr_Phone1>string</VocAddr_Phone1>
        <VocAddr_Fax1>string</VocAddr_Fax1>
        <VocAddr_EMail1>string</VocAddr_EMail1>
        <DocPrtNoPay>boolean</DocPrtNoPay>
        <Lat>decimal</Lat>
        <Lon>decimal</Lon>
        <MasterPass>string</MasterPass>
        <MerlinxID>string</MerlinxID>
      </GetAgencyInfoResult>
    </GetAgencyInfoResponse>
  </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 /TvWebServices/TvSupport.asmx HTTP/1.1
Host: tivrona.tourvisio.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>
    <GetAgencyInfo xmlns="http://www.tourvisio.com/">
      <token>string</token>
      <agencyCode>string</agencyCode>
    </GetAgencyInfo>
  </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>
    <GetAgencyInfoResponse xmlns="http://www.tourvisio.com/">
      <GetAgencyInfoResult>
        <RecID>int</RecID>
        <Code>string</Code>
        <Status>boolean</Status>
        <Name>string</Name>
        <BlackList>boolean</BlackList>
        <EmailInvoice>string</EmailInvoice>
        <TaxOffice>string</TaxOffice>
        <TaxAccNo>string</TaxAccNo>
        <AccountCode>string</AccountCode>
        <TAcCode>string</TAcCode>
        <Bank1>string</Bank1>
        <Bank1BankNo>string</Bank1BankNo>
        <Bank1AccNo>string</Bank1AccNo>
        <Bank1Location>string</Bank1Location>
        <Bank1IBAN>string</Bank1IBAN>
        <Bank1Curr>string</Bank1Curr>
        <Bank2>string</Bank2>
        <Bank2BankNo>string</Bank2BankNo>
        <Bank2AccNo>string</Bank2AccNo>
        <Bank2Location>string</Bank2Location>
        <Bank2IBAN>string</Bank2IBAN>
        <Bank2Curr>string</Bank2Curr>
        <ContName>string</ContName>
        <Address>string</Address>
        <AddrZip>string</AddrZip>
        <AddrCity>string</AddrCity>
        <AddrCountry>string</AddrCountry>
        <Phone1>string</Phone1>
        <Phone2>string</Phone2>
        <MobPhone>string</MobPhone>
        <Fax1>string</Fax1>
        <Fax2>string</Fax2>
        <www>string</www>
        <Email1>string</Email1>
        <Email2>string</Email2>
        <InvAddress>string</InvAddress>
        <InvAddrZip>string</InvAddrZip>
        <InvAddrCity>string</InvAddrCity>
        <InvAddrCountry>string</InvAddrCountry>
        <VocAddr_Address>string</VocAddr_Address>
        <VocAddr_Zip>string</VocAddr_Zip>
        <VocAddr_City>string</VocAddr_City>
        <VocAddr_Country>string</VocAddr_Country>
        <VocAddr_Phone1>string</VocAddr_Phone1>
        <VocAddr_Fax1>string</VocAddr_Fax1>
        <VocAddr_EMail1>string</VocAddr_EMail1>
        <DocPrtNoPay>boolean</DocPrtNoPay>
        <Lat>decimal</Lat>
        <Lon>decimal</Lon>
        <MasterPass>string</MasterPass>
        <MerlinxID>string</MerlinxID>
      </GetAgencyInfoResult>
    </GetAgencyInfoResponse>
  </soap12:Body>
</soap12:Envelope>