PartnerService


Click here for a complete list of operations.

SetPartner

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 /WAPI/PartnerService.asmx HTTP/1.1
Host: support.cobraconto.net
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://www.cobraconto.net/webservices/wapi/SetPartner"

<?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>
    <SetPartner xmlns="http://www.cobraconto.net/webservices/wapi/">
      <AAuth>
        <User>string</User>
        <Password>string</Password>
      </AAuth>
      <ATransactionId>string</ATransactionId>
      <clsPartner>
        <RowState>int</RowState>
        <Id>int</Id>
        <GlobalId>guid</GlobalId>
        <Timestamp>base64Binary</Timestamp>
        <AvatarId>int</AvatarId>
        <Name>string</Name>
        <PaymentId>int</PaymentId>
        <PriceTypeId>int</PriceTypeId>
        <PartNoId>int</PartNoId>
        <DefaultCurrencyId>string</DefaultCurrencyId>
        <DefaultEcoTaxCode>string</DefaultEcoTaxCode>
        <VatRegistated>boolean</VatRegistated>
        <EUVatRegistrated>boolean</EUVatRegistrated>
        <OtherVatRegistrated>boolean</OtherVatRegistrated>
        <CashAccounting>boolean</CashAccounting>
        <Inactive>boolean</Inactive>
        <ReceivesEInvoiceFrom>dateTime</ReceivesEInvoiceFrom>
        <ReceivesEInvoiceTo>dateTime</ReceivesEInvoiceTo>
        <SendsEInvoiceFrom>dateTime</SendsEInvoiceFrom>
        <SendsEInvoiceTo>dateTime</SendsEInvoiceTo>
        <ExternalMaintained>boolean</ExternalMaintained>
        <Anonymized>boolean</Anonymized>
        <NaturalPerson>boolean</NaturalPerson>
        <KATA>boolean</KATA>
        <ExtraChargeApplicable>boolean</ExtraChargeApplicable>
        <DelayCostLump>boolean</DelayCostLump>
        <VoucherPrintMode>int</VoucherPrintMode>
        <EDIManagerId>int</EDIManagerId>
        <SeatDepartment>
          <RowState>int</RowState>
          <PartnerId>int</PartnerId>
          <Id>int</Id>
          <Name>string</Name>
          <LanguageId>string</LanguageId>
          <RealAddrInherited>boolean</RealAddrInherited>
          <RealCountryId>string</RealCountryId>
          <RealStreet>string</RealStreet>
          <RealCity>string</RealCity>
          <RealRegion>string</RealRegion>
          <RealZip>string</RealZip>
          <RealAddress>string</RealAddress>
          <PostAddrReal>boolean</PostAddrReal>
          <PostAddrInherited>boolean</PostAddrInherited>
          <PostCountryId>string</PostCountryId>
          <PostStreet>string</PostStreet>
          <PostCity>string</PostCity>
          <PostRegion>string</PostRegion>
          <PostZip>string</PostZip>
          <PostAddress>string</PostAddress>
          <Description>string</Description>
          <GLN>string</GLN>
          <ExciseAuthorisationNumber>string</ExciseAuthorisationNumber>
          <InvoiceAddress>boolean</InvoiceAddress>
          <InvoicePostAddress>boolean</InvoicePostAddress>
          <VoucherName>string</VoucherName>
          <RealDistrict>string</RealDistrict>
          <RealPublicPlaceName>string</RealPublicPlaceName>
          <RealPublicPlaceKind>string</RealPublicPlaceKind>
          <RealPublicPlaceNumber>string</RealPublicPlaceNumber>
          <RealBuilding>string</RealBuilding>
          <RealStairWay>string</RealStairWay>
          <RealStorey>string</RealStorey>
          <RealDoorNumber>string</RealDoorNumber>
          <Inactive>boolean</Inactive>
          <HandoverStockId>int</HandoverStockId>
          <DefaultTransactionTypeId>int</DefaultTransactionTypeId>
          <PostVoucherName>string</PostVoucherName>
          <PostGLN>string</PostGLN>
          <MOSZRHash>string</MOSZRHash>
          <MOSZRSync>boolean</MOSZRSync>
          <DepartmentChannels>
            <RowState>int</RowState>
            <PartnerId>int</PartnerId>
            <DepartmentId>int</DepartmentId>
            <ChannelId>int</ChannelId>
            <Value>string</Value>
          </DepartmentChannels>
          <DepartmentChannels>
            <RowState>int</RowState>
            <PartnerId>int</PartnerId>
            <DepartmentId>int</DepartmentId>
            <ChannelId>int</ChannelId>
            <Value>string</Value>
          </DepartmentChannels>
          <DepartmentContacts>
            <RowState>int</RowState>
            <PartnerId>int</PartnerId>
            <DepartmentId>int</DepartmentId>
            <ContactId>int</ContactId>
            <Title>string</Title>
          </DepartmentContacts>
          <DepartmentContacts>
            <RowState>int</RowState>
            <PartnerId>int</PartnerId>
            <DepartmentId>int</DepartmentId>
            <ContactId>int</ContactId>
            <Title>string</Title>
          </DepartmentContacts>
          <DepartmentAgentPartners>
            <RowState>int</RowState>
            <PartnerId>int</PartnerId>
            <DepartmentId>int</DepartmentId>
            <ValidFrom>dateTime</ValidFrom>
            <ValidUntil>dateTime</ValidUntil>
            <AgentPartnerId>int</AgentPartnerId>
          </DepartmentAgentPartners>
          <DepartmentAgentPartners>
            <RowState>int</RowState>
            <PartnerId>int</PartnerId>
            <DepartmentId>int</DepartmentId>
            <ValidFrom>dateTime</ValidFrom>
            <ValidUntil>dateTime</ValidUntil>
            <AgentPartnerId>int</AgentPartnerId>
          </DepartmentAgentPartners>
        </SeatDepartment>
        <Departments>
          <RowState>int</RowState>
          <PartnerId>int</PartnerId>
          <Id>int</Id>
          <Name>string</Name>
          <LanguageId>string</LanguageId>
          <RealAddrInherited>boolean</RealAddrInherited>
          <RealCountryId>string</RealCountryId>
          <RealStreet>string</RealStreet>
          <RealCity>string</RealCity>
          <RealRegion>string</RealRegion>
          <RealZip>string</RealZip>
          <RealAddress>string</RealAddress>
          <PostAddrReal>boolean</PostAddrReal>
          <PostAddrInherited>boolean</PostAddrInherited>
          <PostCountryId>string</PostCountryId>
          <PostStreet>string</PostStreet>
          <PostCity>string</PostCity>
          <PostRegion>string</PostRegion>
          <PostZip>string</PostZip>
          <PostAddress>string</PostAddress>
          <Description>string</Description>
          <GLN>string</GLN>
          <ExciseAuthorisationNumber>string</ExciseAuthorisationNumber>
          <InvoiceAddress>boolean</InvoiceAddress>
          <InvoicePostAddress>boolean</InvoicePostAddress>
          <VoucherName>string</VoucherName>
          <RealDistrict>string</RealDistrict>
          <RealPublicPlaceName>string</RealPublicPlaceName>
          <RealPublicPlaceKind>string</RealPublicPlaceKind>
          <RealPublicPlaceNumber>string</RealPublicPlaceNumber>
          <RealBuilding>string</RealBuilding>
          <RealStairWay>string</RealStairWay>
          <RealStorey>string</RealStorey>
          <RealDoorNumber>string</RealDoorNumber>
          <Inactive>boolean</Inactive>
          <HandoverStockId>int</HandoverStockId>
          <DefaultTransactionTypeId>int</DefaultTransactionTypeId>
          <PostVoucherName>string</PostVoucherName>
          <PostGLN>string</PostGLN>
          <MOSZRHash>string</MOSZRHash>
          <MOSZRSync>boolean</MOSZRSync>
          <DepartmentChannels>
            <RowState>int</RowState>
            <PartnerId>int</PartnerId>
            <DepartmentId>int</DepartmentId>
            <ChannelId>int</ChannelId>
            <Value>string</Value>
          </DepartmentChannels>
          <DepartmentChannels>
            <RowState>int</RowState>
            <PartnerId>int</PartnerId>
            <DepartmentId>int</DepartmentId>
            <ChannelId>int</ChannelId>
            <Value>string</Value>
          </DepartmentChannels>
          <DepartmentContacts>
            <RowState>int</RowState>
            <PartnerId>int</PartnerId>
            <DepartmentId>int</DepartmentId>
            <ContactId>int</ContactId>
            <Title>string</Title>
          </DepartmentContacts>
          <DepartmentContacts>
            <RowState>int</RowState>
            <PartnerId>int</PartnerId>
            <DepartmentId>int</DepartmentId>
            <ContactId>int</ContactId>
            <Title>string</Title>
          </DepartmentContacts>
          <DepartmentAgentPartners>
            <RowState>int</RowState>
            <PartnerId>int</PartnerId>
            <DepartmentId>int</DepartmentId>
            <ValidFrom>dateTime</ValidFrom>
            <ValidUntil>dateTime</ValidUntil>
            <AgentPartnerId>int</AgentPartnerId>
          </DepartmentAgentPartners>
          <DepartmentAgentPartners>
            <RowState>int</RowState>
            <PartnerId>int</PartnerId>
            <DepartmentId>int</DepartmentId>
            <ValidFrom>dateTime</ValidFrom>
            <ValidUntil>dateTime</ValidUntil>
            <AgentPartnerId>int</AgentPartnerId>
          </DepartmentAgentPartners>
        </Departments>
        <Departments>
          <RowState>int</RowState>
          <PartnerId>int</PartnerId>
          <Id>int</Id>
          <Name>string</Name>
          <LanguageId>string</LanguageId>
          <RealAddrInherited>boolean</RealAddrInherited>
          <RealCountryId>string</RealCountryId>
          <RealStreet>string</RealStreet>
          <RealCity>string</RealCity>
          <RealRegion>string</RealRegion>
          <RealZip>string</RealZip>
          <RealAddress>string</RealAddress>
          <PostAddrReal>boolean</PostAddrReal>
          <PostAddrInherited>boolean</PostAddrInherited>
          <PostCountryId>string</PostCountryId>
          <PostStreet>string</PostStreet>
          <PostCity>string</PostCity>
          <PostRegion>string</PostRegion>
          <PostZip>string</PostZip>
          <PostAddress>string</PostAddress>
          <Description>string</Description>
          <GLN>string</GLN>
          <ExciseAuthorisationNumber>string</ExciseAuthorisationNumber>
          <InvoiceAddress>boolean</InvoiceAddress>
          <InvoicePostAddress>boolean</InvoicePostAddress>
          <VoucherName>string</VoucherName>
          <RealDistrict>string</RealDistrict>
          <RealPublicPlaceName>string</RealPublicPlaceName>
          <RealPublicPlaceKind>string</RealPublicPlaceKind>
          <RealPublicPlaceNumber>string</RealPublicPlaceNumber>
          <RealBuilding>string</RealBuilding>
          <RealStairWay>string</RealStairWay>
          <RealStorey>string</RealStorey>
          <RealDoorNumber>string</RealDoorNumber>
          <Inactive>boolean</Inactive>
          <HandoverStockId>int</HandoverStockId>
          <DefaultTransactionTypeId>int</DefaultTransactionTypeId>
          <PostVoucherName>string</PostVoucherName>
          <PostGLN>string</PostGLN>
          <MOSZRHash>string</MOSZRHash>
          <MOSZRSync>boolean</MOSZRSync>
          <DepartmentChannels>
            <RowState>int</RowState>
            <PartnerId>int</PartnerId>
            <DepartmentId>int</DepartmentId>
            <ChannelId>int</ChannelId>
            <Value>string</Value>
          </DepartmentChannels>
          <DepartmentChannels>
            <RowState>int</RowState>
            <PartnerId>int</PartnerId>
            <DepartmentId>int</DepartmentId>
            <ChannelId>int</ChannelId>
            <Value>string</Value>
          </DepartmentChannels>
          <DepartmentContacts>
            <RowState>int</RowState>
            <PartnerId>int</PartnerId>
            <DepartmentId>int</DepartmentId>
            <ContactId>int</ContactId>
            <Title>string</Title>
          </DepartmentContacts>
          <DepartmentContacts>
            <RowState>int</RowState>
            <PartnerId>int</PartnerId>
            <DepartmentId>int</DepartmentId>
            <ContactId>int</ContactId>
            <Title>string</Title>
          </DepartmentContacts>
          <DepartmentAgentPartners>
            <RowState>int</RowState>
            <PartnerId>int</PartnerId>
            <DepartmentId>int</DepartmentId>
            <ValidFrom>dateTime</ValidFrom>
            <ValidUntil>dateTime</ValidUntil>
            <AgentPartnerId>int</AgentPartnerId>
          </DepartmentAgentPartners>
          <DepartmentAgentPartners>
            <RowState>int</RowState>
            <PartnerId>int</PartnerId>
            <DepartmentId>int</DepartmentId>
            <ValidFrom>dateTime</ValidFrom>
            <ValidUntil>dateTime</ValidUntil>
            <AgentPartnerId>int</AgentPartnerId>
          </DepartmentAgentPartners>
        </Departments>
        <PartnerBankAccounts>
          <RowState>int</RowState>
          <Number>string</Number>
          <ParnerId>int</ParnerId>
          <BankId>int</BankId>
        </PartnerBankAccounts>
        <PartnerBankAccounts>
          <RowState>int</RowState>
          <Number>string</Number>
          <ParnerId>int</ParnerId>
          <BankId>int</BankId>
        </PartnerBankAccounts>
        <PartnerClientNos>
          <RowState>int</RowState>
          <PartnerId>int</PartnerId>
          <ClientNoId>int</ClientNoId>
          <Value>string</Value>
        </PartnerClientNos>
        <PartnerClientNos>
          <RowState>int</RowState>
          <PartnerId>int</PartnerId>
          <ClientNoId>int</ClientNoId>
          <Value>string</Value>
        </PartnerClientNos>
        <PartnerDiscountPercents>
          <RowState>int</RowState>
          <ParnerId>int</ParnerId>
          <ValidFrom>dateTime</ValidFrom>
          <CategoryId>int</CategoryId>
          <ValidUntil>dateTime</ValidUntil>
          <Percent>decimal</Percent>
        </PartnerDiscountPercents>
        <PartnerDiscountPercents>
          <RowState>int</RowState>
          <ParnerId>int</ParnerId>
          <ValidFrom>dateTime</ValidFrom>
          <CategoryId>int</CategoryId>
          <ValidUntil>dateTime</ValidUntil>
          <Percent>decimal</Percent>
        </PartnerDiscountPercents>
      </clsPartner>
    </SetPartner>
  </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>
    <SetPartnerResponse xmlns="http://www.cobraconto.net/webservices/wapi/">
      <SetPartnerResult>int</SetPartnerResult>
    </SetPartnerResponse>
  </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 /WAPI/PartnerService.asmx HTTP/1.1
Host: support.cobraconto.net
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>
    <SetPartner xmlns="http://www.cobraconto.net/webservices/wapi/">
      <AAuth>
        <User>string</User>
        <Password>string</Password>
      </AAuth>
      <ATransactionId>string</ATransactionId>
      <clsPartner>
        <RowState>int</RowState>
        <Id>int</Id>
        <GlobalId>guid</GlobalId>
        <Timestamp>base64Binary</Timestamp>
        <AvatarId>int</AvatarId>
        <Name>string</Name>
        <PaymentId>int</PaymentId>
        <PriceTypeId>int</PriceTypeId>
        <PartNoId>int</PartNoId>
        <DefaultCurrencyId>string</DefaultCurrencyId>
        <DefaultEcoTaxCode>string</DefaultEcoTaxCode>
        <VatRegistated>boolean</VatRegistated>
        <EUVatRegistrated>boolean</EUVatRegistrated>
        <OtherVatRegistrated>boolean</OtherVatRegistrated>
        <CashAccounting>boolean</CashAccounting>
        <Inactive>boolean</Inactive>
        <ReceivesEInvoiceFrom>dateTime</ReceivesEInvoiceFrom>
        <ReceivesEInvoiceTo>dateTime</ReceivesEInvoiceTo>
        <SendsEInvoiceFrom>dateTime</SendsEInvoiceFrom>
        <SendsEInvoiceTo>dateTime</SendsEInvoiceTo>
        <ExternalMaintained>boolean</ExternalMaintained>
        <Anonymized>boolean</Anonymized>
        <NaturalPerson>boolean</NaturalPerson>
        <KATA>boolean</KATA>
        <ExtraChargeApplicable>boolean</ExtraChargeApplicable>
        <DelayCostLump>boolean</DelayCostLump>
        <VoucherPrintMode>int</VoucherPrintMode>
        <EDIManagerId>int</EDIManagerId>
        <SeatDepartment>
          <RowState>int</RowState>
          <PartnerId>int</PartnerId>
          <Id>int</Id>
          <Name>string</Name>
          <LanguageId>string</LanguageId>
          <RealAddrInherited>boolean</RealAddrInherited>
          <RealCountryId>string</RealCountryId>
          <RealStreet>string</RealStreet>
          <RealCity>string</RealCity>
          <RealRegion>string</RealRegion>
          <RealZip>string</RealZip>
          <RealAddress>string</RealAddress>
          <PostAddrReal>boolean</PostAddrReal>
          <PostAddrInherited>boolean</PostAddrInherited>
          <PostCountryId>string</PostCountryId>
          <PostStreet>string</PostStreet>
          <PostCity>string</PostCity>
          <PostRegion>string</PostRegion>
          <PostZip>string</PostZip>
          <PostAddress>string</PostAddress>
          <Description>string</Description>
          <GLN>string</GLN>
          <ExciseAuthorisationNumber>string</ExciseAuthorisationNumber>
          <InvoiceAddress>boolean</InvoiceAddress>
          <InvoicePostAddress>boolean</InvoicePostAddress>
          <VoucherName>string</VoucherName>
          <RealDistrict>string</RealDistrict>
          <RealPublicPlaceName>string</RealPublicPlaceName>
          <RealPublicPlaceKind>string</RealPublicPlaceKind>
          <RealPublicPlaceNumber>string</RealPublicPlaceNumber>
          <RealBuilding>string</RealBuilding>
          <RealStairWay>string</RealStairWay>
          <RealStorey>string</RealStorey>
          <RealDoorNumber>string</RealDoorNumber>
          <Inactive>boolean</Inactive>
          <HandoverStockId>int</HandoverStockId>
          <DefaultTransactionTypeId>int</DefaultTransactionTypeId>
          <PostVoucherName>string</PostVoucherName>
          <PostGLN>string</PostGLN>
          <MOSZRHash>string</MOSZRHash>
          <MOSZRSync>boolean</MOSZRSync>
          <DepartmentChannels>
            <RowState>int</RowState>
            <PartnerId>int</PartnerId>
            <DepartmentId>int</DepartmentId>
            <ChannelId>int</ChannelId>
            <Value>string</Value>
          </DepartmentChannels>
          <DepartmentChannels>
            <RowState>int</RowState>
            <PartnerId>int</PartnerId>
            <DepartmentId>int</DepartmentId>
            <ChannelId>int</ChannelId>
            <Value>string</Value>
          </DepartmentChannels>
          <DepartmentContacts>
            <RowState>int</RowState>
            <PartnerId>int</PartnerId>
            <DepartmentId>int</DepartmentId>
            <ContactId>int</ContactId>
            <Title>string</Title>
          </DepartmentContacts>
          <DepartmentContacts>
            <RowState>int</RowState>
            <PartnerId>int</PartnerId>
            <DepartmentId>int</DepartmentId>
            <ContactId>int</ContactId>
            <Title>string</Title>
          </DepartmentContacts>
          <DepartmentAgentPartners>
            <RowState>int</RowState>
            <PartnerId>int</PartnerId>
            <DepartmentId>int</DepartmentId>
            <ValidFrom>dateTime</ValidFrom>
            <ValidUntil>dateTime</ValidUntil>
            <AgentPartnerId>int</AgentPartnerId>
          </DepartmentAgentPartners>
          <DepartmentAgentPartners>
            <RowState>int</RowState>
            <PartnerId>int</PartnerId>
            <DepartmentId>int</DepartmentId>
            <ValidFrom>dateTime</ValidFrom>
            <ValidUntil>dateTime</ValidUntil>
            <AgentPartnerId>int</AgentPartnerId>
          </DepartmentAgentPartners>
        </SeatDepartment>
        <Departments>
          <RowState>int</RowState>
          <PartnerId>int</PartnerId>
          <Id>int</Id>
          <Name>string</Name>
          <LanguageId>string</LanguageId>
          <RealAddrInherited>boolean</RealAddrInherited>
          <RealCountryId>string</RealCountryId>
          <RealStreet>string</RealStreet>
          <RealCity>string</RealCity>
          <RealRegion>string</RealRegion>
          <RealZip>string</RealZip>
          <RealAddress>string</RealAddress>
          <PostAddrReal>boolean</PostAddrReal>
          <PostAddrInherited>boolean</PostAddrInherited>
          <PostCountryId>string</PostCountryId>
          <PostStreet>string</PostStreet>
          <PostCity>string</PostCity>
          <PostRegion>string</PostRegion>
          <PostZip>string</PostZip>
          <PostAddress>string</PostAddress>
          <Description>string</Description>
          <GLN>string</GLN>
          <ExciseAuthorisationNumber>string</ExciseAuthorisationNumber>
          <InvoiceAddress>boolean</InvoiceAddress>
          <InvoicePostAddress>boolean</InvoicePostAddress>
          <VoucherName>string</VoucherName>
          <RealDistrict>string</RealDistrict>
          <RealPublicPlaceName>string</RealPublicPlaceName>
          <RealPublicPlaceKind>string</RealPublicPlaceKind>
          <RealPublicPlaceNumber>string</RealPublicPlaceNumber>
          <RealBuilding>string</RealBuilding>
          <RealStairWay>string</RealStairWay>
          <RealStorey>string</RealStorey>
          <RealDoorNumber>string</RealDoorNumber>
          <Inactive>boolean</Inactive>
          <HandoverStockId>int</HandoverStockId>
          <DefaultTransactionTypeId>int</DefaultTransactionTypeId>
          <PostVoucherName>string</PostVoucherName>
          <PostGLN>string</PostGLN>
          <MOSZRHash>string</MOSZRHash>
          <MOSZRSync>boolean</MOSZRSync>
          <DepartmentChannels>
            <RowState>int</RowState>
            <PartnerId>int</PartnerId>
            <DepartmentId>int</DepartmentId>
            <ChannelId>int</ChannelId>
            <Value>string</Value>
          </DepartmentChannels>
          <DepartmentChannels>
            <RowState>int</RowState>
            <PartnerId>int</PartnerId>
            <DepartmentId>int</DepartmentId>
            <ChannelId>int</ChannelId>
            <Value>string</Value>
          </DepartmentChannels>
          <DepartmentContacts>
            <RowState>int</RowState>
            <PartnerId>int</PartnerId>
            <DepartmentId>int</DepartmentId>
            <ContactId>int</ContactId>
            <Title>string</Title>
          </DepartmentContacts>
          <DepartmentContacts>
            <RowState>int</RowState>
            <PartnerId>int</PartnerId>
            <DepartmentId>int</DepartmentId>
            <ContactId>int</ContactId>
            <Title>string</Title>
          </DepartmentContacts>
          <DepartmentAgentPartners>
            <RowState>int</RowState>
            <PartnerId>int</PartnerId>
            <DepartmentId>int</DepartmentId>
            <ValidFrom>dateTime</ValidFrom>
            <ValidUntil>dateTime</ValidUntil>
            <AgentPartnerId>int</AgentPartnerId>
          </DepartmentAgentPartners>
          <DepartmentAgentPartners>
            <RowState>int</RowState>
            <PartnerId>int</PartnerId>
            <DepartmentId>int</DepartmentId>
            <ValidFrom>dateTime</ValidFrom>
            <ValidUntil>dateTime</ValidUntil>
            <AgentPartnerId>int</AgentPartnerId>
          </DepartmentAgentPartners>
        </Departments>
        <Departments>
          <RowState>int</RowState>
          <PartnerId>int</PartnerId>
          <Id>int</Id>
          <Name>string</Name>
          <LanguageId>string</LanguageId>
          <RealAddrInherited>boolean</RealAddrInherited>
          <RealCountryId>string</RealCountryId>
          <RealStreet>string</RealStreet>
          <RealCity>string</RealCity>
          <RealRegion>string</RealRegion>
          <RealZip>string</RealZip>
          <RealAddress>string</RealAddress>
          <PostAddrReal>boolean</PostAddrReal>
          <PostAddrInherited>boolean</PostAddrInherited>
          <PostCountryId>string</PostCountryId>
          <PostStreet>string</PostStreet>
          <PostCity>string</PostCity>
          <PostRegion>string</PostRegion>
          <PostZip>string</PostZip>
          <PostAddress>string</PostAddress>
          <Description>string</Description>
          <GLN>string</GLN>
          <ExciseAuthorisationNumber>string</ExciseAuthorisationNumber>
          <InvoiceAddress>boolean</InvoiceAddress>
          <InvoicePostAddress>boolean</InvoicePostAddress>
          <VoucherName>string</VoucherName>
          <RealDistrict>string</RealDistrict>
          <RealPublicPlaceName>string</RealPublicPlaceName>
          <RealPublicPlaceKind>string</RealPublicPlaceKind>
          <RealPublicPlaceNumber>string</RealPublicPlaceNumber>
          <RealBuilding>string</RealBuilding>
          <RealStairWay>string</RealStairWay>
          <RealStorey>string</RealStorey>
          <RealDoorNumber>string</RealDoorNumber>
          <Inactive>boolean</Inactive>
          <HandoverStockId>int</HandoverStockId>
          <DefaultTransactionTypeId>int</DefaultTransactionTypeId>
          <PostVoucherName>string</PostVoucherName>
          <PostGLN>string</PostGLN>
          <MOSZRHash>string</MOSZRHash>
          <MOSZRSync>boolean</MOSZRSync>
          <DepartmentChannels>
            <RowState>int</RowState>
            <PartnerId>int</PartnerId>
            <DepartmentId>int</DepartmentId>
            <ChannelId>int</ChannelId>
            <Value>string</Value>
          </DepartmentChannels>
          <DepartmentChannels>
            <RowState>int</RowState>
            <PartnerId>int</PartnerId>
            <DepartmentId>int</DepartmentId>
            <ChannelId>int</ChannelId>
            <Value>string</Value>
          </DepartmentChannels>
          <DepartmentContacts>
            <RowState>int</RowState>
            <PartnerId>int</PartnerId>
            <DepartmentId>int</DepartmentId>
            <ContactId>int</ContactId>
            <Title>string</Title>
          </DepartmentContacts>
          <DepartmentContacts>
            <RowState>int</RowState>
            <PartnerId>int</PartnerId>
            <DepartmentId>int</DepartmentId>
            <ContactId>int</ContactId>
            <Title>string</Title>
          </DepartmentContacts>
          <DepartmentAgentPartners>
            <RowState>int</RowState>
            <PartnerId>int</PartnerId>
            <DepartmentId>int</DepartmentId>
            <ValidFrom>dateTime</ValidFrom>
            <ValidUntil>dateTime</ValidUntil>
            <AgentPartnerId>int</AgentPartnerId>
          </DepartmentAgentPartners>
          <DepartmentAgentPartners>
            <RowState>int</RowState>
            <PartnerId>int</PartnerId>
            <DepartmentId>int</DepartmentId>
            <ValidFrom>dateTime</ValidFrom>
            <ValidUntil>dateTime</ValidUntil>
            <AgentPartnerId>int</AgentPartnerId>
          </DepartmentAgentPartners>
        </Departments>
        <PartnerBankAccounts>
          <RowState>int</RowState>
          <Number>string</Number>
          <ParnerId>int</ParnerId>
          <BankId>int</BankId>
        </PartnerBankAccounts>
        <PartnerBankAccounts>
          <RowState>int</RowState>
          <Number>string</Number>
          <ParnerId>int</ParnerId>
          <BankId>int</BankId>
        </PartnerBankAccounts>
        <PartnerClientNos>
          <RowState>int</RowState>
          <PartnerId>int</PartnerId>
          <ClientNoId>int</ClientNoId>
          <Value>string</Value>
        </PartnerClientNos>
        <PartnerClientNos>
          <RowState>int</RowState>
          <PartnerId>int</PartnerId>
          <ClientNoId>int</ClientNoId>
          <Value>string</Value>
        </PartnerClientNos>
        <PartnerDiscountPercents>
          <RowState>int</RowState>
          <ParnerId>int</ParnerId>
          <ValidFrom>dateTime</ValidFrom>
          <CategoryId>int</CategoryId>
          <ValidUntil>dateTime</ValidUntil>
          <Percent>decimal</Percent>
        </PartnerDiscountPercents>
        <PartnerDiscountPercents>
          <RowState>int</RowState>
          <ParnerId>int</ParnerId>
          <ValidFrom>dateTime</ValidFrom>
          <CategoryId>int</CategoryId>
          <ValidUntil>dateTime</ValidUntil>
          <Percent>decimal</Percent>
        </PartnerDiscountPercents>
      </clsPartner>
    </SetPartner>
  </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>
    <SetPartnerResponse xmlns="http://www.cobraconto.net/webservices/wapi/">
      <SetPartnerResult>int</SetPartnerResult>
    </SetPartnerResponse>
  </soap12:Body>
</soap12:Envelope>