EmploymentService


Click here for a complete list of operations.

GetEmploymentByRef

Get a specific employment from TimeCare

Test

To test the operation using the HTTP POST protocol, click the 'Invoke' button.
Parameter Value
intIntegrationId:
strPerRef:
strWorkPlaceRef:
dtmStartDate:
includeRelatedInfo:

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 /TimeCareApi/employmentservice.asmx HTTP/1.1
Host: timecarekoping.vmkfb.se
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://www.timecare.se/GetEmploymentByRef"

<?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>
    <GetEmploymentByRef xmlns="http://www.timecare.se/">
      <intIntegrationId>int</intIntegrationId>
      <strPerRef>string</strPerRef>
      <strWorkPlaceRef>string</strWorkPlaceRef>
      <dtmStartDate>dateTime</dtmStartDate>
      <includeRelatedInfo>boolean</includeRelatedInfo>
    </GetEmploymentByRef>
  </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>
    <GetEmploymentByRefResponse xmlns="http://www.timecare.se/">
      <GetEmploymentByRefResult>
        <UpdateDate>dateTime</UpdateDate>
        <UpdateTypeFlag>Inserted or Updated or Deleted or Unknown or All</UpdateTypeFlag>
        <Id>int</Id>
        <StartDate>dateTime</StartDate>
        <EndDate>dateTime</EndDate>
        <WeeklyHours>double</WeeklyHours>
        <FullTimeHours>double</FullTimeHours>
        <WorkPlaceID>int</WorkPlaceID>
        <WorkPlace>
          <Id>int</Id>
          <Name>string</Name>
          <ShortName>string</ShortName>
          <IsParent>boolean</IsParent>
          <UnitParentWorkPlaceId>int</UnitParentWorkPlaceId>
          <TCSchedulerActId>int</TCSchedulerActId>
          <Activated>boolean</Activated>
          <ParentWorkPlaceID>int</ParentWorkPlaceID>
          <Level>int</Level>
          <Path>string</Path>
          <NamePath>string</NamePath>
          <ParentNamePath>string</ParentNamePath>
          <ArrayOfDayTypeUseBreak>
            <DayType xsi:nil="true" />
            <DayType xsi:nil="true" />
          </ArrayOfDayTypeUseBreak>
          <ParentWorkPlaceName>string</ParentWorkPlaceName>
          <PathName>string</PathName>
          <ContractId>int</ContractId>
          <Contract>
            <Id xmlns="http://www.timecare.se/TimeRules">int</Id>
            <Name xmlns="http://www.timecare.se/TimeRules">string</Name>
            <Category xmlns="http://www.timecare.se/TimeRules">string</Category>
            <Active xmlns="http://www.timecare.se/TimeRules">boolean</Active>
            <Compulsory xmlns="http://www.timecare.se/TimeRules">boolean</Compulsory>
            <Comment xmlns="http://www.timecare.se/TimeRules">string</Comment>
            <ArrayOfContractRules xsi:nil="true" xmlns="http://www.timecare.se/TimeRules" />
            <IsExportable xmlns="http://www.timecare.se">boolean</IsExportable>
            <Reference xmlns="http://www.timecare.se">string</Reference>
            <ExternalContractId xmlns="http://www.timecare.se">string</ExternalContractId>
          </Contract>
          <ExternalNodeId>string</ExternalNodeId>
          <IsExportable>boolean</IsExportable>
          <Reference>string</Reference>
          <CostPlace>string</CostPlace>
        </WorkPlace>
        <ArrayOfBonusContract>
          <PersonBonusContract>
            <BonusContractId>int</BonusContractId>
            <PersonId>int</PersonId>
            <FromDate>dateTime</FromDate>
            <ToDate>dateTime</ToDate>
            <FractionToTimeBank>double</FractionToTimeBank>
            <FractionToSave>double</FractionToSave>
            <BonusContract xsi:nil="true" />
          </PersonBonusContract>
          <PersonBonusContract>
            <BonusContractId>int</BonusContractId>
            <PersonId>int</PersonId>
            <FromDate>dateTime</FromDate>
            <ToDate>dateTime</ToDate>
            <FractionToTimeBank>double</FractionToTimeBank>
            <FractionToSave>double</FractionToSave>
            <BonusContract xsi:nil="true" />
          </PersonBonusContract>
        </ArrayOfBonusContract>
        <PersonID>int</PersonID>
        <Person>
          <UpdateDate>dateTime</UpdateDate>
          <UpdateTypeFlag>Inserted or Updated or Deleted or Unknown or All</UpdateTypeFlag>
          <Id>int</Id>
          <Name>string</Name>
          <Gender>string</Gender>
          <BirthDate>dateTime</BirthDate>
          <Age>int</Age>
          <RoleID>int</RoleID>
          <ParentWorkPlaceId>int</ParentWorkPlaceId>
          <LanguageID>int</LanguageID>
          <Language>
            <Id>int</Id>
            <Name>string</Name>
          </Language>
          <ArrayOfPerIntSettings>
            <PerIntSettings xsi:nil="true" />
            <PerIntSettings xsi:nil="true" />
          </ArrayOfPerIntSettings>
          <ArrayOfEmployment>
            <Employment xsi:nil="true" />
            <Employment xsi:nil="true" />
          </ArrayOfEmployment>
          <ArrayOfRuleContract>
            <PersonRuleContract xsi:nil="true" />
            <PersonRuleContract xsi:nil="true" />
          </ArrayOfRuleContract>
          <ArrayOfSkill>
            <Skill xsi:nil="true" />
            <Skill xsi:nil="true" />
          </ArrayOfSkill>
          <ArrayOfWorkLimit>
            <WorkLimit xsi:nil="true" />
            <WorkLimit xsi:nil="true" />
          </ArrayOfWorkLimit>
          <ArrayOfPersonBonusContract>
            <PersonBonusContract xsi:nil="true" />
            <PersonBonusContract xsi:nil="true" />
          </ArrayOfPersonBonusContract>
          <ArrayOfActivity>
            <Activity xsi:nil="true" />
            <Activity xsi:nil="true" />
          </ArrayOfActivity>
          <EmploymentNumber>string</EmploymentNumber>
          <CivicRegistrationNumber>string</CivicRegistrationNumber>
          <UserName>string</UserName>
          <FirstName>string</FirstName>
          <LastName>string</LastName>
          <ShortName>string</ShortName>
          <Address>string</Address>
          <ZipCode>string</ZipCode>
          <City>string</City>
          <TelephoneNumber>string</TelephoneNumber>
          <CellPhoneNumber>string</CellPhoneNumber>
          <Email>string</Email>
          <UseWorkLimit>boolean</UseWorkLimit>
          <TimeBank>double</TimeBank>
          <Points>double</Points>
          <Comment>string</Comment>
          <HasComments>boolean</HasComments>
          <HeaderComment>string</HeaderComment>
          <ShowHeaderComment>boolean</ShowHeaderComment>
          <ExternalPersonId>string</ExternalPersonId>
          <IsExportable>boolean</IsExportable>
          <Reference>string</Reference>
          <CostPlace>string</CostPlace>
        </Person>
        <DutyCalcTypeID>int</DutyCalcTypeID>
        <DutyCalcType>
          <Id>int</Id>
          <Name>string</Name>
          <ShortName>string</ShortName>
          <Description>string</Description>
          <FixedVacationFactor>boolean</FixedVacationFactor>
        </DutyCalcType>
        <UseBreak>boolean</UseBreak>
        <MonthlyHours>double</MonthlyHours>
        <PositionId>int</PositionId>
        <EmpNo>string</EmpNo>
        <ArrayOfPeriod>
          <Period>
            <Id>int</Id>
            <Name>string</Name>
            <ShortName>string</ShortName>
            <SchedType>ReqShift or PrelShift or FinalSched or DefShift or ActiveShift or NoShift or All</SchedType>
            <StartDate>dateTime</StartDate>
            <EndDate>dateTime</EndDate>
            <WorkPlace xsi:nil="true" />
            <Skills xsi:nil="true" />
            <LockDate>dateTime</LockDate>
          </Period>
          <Period>
            <Id>int</Id>
            <Name>string</Name>
            <ShortName>string</ShortName>
            <SchedType>ReqShift or PrelShift or FinalSched or DefShift or ActiveShift or NoShift or All</SchedType>
            <StartDate>dateTime</StartDate>
            <EndDate>dateTime</EndDate>
            <WorkPlace xsi:nil="true" />
            <Skills xsi:nil="true" />
            <LockDate>dateTime</LockDate>
          </Period>
        </ArrayOfPeriod>
        <ExternalEmpId>string</ExternalEmpId>
        <Position>
          <Id>int</Id>
          <Name>string</Name>
          <ShortName>string</ShortName>
          <Comment>string</Comment>
        </Position>
        <Reference>string</Reference>
        <CostPlace>string</CostPlace>
        <IsExportable>boolean</IsExportable>
      </GetEmploymentByRefResult>
    </GetEmploymentByRefResponse>
  </soap:Body>
</soap:Envelope>

HTTP GET

The following is a sample HTTP GET request and response. The placeholders shown need to be replaced with actual values.

GET /TimeCareApi/employmentservice.asmx/GetEmploymentByRef?intIntegrationId=string&strPerRef=string&strWorkPlaceRef=string&dtmStartDate=string&includeRelatedInfo=string HTTP/1.1
Host: timecarekoping.vmkfb.se
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<Employment xmlns="http://www.timecare.se/">
  <UpdateDate>dateTime</UpdateDate>
  <UpdateTypeFlag>Inserted or Updated or Deleted or Unknown or All</UpdateTypeFlag>
  <Id>int</Id>
  <StartDate>dateTime</StartDate>
  <EndDate>dateTime</EndDate>
  <WeeklyHours>double</WeeklyHours>
  <FullTimeHours>double</FullTimeHours>
  <WorkPlaceID>int</WorkPlaceID>
  <WorkPlace>
    <Id>int</Id>
    <Name>string</Name>
    <ShortName>string</ShortName>
    <IsParent>boolean</IsParent>
    <UnitParentWorkPlaceId>int</UnitParentWorkPlaceId>
    <TCSchedulerActId>int</TCSchedulerActId>
    <Activated>boolean</Activated>
    <ParentWorkPlaceID>int</ParentWorkPlaceID>
    <Level>int</Level>
    <Path>string</Path>
    <NamePath>string</NamePath>
    <ParentNamePath>string</ParentNamePath>
    <ArrayOfDayTypeUseBreak>
      <DayType>
        <Name>string</Name>
        <Sign>string</Sign>
        <ShortName>string</ShortName>
        <Color d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <DayTypeId>int</DayTypeId>
        <Day>dateTime</Day>
        <Flag>AgdaAndSum or UseBreakThisDay or UseThisDay or CalcTimeThisDay or Standard</Flag>
      </DayType>
      <DayType>
        <Name>string</Name>
        <Sign>string</Sign>
        <ShortName>string</ShortName>
        <Color d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <DayTypeId>int</DayTypeId>
        <Day>dateTime</Day>
        <Flag>AgdaAndSum or UseBreakThisDay or UseThisDay or CalcTimeThisDay or Standard</Flag>
      </DayType>
    </ArrayOfDayTypeUseBreak>
    <ParentWorkPlaceName>string</ParentWorkPlaceName>
    <PathName>string</PathName>
    <ContractId>int</ContractId>
    <Contract>
      <Id xmlns="http://www.timecare.se/TimeRules">int</Id>
      <Name xmlns="http://www.timecare.se/TimeRules">string</Name>
      <Category xmlns="http://www.timecare.se/TimeRules">string</Category>
      <Active xmlns="http://www.timecare.se/TimeRules">boolean</Active>
      <Compulsory xmlns="http://www.timecare.se/TimeRules">boolean</Compulsory>
      <Comment xmlns="http://www.timecare.se/TimeRules">string</Comment>
      <ArrayOfContractRules xmlns="http://www.timecare.se/TimeRules">
        <ContractRule d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <ContractRule d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </ArrayOfContractRules>
      <IsExportable xmlns="http://www.timecare.se">boolean</IsExportable>
      <Reference xmlns="http://www.timecare.se">string</Reference>
      <ExternalContractId xmlns="http://www.timecare.se">string</ExternalContractId>
    </Contract>
    <ExternalNodeId>string</ExternalNodeId>
    <IsExportable>boolean</IsExportable>
    <Reference>string</Reference>
    <CostPlace>string</CostPlace>
  </WorkPlace>
  <ArrayOfBonusContract>
    <PersonBonusContract>
      <BonusContractId>int</BonusContractId>
      <PersonId>int</PersonId>
      <FromDate>dateTime</FromDate>
      <ToDate>dateTime</ToDate>
      <FractionToTimeBank>double</FractionToTimeBank>
      <FractionToSave>double</FractionToSave>
      <BonusContract>
        <Id>int</Id>
        <Name>string</Name>
        <Active>boolean</Active>
      </BonusContract>
    </PersonBonusContract>
    <PersonBonusContract>
      <BonusContractId>int</BonusContractId>
      <PersonId>int</PersonId>
      <FromDate>dateTime</FromDate>
      <ToDate>dateTime</ToDate>
      <FractionToTimeBank>double</FractionToTimeBank>
      <FractionToSave>double</FractionToSave>
      <BonusContract>
        <Id>int</Id>
        <Name>string</Name>
        <Active>boolean</Active>
      </BonusContract>
    </PersonBonusContract>
  </ArrayOfBonusContract>
  <PersonID>int</PersonID>
  <Person>
    <UpdateDate>dateTime</UpdateDate>
    <UpdateTypeFlag>Inserted or Updated or Deleted or Unknown or All</UpdateTypeFlag>
    <Id>int</Id>
    <Name>string</Name>
    <Gender>string</Gender>
    <BirthDate>dateTime</BirthDate>
    <Age>int</Age>
    <RoleID>int</RoleID>
    <ParentWorkPlaceId>int</ParentWorkPlaceId>
    <LanguageID>int</LanguageID>
    <Language>
      <Id>int</Id>
      <Name>string</Name>
    </Language>
    <ArrayOfPerIntSettings>
      <PerIntSettings>
        <Id>int</Id>
        <ValidFrom>dateTime</ValidFrom>
        <ValidTo>dateTime</ValidTo>
        <DayOffset>dateTime</DayOffset>
        <WeekOffset>dateTime</WeekOffset>
        <Person d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </PerIntSettings>
      <PerIntSettings>
        <Id>int</Id>
        <ValidFrom>dateTime</ValidFrom>
        <ValidTo>dateTime</ValidTo>
        <DayOffset>dateTime</DayOffset>
        <WeekOffset>dateTime</WeekOffset>
        <Person d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </PerIntSettings>
    </ArrayOfPerIntSettings>
    <ArrayOfEmployment>
      <Employment>
        <UpdateDate>dateTime</UpdateDate>
        <UpdateTypeFlag>Inserted or Updated or Deleted or Unknown or All</UpdateTypeFlag>
        <Id>int</Id>
        <StartDate>dateTime</StartDate>
        <EndDate>dateTime</EndDate>
        <WeeklyHours>double</WeeklyHours>
        <FullTimeHours>double</FullTimeHours>
        <WorkPlaceID>int</WorkPlaceID>
        <WorkPlace d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <ArrayOfBonusContract d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <PersonID>int</PersonID>
        <Person d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <DutyCalcTypeID>int</DutyCalcTypeID>
        <DutyCalcType d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <UseBreak>boolean</UseBreak>
        <MonthlyHours>double</MonthlyHours>
        <PositionId>int</PositionId>
        <EmpNo>string</EmpNo>
        <ArrayOfPeriod d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <ExternalEmpId>string</ExternalEmpId>
        <Position d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <Reference>string</Reference>
        <CostPlace>string</CostPlace>
        <IsExportable>boolean</IsExportable>
      </Employment>
      <Employment>
        <UpdateDate>dateTime</UpdateDate>
        <UpdateTypeFlag>Inserted or Updated or Deleted or Unknown or All</UpdateTypeFlag>
        <Id>int</Id>
        <StartDate>dateTime</StartDate>
        <EndDate>dateTime</EndDate>
        <WeeklyHours>double</WeeklyHours>
        <FullTimeHours>double</FullTimeHours>
        <WorkPlaceID>int</WorkPlaceID>
        <WorkPlace d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <ArrayOfBonusContract d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <PersonID>int</PersonID>
        <Person d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <DutyCalcTypeID>int</DutyCalcTypeID>
        <DutyCalcType d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <UseBreak>boolean</UseBreak>
        <MonthlyHours>double</MonthlyHours>
        <PositionId>int</PositionId>
        <EmpNo>string</EmpNo>
        <ArrayOfPeriod d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <ExternalEmpId>string</ExternalEmpId>
        <Position d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <Reference>string</Reference>
        <CostPlace>string</CostPlace>
        <IsExportable>boolean</IsExportable>
      </Employment>
    </ArrayOfEmployment>
    <ArrayOfRuleContract>
      <PersonRuleContract>
        <PerId>int</PerId>
        <Contract d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <ContractId>int</ContractId>
        <OverrideGroupContract>boolean</OverrideGroupContract>
        <ValidFrom>dateTime</ValidFrom>
        <ValidTo>dateTime</ValidTo>
      </PersonRuleContract>
      <PersonRuleContract>
        <PerId>int</PerId>
        <Contract d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <ContractId>int</ContractId>
        <OverrideGroupContract>boolean</OverrideGroupContract>
        <ValidFrom>dateTime</ValidFrom>
        <ValidTo>dateTime</ValidTo>
      </PersonRuleContract>
    </ArrayOfRuleContract>
    <ArrayOfSkill>
      <Skill>
        <Id>int</Id>
        <Name>string</Name>
        <Color d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <ReqColor d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <ShortName>string</ShortName>
        <Comment>string</Comment>
        <ExternalSkillId>string</ExternalSkillId>
        <IsExportable>boolean</IsExportable>
        <Reference>string</Reference>
      </Skill>
      <Skill>
        <Id>int</Id>
        <Name>string</Name>
        <Color d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <ReqColor d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <ShortName>string</ShortName>
        <Comment>string</Comment>
        <ExternalSkillId>string</ExternalSkillId>
        <IsExportable>boolean</IsExportable>
        <Reference>string</Reference>
      </Skill>
    </ArrayOfSkill>
    <ArrayOfWorkLimit>
      <WorkLimit>
        <Id>int</Id>
        <PerId>int</PerId>
        <LimitFrom>dateTime</LimitFrom>
        <LimitTo>dateTime</LimitTo>
        <DayTimeFrom>double</DayTimeFrom>
        <DayTimeTo>double</DayTimeTo>
      </WorkLimit>
      <WorkLimit>
        <Id>int</Id>
        <PerId>int</PerId>
        <LimitFrom>dateTime</LimitFrom>
        <LimitTo>dateTime</LimitTo>
        <DayTimeFrom>double</DayTimeFrom>
        <DayTimeTo>double</DayTimeTo>
      </WorkLimit>
    </ArrayOfWorkLimit>
    <ArrayOfPersonBonusContract>
      <PersonBonusContract>
        <BonusContractId>int</BonusContractId>
        <PersonId>int</PersonId>
        <FromDate>dateTime</FromDate>
        <ToDate>dateTime</ToDate>
        <FractionToTimeBank>double</FractionToTimeBank>
        <FractionToSave>double</FractionToSave>
        <BonusContract d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </PersonBonusContract>
      <PersonBonusContract>
        <BonusContractId>int</BonusContractId>
        <PersonId>int</PersonId>
        <FromDate>dateTime</FromDate>
        <ToDate>dateTime</ToDate>
        <FractionToTimeBank>double</FractionToTimeBank>
        <FractionToSave>double</FractionToSave>
        <BonusContract d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </PersonBonusContract>
    </ArrayOfPersonBonusContract>
    <ArrayOfActivity>
      <Activity>
        <UpdateDate>dateTime</UpdateDate>
        <UpdateTypeFlag>Inserted or Updated or Deleted or Unknown or All</UpdateTypeFlag>
        <Id>int</Id>
        <Name>string</Name>
        <PrioNo>int</PrioNo>
        <ShortName>string</ShortName>
        <Symbol>string</Symbol>
        <TimeMethod>CalculatedTime or ManuelTime or WeeklyWorkTime or FullTimeHour or FixedTime or BasedOnPreviousMonths</TimeMethod>
        <GotTimes>boolean</GotTimes>
        <UseTimeRules>boolean</UseTimeRules>
        <NegativeDayBalance>boolean</NegativeDayBalance>
        <MultiplyTimeWith>double</MultiplyTimeWith>
        <FixedLenShift>boolean</FixedLenShift>
        <UseDefSched>boolean</UseDefSched>
        <Usable>boolean</Usable>
        <IsWork>boolean</IsWork>
        <IsStaffing>boolean</IsStaffing>
        <IsPresence>boolean</IsPresence>
        <BalanceType>actNone or actWorkTime or actStaffing or actLeaveTime or actVacationTime or actVetoTime or actIsBreak or actAlertTime or actWatchTime or actIllnessTime or actOtherAbsenceTime or actOverTime or actPlusTime or actEducationLeaveTime or actNothing or actCircomstanceLeaveTime or actLegalVacationTime or actPublicVacationTime or actWorkingReductionTime or actAgeVacationTime or actLeaveSeniorityTime or actCompanyVacationTime or actMaternityLeaveTime or actParentalLeaveTime or actSeniorTime or actCareTime or actAll</BalanceType>
        <BalanceDayType>actNone or actWorkDay or actVacationDay or actLeaveDay or actVetoDay or actWatchDay or actAlertDay or actIllnessDay or actOtherAbsenceDay or actNothing or actLegalVacationDay or actPublicVacationDay or actWorkingTimeReductionDay or actSeniorDay or actCareDay</BalanceDayType>
        <WholeDay>boolean</WholeDay>
        <UseInSchedType>ReqShift or PrelShift or FinalSched or DefShift or ActiveShift or NoShift or All</UseInSchedType>
        <CombinedWith d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <TimeDefSched>boolean</TimeDefSched>
        <IsBreak>boolean</IsBreak>
        <ArrayOfRuleContract d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <ArrayOfSkill d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <ArrayOfDayTypeUsable d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <ArrayOfDayTypeCalc d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <ExternalActivityId>string</ExternalActivityId>
        <IsExportable>boolean</IsExportable>
        <Type>string</Type>
        <Reference>string</Reference>
        <CostPlace>string</CostPlace>
      </Activity>
      <Activity>
        <UpdateDate>dateTime</UpdateDate>
        <UpdateTypeFlag>Inserted or Updated or Deleted or Unknown or All</UpdateTypeFlag>
        <Id>int</Id>
        <Name>string</Name>
        <PrioNo>int</PrioNo>
        <ShortName>string</ShortName>
        <Symbol>string</Symbol>
        <TimeMethod>CalculatedTime or ManuelTime or WeeklyWorkTime or FullTimeHour or FixedTime or BasedOnPreviousMonths</TimeMethod>
        <GotTimes>boolean</GotTimes>
        <UseTimeRules>boolean</UseTimeRules>
        <NegativeDayBalance>boolean</NegativeDayBalance>
        <MultiplyTimeWith>double</MultiplyTimeWith>
        <FixedLenShift>boolean</FixedLenShift>
        <UseDefSched>boolean</UseDefSched>
        <Usable>boolean</Usable>
        <IsWork>boolean</IsWork>
        <IsStaffing>boolean</IsStaffing>
        <IsPresence>boolean</IsPresence>
        <BalanceType>actNone or actWorkTime or actStaffing or actLeaveTime or actVacationTime or actVetoTime or actIsBreak or actAlertTime or actWatchTime or actIllnessTime or actOtherAbsenceTime or actOverTime or actPlusTime or actEducationLeaveTime or actNothing or actCircomstanceLeaveTime or actLegalVacationTime or actPublicVacationTime or actWorkingReductionTime or actAgeVacationTime or actLeaveSeniorityTime or actCompanyVacationTime or actMaternityLeaveTime or actParentalLeaveTime or actSeniorTime or actCareTime or actAll</BalanceType>
        <BalanceDayType>actNone or actWorkDay or actVacationDay or actLeaveDay or actVetoDay or actWatchDay or actAlertDay or actIllnessDay or actOtherAbsenceDay or actNothing or actLegalVacationDay or actPublicVacationDay or actWorkingTimeReductionDay or actSeniorDay or actCareDay</BalanceDayType>
        <WholeDay>boolean</WholeDay>
        <UseInSchedType>ReqShift or PrelShift or FinalSched or DefShift or ActiveShift or NoShift or All</UseInSchedType>
        <CombinedWith d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <TimeDefSched>boolean</TimeDefSched>
        <IsBreak>boolean</IsBreak>
        <ArrayOfRuleContract d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <ArrayOfSkill d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <ArrayOfDayTypeUsable d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <ArrayOfDayTypeCalc d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <ExternalActivityId>string</ExternalActivityId>
        <IsExportable>boolean</IsExportable>
        <Type>string</Type>
        <Reference>string</Reference>
        <CostPlace>string</CostPlace>
      </Activity>
    </ArrayOfActivity>
    <EmploymentNumber>string</EmploymentNumber>
    <CivicRegistrationNumber>string</CivicRegistrationNumber>
    <UserName>string</UserName>
    <FirstName>string</FirstName>
    <LastName>string</LastName>
    <ShortName>string</ShortName>
    <Address>string</Address>
    <ZipCode>string</ZipCode>
    <City>string</City>
    <TelephoneNumber>string</TelephoneNumber>
    <CellPhoneNumber>string</CellPhoneNumber>
    <Email>string</Email>
    <UseWorkLimit>boolean</UseWorkLimit>
    <TimeBank>double</TimeBank>
    <Points>double</Points>
    <Comment>string</Comment>
    <HasComments>boolean</HasComments>
    <HeaderComment>string</HeaderComment>
    <ShowHeaderComment>boolean</ShowHeaderComment>
    <ExternalPersonId>string</ExternalPersonId>
    <IsExportable>boolean</IsExportable>
    <Reference>string</Reference>
    <CostPlace>string</CostPlace>
  </Person>
  <DutyCalcTypeID>int</DutyCalcTypeID>
  <DutyCalcType>
    <Id>int</Id>
    <Name>string</Name>
    <ShortName>string</ShortName>
    <Description>string</Description>
    <FixedVacationFactor>boolean</FixedVacationFactor>
  </DutyCalcType>
  <UseBreak>boolean</UseBreak>
  <MonthlyHours>double</MonthlyHours>
  <PositionId>int</PositionId>
  <EmpNo>string</EmpNo>
  <ArrayOfPeriod>
    <Period>
      <Id>int</Id>
      <Name>string</Name>
      <ShortName>string</ShortName>
      <SchedType>ReqShift or PrelShift or FinalSched or DefShift or ActiveShift or NoShift or All</SchedType>
      <StartDate>dateTime</StartDate>
      <EndDate>dateTime</EndDate>
      <WorkPlace>
        <Id>int</Id>
        <Name>string</Name>
        <ShortName>string</ShortName>
        <IsParent>boolean</IsParent>
        <UnitParentWorkPlaceId>int</UnitParentWorkPlaceId>
        <TCSchedulerActId>int</TCSchedulerActId>
        <Activated>boolean</Activated>
        <ParentWorkPlaceID>int</ParentWorkPlaceID>
        <Level>int</Level>
        <Path>string</Path>
        <NamePath>string</NamePath>
        <ParentNamePath>string</ParentNamePath>
        <ArrayOfDayTypeUseBreak d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <ParentWorkPlaceName>string</ParentWorkPlaceName>
        <PathName>string</PathName>
        <ContractId>int</ContractId>
        <Contract d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <ExternalNodeId>string</ExternalNodeId>
        <IsExportable>boolean</IsExportable>
        <Reference>string</Reference>
        <CostPlace>string</CostPlace>
      </WorkPlace>
      <Skills>
        <Skill d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <Skill d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </Skills>
      <LockDate>dateTime</LockDate>
    </Period>
    <Period>
      <Id>int</Id>
      <Name>string</Name>
      <ShortName>string</ShortName>
      <SchedType>ReqShift or PrelShift or FinalSched or DefShift or ActiveShift or NoShift or All</SchedType>
      <StartDate>dateTime</StartDate>
      <EndDate>dateTime</EndDate>
      <WorkPlace>
        <Id>int</Id>
        <Name>string</Name>
        <ShortName>string</ShortName>
        <IsParent>boolean</IsParent>
        <UnitParentWorkPlaceId>int</UnitParentWorkPlaceId>
        <TCSchedulerActId>int</TCSchedulerActId>
        <Activated>boolean</Activated>
        <ParentWorkPlaceID>int</ParentWorkPlaceID>
        <Level>int</Level>
        <Path>string</Path>
        <NamePath>string</NamePath>
        <ParentNamePath>string</ParentNamePath>
        <ArrayOfDayTypeUseBreak d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <ParentWorkPlaceName>string</ParentWorkPlaceName>
        <PathName>string</PathName>
        <ContractId>int</ContractId>
        <Contract d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <ExternalNodeId>string</ExternalNodeId>
        <IsExportable>boolean</IsExportable>
        <Reference>string</Reference>
        <CostPlace>string</CostPlace>
      </WorkPlace>
      <Skills>
        <Skill d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <Skill d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </Skills>
      <LockDate>dateTime</LockDate>
    </Period>
  </ArrayOfPeriod>
  <ExternalEmpId>string</ExternalEmpId>
  <Position>
    <Id>int</Id>
    <Name>string</Name>
    <ShortName>string</ShortName>
    <Comment>string</Comment>
  </Position>
  <Reference>string</Reference>
  <CostPlace>string</CostPlace>
  <IsExportable>boolean</IsExportable>
</Employment>

HTTP POST

The following is a sample HTTP POST request and response. The placeholders shown need to be replaced with actual values.

POST /TimeCareApi/employmentservice.asmx/GetEmploymentByRef HTTP/1.1
Host: timecarekoping.vmkfb.se
Content-Type: application/x-www-form-urlencoded
Content-Length: length

intIntegrationId=string&strPerRef=string&strWorkPlaceRef=string&dtmStartDate=string&includeRelatedInfo=string
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<Employment xmlns="http://www.timecare.se/">
  <UpdateDate>dateTime</UpdateDate>
  <UpdateTypeFlag>Inserted or Updated or Deleted or Unknown or All</UpdateTypeFlag>
  <Id>int</Id>
  <StartDate>dateTime</StartDate>
  <EndDate>dateTime</EndDate>
  <WeeklyHours>double</WeeklyHours>
  <FullTimeHours>double</FullTimeHours>
  <WorkPlaceID>int</WorkPlaceID>
  <WorkPlace>
    <Id>int</Id>
    <Name>string</Name>
    <ShortName>string</ShortName>
    <IsParent>boolean</IsParent>
    <UnitParentWorkPlaceId>int</UnitParentWorkPlaceId>
    <TCSchedulerActId>int</TCSchedulerActId>
    <Activated>boolean</Activated>
    <ParentWorkPlaceID>int</ParentWorkPlaceID>
    <Level>int</Level>
    <Path>string</Path>
    <NamePath>string</NamePath>
    <ParentNamePath>string</ParentNamePath>
    <ArrayOfDayTypeUseBreak>
      <DayType>
        <Name>string</Name>
        <Sign>string</Sign>
        <ShortName>string</ShortName>
        <Color d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <DayTypeId>int</DayTypeId>
        <Day>dateTime</Day>
        <Flag>AgdaAndSum or UseBreakThisDay or UseThisDay or CalcTimeThisDay or Standard</Flag>
      </DayType>
      <DayType>
        <Name>string</Name>
        <Sign>string</Sign>
        <ShortName>string</ShortName>
        <Color d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <DayTypeId>int</DayTypeId>
        <Day>dateTime</Day>
        <Flag>AgdaAndSum or UseBreakThisDay or UseThisDay or CalcTimeThisDay or Standard</Flag>
      </DayType>
    </ArrayOfDayTypeUseBreak>
    <ParentWorkPlaceName>string</ParentWorkPlaceName>
    <PathName>string</PathName>
    <ContractId>int</ContractId>
    <Contract>
      <Id xmlns="http://www.timecare.se/TimeRules">int</Id>
      <Name xmlns="http://www.timecare.se/TimeRules">string</Name>
      <Category xmlns="http://www.timecare.se/TimeRules">string</Category>
      <Active xmlns="http://www.timecare.se/TimeRules">boolean</Active>
      <Compulsory xmlns="http://www.timecare.se/TimeRules">boolean</Compulsory>
      <Comment xmlns="http://www.timecare.se/TimeRules">string</Comment>
      <ArrayOfContractRules xmlns="http://www.timecare.se/TimeRules">
        <ContractRule d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <ContractRule d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </ArrayOfContractRules>
      <IsExportable xmlns="http://www.timecare.se">boolean</IsExportable>
      <Reference xmlns="http://www.timecare.se">string</Reference>
      <ExternalContractId xmlns="http://www.timecare.se">string</ExternalContractId>
    </Contract>
    <ExternalNodeId>string</ExternalNodeId>
    <IsExportable>boolean</IsExportable>
    <Reference>string</Reference>
    <CostPlace>string</CostPlace>
  </WorkPlace>
  <ArrayOfBonusContract>
    <PersonBonusContract>
      <BonusContractId>int</BonusContractId>
      <PersonId>int</PersonId>
      <FromDate>dateTime</FromDate>
      <ToDate>dateTime</ToDate>
      <FractionToTimeBank>double</FractionToTimeBank>
      <FractionToSave>double</FractionToSave>
      <BonusContract>
        <Id>int</Id>
        <Name>string</Name>
        <Active>boolean</Active>
      </BonusContract>
    </PersonBonusContract>
    <PersonBonusContract>
      <BonusContractId>int</BonusContractId>
      <PersonId>int</PersonId>
      <FromDate>dateTime</FromDate>
      <ToDate>dateTime</ToDate>
      <FractionToTimeBank>double</FractionToTimeBank>
      <FractionToSave>double</FractionToSave>
      <BonusContract>
        <Id>int</Id>
        <Name>string</Name>
        <Active>boolean</Active>
      </BonusContract>
    </PersonBonusContract>
  </ArrayOfBonusContract>
  <PersonID>int</PersonID>
  <Person>
    <UpdateDate>dateTime</UpdateDate>
    <UpdateTypeFlag>Inserted or Updated or Deleted or Unknown or All</UpdateTypeFlag>
    <Id>int</Id>
    <Name>string</Name>
    <Gender>string</Gender>
    <BirthDate>dateTime</BirthDate>
    <Age>int</Age>
    <RoleID>int</RoleID>
    <ParentWorkPlaceId>int</ParentWorkPlaceId>
    <LanguageID>int</LanguageID>
    <Language>
      <Id>int</Id>
      <Name>string</Name>
    </Language>
    <ArrayOfPerIntSettings>
      <PerIntSettings>
        <Id>int</Id>
        <ValidFrom>dateTime</ValidFrom>
        <ValidTo>dateTime</ValidTo>
        <DayOffset>dateTime</DayOffset>
        <WeekOffset>dateTime</WeekOffset>
        <Person d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </PerIntSettings>
      <PerIntSettings>
        <Id>int</Id>
        <ValidFrom>dateTime</ValidFrom>
        <ValidTo>dateTime</ValidTo>
        <DayOffset>dateTime</DayOffset>
        <WeekOffset>dateTime</WeekOffset>
        <Person d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </PerIntSettings>
    </ArrayOfPerIntSettings>
    <ArrayOfEmployment>
      <Employment>
        <UpdateDate>dateTime</UpdateDate>
        <UpdateTypeFlag>Inserted or Updated or Deleted or Unknown or All</UpdateTypeFlag>
        <Id>int</Id>
        <StartDate>dateTime</StartDate>
        <EndDate>dateTime</EndDate>
        <WeeklyHours>double</WeeklyHours>
        <FullTimeHours>double</FullTimeHours>
        <WorkPlaceID>int</WorkPlaceID>
        <WorkPlace d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <ArrayOfBonusContract d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <PersonID>int</PersonID>
        <Person d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <DutyCalcTypeID>int</DutyCalcTypeID>
        <DutyCalcType d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <UseBreak>boolean</UseBreak>
        <MonthlyHours>double</MonthlyHours>
        <PositionId>int</PositionId>
        <EmpNo>string</EmpNo>
        <ArrayOfPeriod d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <ExternalEmpId>string</ExternalEmpId>
        <Position d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <Reference>string</Reference>
        <CostPlace>string</CostPlace>
        <IsExportable>boolean</IsExportable>
      </Employment>
      <Employment>
        <UpdateDate>dateTime</UpdateDate>
        <UpdateTypeFlag>Inserted or Updated or Deleted or Unknown or All</UpdateTypeFlag>
        <Id>int</Id>
        <StartDate>dateTime</StartDate>
        <EndDate>dateTime</EndDate>
        <WeeklyHours>double</WeeklyHours>
        <FullTimeHours>double</FullTimeHours>
        <WorkPlaceID>int</WorkPlaceID>
        <WorkPlace d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <ArrayOfBonusContract d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <PersonID>int</PersonID>
        <Person d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <DutyCalcTypeID>int</DutyCalcTypeID>
        <DutyCalcType d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <UseBreak>boolean</UseBreak>
        <MonthlyHours>double</MonthlyHours>
        <PositionId>int</PositionId>
        <EmpNo>string</EmpNo>
        <ArrayOfPeriod d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <ExternalEmpId>string</ExternalEmpId>
        <Position d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <Reference>string</Reference>
        <CostPlace>string</CostPlace>
        <IsExportable>boolean</IsExportable>
      </Employment>
    </ArrayOfEmployment>
    <ArrayOfRuleContract>
      <PersonRuleContract>
        <PerId>int</PerId>
        <Contract d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <ContractId>int</ContractId>
        <OverrideGroupContract>boolean</OverrideGroupContract>
        <ValidFrom>dateTime</ValidFrom>
        <ValidTo>dateTime</ValidTo>
      </PersonRuleContract>
      <PersonRuleContract>
        <PerId>int</PerId>
        <Contract d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <ContractId>int</ContractId>
        <OverrideGroupContract>boolean</OverrideGroupContract>
        <ValidFrom>dateTime</ValidFrom>
        <ValidTo>dateTime</ValidTo>
      </PersonRuleContract>
    </ArrayOfRuleContract>
    <ArrayOfSkill>
      <Skill>
        <Id>int</Id>
        <Name>string</Name>
        <Color d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <ReqColor d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <ShortName>string</ShortName>
        <Comment>string</Comment>
        <ExternalSkillId>string</ExternalSkillId>
        <IsExportable>boolean</IsExportable>
        <Reference>string</Reference>
      </Skill>
      <Skill>
        <Id>int</Id>
        <Name>string</Name>
        <Color d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <ReqColor d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <ShortName>string</ShortName>
        <Comment>string</Comment>
        <ExternalSkillId>string</ExternalSkillId>
        <IsExportable>boolean</IsExportable>
        <Reference>string</Reference>
      </Skill>
    </ArrayOfSkill>
    <ArrayOfWorkLimit>
      <WorkLimit>
        <Id>int</Id>
        <PerId>int</PerId>
        <LimitFrom>dateTime</LimitFrom>
        <LimitTo>dateTime</LimitTo>
        <DayTimeFrom>double</DayTimeFrom>
        <DayTimeTo>double</DayTimeTo>
      </WorkLimit>
      <WorkLimit>
        <Id>int</Id>
        <PerId>int</PerId>
        <LimitFrom>dateTime</LimitFrom>
        <LimitTo>dateTime</LimitTo>
        <DayTimeFrom>double</DayTimeFrom>
        <DayTimeTo>double</DayTimeTo>
      </WorkLimit>
    </ArrayOfWorkLimit>
    <ArrayOfPersonBonusContract>
      <PersonBonusContract>
        <BonusContractId>int</BonusContractId>
        <PersonId>int</PersonId>
        <FromDate>dateTime</FromDate>
        <ToDate>dateTime</ToDate>
        <FractionToTimeBank>double</FractionToTimeBank>
        <FractionToSave>double</FractionToSave>
        <BonusContract d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </PersonBonusContract>
      <PersonBonusContract>
        <BonusContractId>int</BonusContractId>
        <PersonId>int</PersonId>
        <FromDate>dateTime</FromDate>
        <ToDate>dateTime</ToDate>
        <FractionToTimeBank>double</FractionToTimeBank>
        <FractionToSave>double</FractionToSave>
        <BonusContract d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </PersonBonusContract>
    </ArrayOfPersonBonusContract>
    <ArrayOfActivity>
      <Activity>
        <UpdateDate>dateTime</UpdateDate>
        <UpdateTypeFlag>Inserted or Updated or Deleted or Unknown or All</UpdateTypeFlag>
        <Id>int</Id>
        <Name>string</Name>
        <PrioNo>int</PrioNo>
        <ShortName>string</ShortName>
        <Symbol>string</Symbol>
        <TimeMethod>CalculatedTime or ManuelTime or WeeklyWorkTime or FullTimeHour or FixedTime or BasedOnPreviousMonths</TimeMethod>
        <GotTimes>boolean</GotTimes>
        <UseTimeRules>boolean</UseTimeRules>
        <NegativeDayBalance>boolean</NegativeDayBalance>
        <MultiplyTimeWith>double</MultiplyTimeWith>
        <FixedLenShift>boolean</FixedLenShift>
        <UseDefSched>boolean</UseDefSched>
        <Usable>boolean</Usable>
        <IsWork>boolean</IsWork>
        <IsStaffing>boolean</IsStaffing>
        <IsPresence>boolean</IsPresence>
        <BalanceType>actNone or actWorkTime or actStaffing or actLeaveTime or actVacationTime or actVetoTime or actIsBreak or actAlertTime or actWatchTime or actIllnessTime or actOtherAbsenceTime or actOverTime or actPlusTime or actEducationLeaveTime or actNothing or actCircomstanceLeaveTime or actLegalVacationTime or actPublicVacationTime or actWorkingReductionTime or actAgeVacationTime or actLeaveSeniorityTime or actCompanyVacationTime or actMaternityLeaveTime or actParentalLeaveTime or actSeniorTime or actCareTime or actAll</BalanceType>
        <BalanceDayType>actNone or actWorkDay or actVacationDay or actLeaveDay or actVetoDay or actWatchDay or actAlertDay or actIllnessDay or actOtherAbsenceDay or actNothing or actLegalVacationDay or actPublicVacationDay or actWorkingTimeReductionDay or actSeniorDay or actCareDay</BalanceDayType>
        <WholeDay>boolean</WholeDay>
        <UseInSchedType>ReqShift or PrelShift or FinalSched or DefShift or ActiveShift or NoShift or All</UseInSchedType>
        <CombinedWith d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <TimeDefSched>boolean</TimeDefSched>
        <IsBreak>boolean</IsBreak>
        <ArrayOfRuleContract d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <ArrayOfSkill d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <ArrayOfDayTypeUsable d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <ArrayOfDayTypeCalc d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <ExternalActivityId>string</ExternalActivityId>
        <IsExportable>boolean</IsExportable>
        <Type>string</Type>
        <Reference>string</Reference>
        <CostPlace>string</CostPlace>
      </Activity>
      <Activity>
        <UpdateDate>dateTime</UpdateDate>
        <UpdateTypeFlag>Inserted or Updated or Deleted or Unknown or All</UpdateTypeFlag>
        <Id>int</Id>
        <Name>string</Name>
        <PrioNo>int</PrioNo>
        <ShortName>string</ShortName>
        <Symbol>string</Symbol>
        <TimeMethod>CalculatedTime or ManuelTime or WeeklyWorkTime or FullTimeHour or FixedTime or BasedOnPreviousMonths</TimeMethod>
        <GotTimes>boolean</GotTimes>
        <UseTimeRules>boolean</UseTimeRules>
        <NegativeDayBalance>boolean</NegativeDayBalance>
        <MultiplyTimeWith>double</MultiplyTimeWith>
        <FixedLenShift>boolean</FixedLenShift>
        <UseDefSched>boolean</UseDefSched>
        <Usable>boolean</Usable>
        <IsWork>boolean</IsWork>
        <IsStaffing>boolean</IsStaffing>
        <IsPresence>boolean</IsPresence>
        <BalanceType>actNone or actWorkTime or actStaffing or actLeaveTime or actVacationTime or actVetoTime or actIsBreak or actAlertTime or actWatchTime or actIllnessTime or actOtherAbsenceTime or actOverTime or actPlusTime or actEducationLeaveTime or actNothing or actCircomstanceLeaveTime or actLegalVacationTime or actPublicVacationTime or actWorkingReductionTime or actAgeVacationTime or actLeaveSeniorityTime or actCompanyVacationTime or actMaternityLeaveTime or actParentalLeaveTime or actSeniorTime or actCareTime or actAll</BalanceType>
        <BalanceDayType>actNone or actWorkDay or actVacationDay or actLeaveDay or actVetoDay or actWatchDay or actAlertDay or actIllnessDay or actOtherAbsenceDay or actNothing or actLegalVacationDay or actPublicVacationDay or actWorkingTimeReductionDay or actSeniorDay or actCareDay</BalanceDayType>
        <WholeDay>boolean</WholeDay>
        <UseInSchedType>ReqShift or PrelShift or FinalSched or DefShift or ActiveShift or NoShift or All</UseInSchedType>
        <CombinedWith d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <TimeDefSched>boolean</TimeDefSched>
        <IsBreak>boolean</IsBreak>
        <ArrayOfRuleContract d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <ArrayOfSkill d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <ArrayOfDayTypeUsable d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <ArrayOfDayTypeCalc d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <ExternalActivityId>string</ExternalActivityId>
        <IsExportable>boolean</IsExportable>
        <Type>string</Type>
        <Reference>string</Reference>
        <CostPlace>string</CostPlace>
      </Activity>
    </ArrayOfActivity>
    <EmploymentNumber>string</EmploymentNumber>
    <CivicRegistrationNumber>string</CivicRegistrationNumber>
    <UserName>string</UserName>
    <FirstName>string</FirstName>
    <LastName>string</LastName>
    <ShortName>string</ShortName>
    <Address>string</Address>
    <ZipCode>string</ZipCode>
    <City>string</City>
    <TelephoneNumber>string</TelephoneNumber>
    <CellPhoneNumber>string</CellPhoneNumber>
    <Email>string</Email>
    <UseWorkLimit>boolean</UseWorkLimit>
    <TimeBank>double</TimeBank>
    <Points>double</Points>
    <Comment>string</Comment>
    <HasComments>boolean</HasComments>
    <HeaderComment>string</HeaderComment>
    <ShowHeaderComment>boolean</ShowHeaderComment>
    <ExternalPersonId>string</ExternalPersonId>
    <IsExportable>boolean</IsExportable>
    <Reference>string</Reference>
    <CostPlace>string</CostPlace>
  </Person>
  <DutyCalcTypeID>int</DutyCalcTypeID>
  <DutyCalcType>
    <Id>int</Id>
    <Name>string</Name>
    <ShortName>string</ShortName>
    <Description>string</Description>
    <FixedVacationFactor>boolean</FixedVacationFactor>
  </DutyCalcType>
  <UseBreak>boolean</UseBreak>
  <MonthlyHours>double</MonthlyHours>
  <PositionId>int</PositionId>
  <EmpNo>string</EmpNo>
  <ArrayOfPeriod>
    <Period>
      <Id>int</Id>
      <Name>string</Name>
      <ShortName>string</ShortName>
      <SchedType>ReqShift or PrelShift or FinalSched or DefShift or ActiveShift or NoShift or All</SchedType>
      <StartDate>dateTime</StartDate>
      <EndDate>dateTime</EndDate>
      <WorkPlace>
        <Id>int</Id>
        <Name>string</Name>
        <ShortName>string</ShortName>
        <IsParent>boolean</IsParent>
        <UnitParentWorkPlaceId>int</UnitParentWorkPlaceId>
        <TCSchedulerActId>int</TCSchedulerActId>
        <Activated>boolean</Activated>
        <ParentWorkPlaceID>int</ParentWorkPlaceID>
        <Level>int</Level>
        <Path>string</Path>
        <NamePath>string</NamePath>
        <ParentNamePath>string</ParentNamePath>
        <ArrayOfDayTypeUseBreak d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <ParentWorkPlaceName>string</ParentWorkPlaceName>
        <PathName>string</PathName>
        <ContractId>int</ContractId>
        <Contract d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <ExternalNodeId>string</ExternalNodeId>
        <IsExportable>boolean</IsExportable>
        <Reference>string</Reference>
        <CostPlace>string</CostPlace>
      </WorkPlace>
      <Skills>
        <Skill d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <Skill d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </Skills>
      <LockDate>dateTime</LockDate>
    </Period>
    <Period>
      <Id>int</Id>
      <Name>string</Name>
      <ShortName>string</ShortName>
      <SchedType>ReqShift or PrelShift or FinalSched or DefShift or ActiveShift or NoShift or All</SchedType>
      <StartDate>dateTime</StartDate>
      <EndDate>dateTime</EndDate>
      <WorkPlace>
        <Id>int</Id>
        <Name>string</Name>
        <ShortName>string</ShortName>
        <IsParent>boolean</IsParent>
        <UnitParentWorkPlaceId>int</UnitParentWorkPlaceId>
        <TCSchedulerActId>int</TCSchedulerActId>
        <Activated>boolean</Activated>
        <ParentWorkPlaceID>int</ParentWorkPlaceID>
        <Level>int</Level>
        <Path>string</Path>
        <NamePath>string</NamePath>
        <ParentNamePath>string</ParentNamePath>
        <ArrayOfDayTypeUseBreak d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <ParentWorkPlaceName>string</ParentWorkPlaceName>
        <PathName>string</PathName>
        <ContractId>int</ContractId>
        <Contract d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <ExternalNodeId>string</ExternalNodeId>
        <IsExportable>boolean</IsExportable>
        <Reference>string</Reference>
        <CostPlace>string</CostPlace>
      </WorkPlace>
      <Skills>
        <Skill d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <Skill d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </Skills>
      <LockDate>dateTime</LockDate>
    </Period>
  </ArrayOfPeriod>
  <ExternalEmpId>string</ExternalEmpId>
  <Position>
    <Id>int</Id>
    <Name>string</Name>
    <ShortName>string</ShortName>
    <Comment>string</Comment>
  </Position>
  <Reference>string</Reference>
  <CostPlace>string</CostPlace>
  <IsExportable>boolean</IsExportable>
</Employment>