Paximum
Click here for a complete list of operations.
AddOrEditAgency
For Paximum
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 /TvWebServicesTest/Paximum.asmx HTTP/1.1 Host: tivrona.tourvisio.com Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://www.tourvisio.com/AddOrEditAgency" <?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> <AddOrEditAgency xmlns="http://www.tourvisio.com/"> <token>string</token> <agency> <IsDeleted>boolean</IsDeleted> <AccountId>string</AccountId> <AccountWorkType>Standart or B2B or B2C or ThirdParty</AccountWorkType> <AccountName>string</AccountName> <Status>boolean</Status> <BlackList>boolean</BlackList> <WorkingNationalities> <string>string</string> <string>string</string> </WorkingNationalities> <EMailInvoice>string</EMailInvoice> <TaxOffice>string</TaxOffice> <TaxAccNo>string</TaxAccNo> <AccountCode>string</AccountCode> <IntAccountCode>string</IntAccountCode> <BankAccounts> <TvBankAccount> <BankName>string</BankName> <BranchCode>string</BranchCode> <Location>string</Location> <AccountNumber>string</AccountNumber> <IbanNumber>string</IbanNumber> <SwiftCode>string</SwiftCode> <Currency>string</Currency> </TvBankAccount> <TvBankAccount> <BankName>string</BankName> <BranchCode>string</BranchCode> <Location>string</Location> <AccountNumber>string</AccountNumber> <IbanNumber>string</IbanNumber> <SwiftCode>string</SwiftCode> <Currency>string</Currency> </TvBankAccount> </BankAccounts> <ContactPerson> <ContactName>string</ContactName> <Phone1>string</Phone1> <Phone2>string</Phone2> <MobPhone>string</MobPhone> <Fax1>string</Fax1> <Fax2>string</Fax2> <Email1>string</Email1> <Email2>string</Email2> </ContactPerson> <Address> <Address>string</Address> <AddrZip>string</AddrZip> <AddrCity>string</AddrCity> <AddrCountry>string</AddrCountry> <Phone>string</Phone> <Fax>string</Fax> </Address> <HomePage>string</HomePage> <Mail>string</Mail> <InvoiceAddress> <Address>string</Address> <AddrZip>string</AddrZip> <AddrCity>string</AddrCity> <AddrCountry>string</AddrCountry> <Phone>string</Phone> <Fax>string</Fax> </InvoiceAddress> <VoucherAddress> <Address>string</Address> <AddrZip>string</AddrZip> <AddrCity>string</AddrCity> <AddrCountry>string</AddrCountry> <Phone>string</Phone> <Fax>string</Fax> </VoucherAddress> <EMailVoucher>string</EMailVoucher> <DocPrtNoPay>boolean</DocPrtNoPay> <Lat>string</Lat> <Lon>string</Lon> <AccountIdPrefix>string</AccountIdPrefix> <MasterPass>string</MasterPass> <Pxm_ID>guid</Pxm_ID> <ParentPxm_ID>guid</ParentPxm_ID> <OfficePxm_ID>guid</OfficePxm_ID> <ParentAgency>string</ParentAgency> <Location>int</Location> <CountryISOCode>string</CountryISOCode> <CountryName>string</CountryName> <CityName>string</CityName> </agency> <errorMsg>string</errorMsg> </AddOrEditAgency> </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> <AddOrEditAgencyResponse xmlns="http://www.tourvisio.com/"> <AddOrEditAgencyResult>string</AddOrEditAgencyResult> <errorMsg>string</errorMsg> </AddOrEditAgencyResponse> </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 /TvWebServicesTest/Paximum.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> <AddOrEditAgency xmlns="http://www.tourvisio.com/"> <token>string</token> <agency> <IsDeleted>boolean</IsDeleted> <AccountId>string</AccountId> <AccountWorkType>Standart or B2B or B2C or ThirdParty</AccountWorkType> <AccountName>string</AccountName> <Status>boolean</Status> <BlackList>boolean</BlackList> <WorkingNationalities> <string>string</string> <string>string</string> </WorkingNationalities> <EMailInvoice>string</EMailInvoice> <TaxOffice>string</TaxOffice> <TaxAccNo>string</TaxAccNo> <AccountCode>string</AccountCode> <IntAccountCode>string</IntAccountCode> <BankAccounts> <TvBankAccount> <BankName>string</BankName> <BranchCode>string</BranchCode> <Location>string</Location> <AccountNumber>string</AccountNumber> <IbanNumber>string</IbanNumber> <SwiftCode>string</SwiftCode> <Currency>string</Currency> </TvBankAccount> <TvBankAccount> <BankName>string</BankName> <BranchCode>string</BranchCode> <Location>string</Location> <AccountNumber>string</AccountNumber> <IbanNumber>string</IbanNumber> <SwiftCode>string</SwiftCode> <Currency>string</Currency> </TvBankAccount> </BankAccounts> <ContactPerson> <ContactName>string</ContactName> <Phone1>string</Phone1> <Phone2>string</Phone2> <MobPhone>string</MobPhone> <Fax1>string</Fax1> <Fax2>string</Fax2> <Email1>string</Email1> <Email2>string</Email2> </ContactPerson> <Address> <Address>string</Address> <AddrZip>string</AddrZip> <AddrCity>string</AddrCity> <AddrCountry>string</AddrCountry> <Phone>string</Phone> <Fax>string</Fax> </Address> <HomePage>string</HomePage> <Mail>string</Mail> <InvoiceAddress> <Address>string</Address> <AddrZip>string</AddrZip> <AddrCity>string</AddrCity> <AddrCountry>string</AddrCountry> <Phone>string</Phone> <Fax>string</Fax> </InvoiceAddress> <VoucherAddress> <Address>string</Address> <AddrZip>string</AddrZip> <AddrCity>string</AddrCity> <AddrCountry>string</AddrCountry> <Phone>string</Phone> <Fax>string</Fax> </VoucherAddress> <EMailVoucher>string</EMailVoucher> <DocPrtNoPay>boolean</DocPrtNoPay> <Lat>string</Lat> <Lon>string</Lon> <AccountIdPrefix>string</AccountIdPrefix> <MasterPass>string</MasterPass> <Pxm_ID>guid</Pxm_ID> <ParentPxm_ID>guid</ParentPxm_ID> <OfficePxm_ID>guid</OfficePxm_ID> <ParentAgency>string</ParentAgency> <Location>int</Location> <CountryISOCode>string</CountryISOCode> <CountryName>string</CountryName> <CityName>string</CityName> </agency> <errorMsg>string</errorMsg> </AddOrEditAgency> </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> <AddOrEditAgencyResponse xmlns="http://www.tourvisio.com/"> <AddOrEditAgencyResult>string</AddOrEditAgencyResult> <errorMsg>string</errorMsg> </AddOrEditAgencyResponse> </soap12:Body> </soap12:Envelope>