AddEmployees

Create new employee:

<?xml version="1.0" encoding="utf-8"?>
<Employees xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <Employee>
    <EmployeeID>0000022</EmployeeID>
    <Active>1</Active>
    <PayrollCalc>1</PayrollCalc>
    <StatusID>001</StatusID>
    <FamilyName>Jurčič</FamilyName>
    <Name>Samo</Name>
    <DateOfBirth>1960-03-09T00:00:00</DateOfBirth>
    <Gender>M</Gender>
    <PlaceOfBirth>Gorizia</PlaceOfBirth>
    <Citizenship>IT</Citizenship>
    <AddrStreet>Trg 3a</AddrStreet>
    <AddrTown>Miren</AddrTown>
    <AddrZipCode>5291</AddrZipCode>
    <AddrCountryId>SI</AddrCountryId>
    <AddrCounty>0000084</AddrCounty>
    <TempAddrStreet>Gradnikova 20</TempAddrStreet>
    <TempAddrTown>Renče</TempAddrTown>
    <TempAddrZipCode>5292</TempAddrZipCode>
    <TempAddrCountryId>SI</TempAddrCountryId>
    <TempAddrCounty>0000201</TempAddrCounty>
    <DateBegEmp>1983-08-01T00:00:00</DateBegEmp>
    <DateEndEmp xsi:nil="true" />
    <TrialPeriod xsi:nil="true" />
    <YOSInYearY>0</YOSInYearY>
    <YOSInYearM>0</YOSInYearM>
    <YOSInYearD>0</YOSInYearD>
    <YOSSameTradeY>0</YOSSameTradeY>
    <YOSSameTradeM>0</YOSSameTradeM>
    <YOSSameTradeD>0</YOSSameTradeD>
    <YOSPastY>0</YOSPastY>
    <YOSPastM>0</YOSPastM>
    <YOSPastD>2</YOSPastD>
    <YOSBoughtY>0</YOSBoughtY>
    <YOSBoughtM>0</YOSBoughtM>
    <YOSBoughtD>0</YOSBoughtD>
    <YOSCivilServiceY>0</YOSCivilServiceY>
    <YOSCivilServiceM>0</YOSCivilServiceM>
    <YOSCivilServiceD>0</YOSCivilServiceD>
    <YOSRecognizedY>0</YOSRecognizedY>
    <YOSRecognizedM>0</YOSRecognizedM>
    <YOSRecognizedD>0</YOSRecognizedD>
    <YOSAbroadY>0</YOSAbroadY>
    <YOSAbroadM>0</YOSAbroadM>
    <YOSAbroadD>0</YOSAbroadD>
    <ZZRZIDisability>0</ZZRZIDisability>
    <DisabilityAboveQuota>0</DisabilityAboveQuota>
    <CollectiveAgreement>1</CollectiveAgreement>
    <MainEmployment>0</MainEmployment>
    <DURSID>1137</DURSID>
    <ZPIZID>3</ZPIZID>
    <SalaryGrade>016</SalaryGrade>
    <DepartmentID>2</DepartmentID>
    <DepartmentOrgID>1</DepartmentOrgID>
    <JobPositionID>J024002</JobPositionID>
    <HoursPerDay>8.00</HoursPerDay>
    <HoursPerWeek>40.00</HoursPerWeek>
    <PayrollColectiveAgreement>1</PayrollColectiveAgreement>
    <EmploymentPerc>100.00</EmploymentPerc>
    <CostCenter>0000004</CostCenter>
    <AgedAbove55>0</AgedAbove55>
    <AgedBelow26>0</AgedBelow26>
    <EmploymentAbove100>0</EmploymentAbove100>
    <WithoutEmployerContrib xsi:nil="true" />
    <FirstEmployment>0</FirstEmployment>
    <ExemptEmplContribDate xsi:nil="true" />
    <ContribEmplFixedTerm>0</ContribEmplFixedTerm>
    <EarlyRetirementCond>0</EarlyRetirementCond>
    <ContribExempt30Years xsi:nil="true" />
    <PPZAccesionDate>2005-08-09T00:00:00</PPZAccesionDate>
    <PPZCancelationDate xsi:nil="true" />
    <PPZFirstCalculationYear>2005</PPZFirstCalculationYear>
    <PPZFirstCalculationMonth>8</PPZFirstCalculationMonth>
    <PPZCalculationMethod>M</PPZCalculationMethod>
    <GeneralIncTaxAllow>0</GeneralIncTaxAllow>
    <GeneralIncTaxAllowAmount>0.00</GeneralIncTaxAllowAmount>
    <AddIncTaxAllow>0</AddIncTaxAllow>
    <AddIncTaxAllowAmount>2.00</AddIncTaxAllowAmount>
    <PersonalIncTaxAllowAmount>2.00</PersonalIncTaxAllowAmount>
    <IncTaxAmount>2.00</IncTaxAmount>
    <ReinburGross>6481.37</ReinburGross>
    <ReinburHoursNum>1560.00</ReinburHoursNum>
    <ReinburHourBase>4.15</ReinburHourBase>
    <ReinburMonthsNum>0</ReinburMonthsNum>
    <BankAccounts>
      <BankAccount1>
        <CustomerBankCode>0000022</CustomerBankCode>
        <Name>0000022-1</Name>
        <Type>P</Type>
        <Percent>100.00</Percent>
      </BankAccount1>
    </BankAccounts>
  </Employee>
</Employees>

 

Response:

<?xml version="1.0" encoding="utf-8"?><CreateResult xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">    <Keys />     <ResultCode>Created</ResultCode>     <Errors /></CreateResult>

Natisni