WorkShiftService


Click here for a complete list of operations.

GetPersonWorkShiftsFromWorkPlaceByRef

Get a specific person it's shifts from a workplace in TimeCare, can ignore the IsExportable-property

Test

To test the operation using the HTTP POST protocol, click the 'Invoke' button.
Parameter Value
intIntegrationId:
intPerId:
intWorkPlaceId:
dtmStartDate:
dtmEndDate:
ignoreIsExportable:
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/workshiftservice.asmx HTTP/1.1
Host: timecarekoping.vmkfb.se
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://www.timecare.se/GetPersonWorkShiftsFromWorkPlaceByRef"

<?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>
    <GetPersonWorkShiftsFromWorkPlaceByRef xmlns="http://www.timecare.se/">
      <intIntegrationId>int</intIntegrationId>
      <intPerId>int</intPerId>
      <intWorkPlaceId>int</intWorkPlaceId>
      <dtmStartDate>dateTime</dtmStartDate>
      <dtmEndDate>dateTime</dtmEndDate>
      <ignoreIsExportable>boolean</ignoreIsExportable>
      <includeRelatedInfo>boolean</includeRelatedInfo>
    </GetPersonWorkShiftsFromWorkPlaceByRef>
  </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>
    <GetPersonWorkShiftsFromWorkPlaceByRefResponse xmlns="http://www.timecare.se/">
      <GetPersonWorkShiftsFromWorkPlaceByRefResult>
        <UpdateDate>dateTime</UpdateDate>
        <UpdateTypeFlag>Inserted or Updated or Deleted or Unknown or All</UpdateTypeFlag>
        <UpdateUser>string</UpdateUser>
        <UpdatePerId>int</UpdatePerId>
        <Id>int</Id>
        <PersonId>int</PersonId>
        <VacationFactory>double</VacationFactory>
        <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>
        <ExternalShiftId>string</ExternalShiftId>
        <ReqId>long</ReqId>
        <IsParent>boolean</IsParent>
        <ParentId>int</ParentId>
        <StartDateTime>dateTime</StartDateTime>
        <EndDateTime>dateTime</EndDateTime>
        <Day>dateTime</Day>
        <Length>double</Length>
        <CalculatedBreak>double</CalculatedBreak>
        <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>
            <int>int</int>
            <int>int</int>
          </CombinedWith>
          <TimeDefSched>boolean</TimeDefSched>
          <IsBreak>boolean</IsBreak>
          <ArrayOfRuleContract>
            <ActivityRuleContract xsi:nil="true" />
            <ActivityRuleContract xsi:nil="true" />
          </ArrayOfRuleContract>
          <ArrayOfSkill>
            <Skill xsi:nil="true" />
            <Skill xsi:nil="true" />
          </ArrayOfSkill>
          <ArrayOfDayTypeUsable>
            <DayType xsi:nil="true" />
            <DayType xsi:nil="true" />
          </ArrayOfDayTypeUsable>
          <ArrayOfDayTypeCalc>
            <DayType xsi:nil="true" />
            <DayType xsi:nil="true" />
          </ArrayOfDayTypeCalc>
          <ExternalActivityId>string</ExternalActivityId>
          <IsExportable>boolean</IsExportable>
          <Type>string</Type>
          <Reference>string</Reference>
          <CostPlace>string</CostPlace>
        </Activity>
        <ActivityId>int</ActivityId>
        <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>
        <WorkPlaceId>int</WorkPlaceId>
        <ArrayOfChildShift>
          <ChildShift>
            <Id>int</Id>
            <PersonId>int</PersonId>
            <ParentShiftId>int</ParentShiftId>
            <StartDateTime>dateTime</StartDateTime>
            <EndDateTime>dateTime</EndDateTime>
            <Day>dateTime</Day>
            <Length>double</Length>
            <Activity xsi:nil="true" />
            <ActivityId>int</ActivityId>
            <WorkPlaceId>int</WorkPlaceId>
            <UpdatePerId>int</UpdatePerId>
            <UpdateDate>dateTime</UpdateDate>
            <UpdateTypeFlag>Inserted or Updated or Deleted or Unknown or All</UpdateTypeFlag>
            <UpdateUser>string</UpdateUser>
            <ReqId>long</ReqId>
          </ChildShift>
          <ChildShift>
            <Id>int</Id>
            <PersonId>int</PersonId>
            <ParentShiftId>int</ParentShiftId>
            <StartDateTime>dateTime</StartDateTime>
            <EndDateTime>dateTime</EndDateTime>
            <Day>dateTime</Day>
            <Length>double</Length>
            <Activity xsi:nil="true" />
            <ActivityId>int</ActivityId>
            <WorkPlaceId>int</WorkPlaceId>
            <UpdatePerId>int</UpdatePerId>
            <UpdateDate>dateTime</UpdateDate>
            <UpdateTypeFlag>Inserted or Updated or Deleted or Unknown or All</UpdateTypeFlag>
            <UpdateUser>string</UpdateUser>
            <ReqId>long</ReqId>
          </ChildShift>
        </ArrayOfChildShift>
        <ArrayOfWorkBreak>
          <WorkBreak>
            <Id>int</Id>
            <PersonId>int</PersonId>
            <StartDateTime>dateTime</StartDateTime>
            <EndDateTime>dateTime</EndDateTime>
            <Day>dateTime</Day>
            <Length>double</Length>
            <ActivityID>int</ActivityID>
            <WorkPlaceId>int</WorkPlaceId>
            <ParentShiftId>int</ParentShiftId>
          </WorkBreak>
          <WorkBreak>
            <Id>int</Id>
            <PersonId>int</PersonId>
            <StartDateTime>dateTime</StartDateTime>
            <EndDateTime>dateTime</EndDateTime>
            <Day>dateTime</Day>
            <Length>double</Length>
            <ActivityID>int</ActivityID>
            <WorkPlaceId>int</WorkPlaceId>
            <ParentShiftId>int</ParentShiftId>
          </WorkBreak>
        </ArrayOfWorkBreak>
        <Comment>string</Comment>
        <IsBorrowed>boolean</IsBorrowed>
        <EmploymentId>int</EmploymentId>
        <ExternalEmploymentId>string</ExternalEmploymentId>
      </GetPersonWorkShiftsFromWorkPlaceByRefResult>
      <GetPersonWorkShiftsFromWorkPlaceByRefResult>
        <UpdateDate>dateTime</UpdateDate>
        <UpdateTypeFlag>Inserted or Updated or Deleted or Unknown or All</UpdateTypeFlag>
        <UpdateUser>string</UpdateUser>
        <UpdatePerId>int</UpdatePerId>
        <Id>int</Id>
        <PersonId>int</PersonId>
        <VacationFactory>double</VacationFactory>
        <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>
        <ExternalShiftId>string</ExternalShiftId>
        <ReqId>long</ReqId>
        <IsParent>boolean</IsParent>
        <ParentId>int</ParentId>
        <StartDateTime>dateTime</StartDateTime>
        <EndDateTime>dateTime</EndDateTime>
        <Day>dateTime</Day>
        <Length>double</Length>
        <CalculatedBreak>double</CalculatedBreak>
        <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>
            <int>int</int>
            <int>int</int>
          </CombinedWith>
          <TimeDefSched>boolean</TimeDefSched>
          <IsBreak>boolean</IsBreak>
          <ArrayOfRuleContract>
            <ActivityRuleContract xsi:nil="true" />
            <ActivityRuleContract xsi:nil="true" />
          </ArrayOfRuleContract>
          <ArrayOfSkill>
            <Skill xsi:nil="true" />
            <Skill xsi:nil="true" />
          </ArrayOfSkill>
          <ArrayOfDayTypeUsable>
            <DayType xsi:nil="true" />
            <DayType xsi:nil="true" />
          </ArrayOfDayTypeUsable>
          <ArrayOfDayTypeCalc>
            <DayType xsi:nil="true" />
            <DayType xsi:nil="true" />
          </ArrayOfDayTypeCalc>
          <ExternalActivityId>string</ExternalActivityId>
          <IsExportable>boolean</IsExportable>
          <Type>string</Type>
          <Reference>string</Reference>
          <CostPlace>string</CostPlace>
        </Activity>
        <ActivityId>int</ActivityId>
        <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>
        <WorkPlaceId>int</WorkPlaceId>
        <ArrayOfChildShift>
          <ChildShift>
            <Id>int</Id>
            <PersonId>int</PersonId>
            <ParentShiftId>int</ParentShiftId>
            <StartDateTime>dateTime</StartDateTime>
            <EndDateTime>dateTime</EndDateTime>
            <Day>dateTime</Day>
            <Length>double</Length>
            <Activity xsi:nil="true" />
            <ActivityId>int</ActivityId>
            <WorkPlaceId>int</WorkPlaceId>
            <UpdatePerId>int</UpdatePerId>
            <UpdateDate>dateTime</UpdateDate>
            <UpdateTypeFlag>Inserted or Updated or Deleted or Unknown or All</UpdateTypeFlag>
            <UpdateUser>string</UpdateUser>
            <ReqId>long</ReqId>
          </ChildShift>
          <ChildShift>
            <Id>int</Id>
            <PersonId>int</PersonId>
            <ParentShiftId>int</ParentShiftId>
            <StartDateTime>dateTime</StartDateTime>
            <EndDateTime>dateTime</EndDateTime>
            <Day>dateTime</Day>
            <Length>double</Length>
            <Activity xsi:nil="true" />
            <ActivityId>int</ActivityId>
            <WorkPlaceId>int</WorkPlaceId>
            <UpdatePerId>int</UpdatePerId>
            <UpdateDate>dateTime</UpdateDate>
            <UpdateTypeFlag>Inserted or Updated or Deleted or Unknown or All</UpdateTypeFlag>
            <UpdateUser>string</UpdateUser>
            <ReqId>long</ReqId>
          </ChildShift>
        </ArrayOfChildShift>
        <ArrayOfWorkBreak>
          <WorkBreak>
            <Id>int</Id>
            <PersonId>int</PersonId>
            <StartDateTime>dateTime</StartDateTime>
            <EndDateTime>dateTime</EndDateTime>
            <Day>dateTime</Day>
            <Length>double</Length>
            <ActivityID>int</ActivityID>
            <WorkPlaceId>int</WorkPlaceId>
            <ParentShiftId>int</ParentShiftId>
          </WorkBreak>
          <WorkBreak>
            <Id>int</Id>
            <PersonId>int</PersonId>
            <StartDateTime>dateTime</StartDateTime>
            <EndDateTime>dateTime</EndDateTime>
            <Day>dateTime</Day>
            <Length>double</Length>
            <ActivityID>int</ActivityID>
            <WorkPlaceId>int</WorkPlaceId>
            <ParentShiftId>int</ParentShiftId>
          </WorkBreak>
        </ArrayOfWorkBreak>
        <Comment>string</Comment>
        <IsBorrowed>boolean</IsBorrowed>
        <EmploymentId>int</EmploymentId>
        <ExternalEmploymentId>string</ExternalEmploymentId>
      </GetPersonWorkShiftsFromWorkPlaceByRefResult>
    </GetPersonWorkShiftsFromWorkPlaceByRefResponse>
  </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/workshiftservice.asmx/GetPersonWorkShiftsFromWorkPlaceByRef?intIntegrationId=string&intPerId=string&intWorkPlaceId=string&dtmStartDate=string&dtmEndDate=string&ignoreIsExportable=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"?>
<ArrayOfWorkShift xmlns="http://www.timecare.se/">
  <WorkShift>
    <UpdateDate>dateTime</UpdateDate>
    <UpdateTypeFlag>Inserted or Updated or Deleted or Unknown or All</UpdateTypeFlag>
    <UpdateUser>string</UpdateUser>
    <UpdatePerId>int</UpdatePerId>
    <Id>int</Id>
    <PersonId>int</PersonId>
    <VacationFactory>double</VacationFactory>
    <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 d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <PerIntSettings d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </ArrayOfPerIntSettings>
      <ArrayOfEmployment>
        <Employment d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <Employment d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </ArrayOfEmployment>
      <ArrayOfRuleContract>
        <PersonRuleContract d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <PersonRuleContract d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </ArrayOfRuleContract>
      <ArrayOfSkill>
        <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" />
      </ArrayOfSkill>
      <ArrayOfWorkLimit>
        <WorkLimit d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <WorkLimit d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </ArrayOfWorkLimit>
      <ArrayOfPersonBonusContract>
        <PersonBonusContract d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <PersonBonusContract d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </ArrayOfPersonBonusContract>
      <ArrayOfActivity>
        <Activity d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <Activity d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </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>
    <ExternalShiftId>string</ExternalShiftId>
    <ReqId>long</ReqId>
    <IsParent>boolean</IsParent>
    <ParentId>int</ParentId>
    <StartDateTime>dateTime</StartDateTime>
    <EndDateTime>dateTime</EndDateTime>
    <Day>dateTime</Day>
    <Length>double</Length>
    <CalculatedBreak>double</CalculatedBreak>
    <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>
        <int>int</int>
        <int>int</int>
      </CombinedWith>
      <TimeDefSched>boolean</TimeDefSched>
      <IsBreak>boolean</IsBreak>
      <ArrayOfRuleContract>
        <ActivityRuleContract d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <ActivityRuleContract d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </ArrayOfRuleContract>
      <ArrayOfSkill>
        <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" />
      </ArrayOfSkill>
      <ArrayOfDayTypeUsable>
        <DayType d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <DayType d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </ArrayOfDayTypeUsable>
      <ArrayOfDayTypeCalc>
        <DayType d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <DayType d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </ArrayOfDayTypeCalc>
      <ExternalActivityId>string</ExternalActivityId>
      <IsExportable>boolean</IsExportable>
      <Type>string</Type>
      <Reference>string</Reference>
      <CostPlace>string</CostPlace>
    </Activity>
    <ActivityId>int</ActivityId>
    <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 d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <DayType d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </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 d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" 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>
    <WorkPlaceId>int</WorkPlaceId>
    <ArrayOfChildShift>
      <ChildShift>
        <Id>int</Id>
        <PersonId>int</PersonId>
        <ParentShiftId>int</ParentShiftId>
        <StartDateTime>dateTime</StartDateTime>
        <EndDateTime>dateTime</EndDateTime>
        <Day>dateTime</Day>
        <Length>double</Length>
        <Activity d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <ActivityId>int</ActivityId>
        <WorkPlaceId>int</WorkPlaceId>
        <UpdatePerId>int</UpdatePerId>
        <UpdateDate>dateTime</UpdateDate>
        <UpdateTypeFlag>Inserted or Updated or Deleted or Unknown or All</UpdateTypeFlag>
        <UpdateUser>string</UpdateUser>
        <ReqId>long</ReqId>
      </ChildShift>
      <ChildShift>
        <Id>int</Id>
        <PersonId>int</PersonId>
        <ParentShiftId>int</ParentShiftId>
        <StartDateTime>dateTime</StartDateTime>
        <EndDateTime>dateTime</EndDateTime>
        <Day>dateTime</Day>
        <Length>double</Length>
        <Activity d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <ActivityId>int</ActivityId>
        <WorkPlaceId>int</WorkPlaceId>
        <UpdatePerId>int</UpdatePerId>
        <UpdateDate>dateTime</UpdateDate>
        <UpdateTypeFlag>Inserted or Updated or Deleted or Unknown or All</UpdateTypeFlag>
        <UpdateUser>string</UpdateUser>
        <ReqId>long</ReqId>
      </ChildShift>
    </ArrayOfChildShift>
    <ArrayOfWorkBreak>
      <WorkBreak>
        <Id>int</Id>
        <PersonId>int</PersonId>
        <StartDateTime>dateTime</StartDateTime>
        <EndDateTime>dateTime</EndDateTime>
        <Day>dateTime</Day>
        <Length>double</Length>
        <ActivityID>int</ActivityID>
        <WorkPlaceId>int</WorkPlaceId>
        <ParentShiftId>int</ParentShiftId>
      </WorkBreak>
      <WorkBreak>
        <Id>int</Id>
        <PersonId>int</PersonId>
        <StartDateTime>dateTime</StartDateTime>
        <EndDateTime>dateTime</EndDateTime>
        <Day>dateTime</Day>
        <Length>double</Length>
        <ActivityID>int</ActivityID>
        <WorkPlaceId>int</WorkPlaceId>
        <ParentShiftId>int</ParentShiftId>
      </WorkBreak>
    </ArrayOfWorkBreak>
    <Comment>string</Comment>
    <IsBorrowed>boolean</IsBorrowed>
    <EmploymentId>int</EmploymentId>
    <ExternalEmploymentId>string</ExternalEmploymentId>
  </WorkShift>
  <WorkShift>
    <UpdateDate>dateTime</UpdateDate>
    <UpdateTypeFlag>Inserted or Updated or Deleted or Unknown or All</UpdateTypeFlag>
    <UpdateUser>string</UpdateUser>
    <UpdatePerId>int</UpdatePerId>
    <Id>int</Id>
    <PersonId>int</PersonId>
    <VacationFactory>double</VacationFactory>
    <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 d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <PerIntSettings d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </ArrayOfPerIntSettings>
      <ArrayOfEmployment>
        <Employment d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <Employment d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </ArrayOfEmployment>
      <ArrayOfRuleContract>
        <PersonRuleContract d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <PersonRuleContract d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </ArrayOfRuleContract>
      <ArrayOfSkill>
        <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" />
      </ArrayOfSkill>
      <ArrayOfWorkLimit>
        <WorkLimit d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <WorkLimit d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </ArrayOfWorkLimit>
      <ArrayOfPersonBonusContract>
        <PersonBonusContract d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <PersonBonusContract d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </ArrayOfPersonBonusContract>
      <ArrayOfActivity>
        <Activity d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <Activity d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </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>
    <ExternalShiftId>string</ExternalShiftId>
    <ReqId>long</ReqId>
    <IsParent>boolean</IsParent>
    <ParentId>int</ParentId>
    <StartDateTime>dateTime</StartDateTime>
    <EndDateTime>dateTime</EndDateTime>
    <Day>dateTime</Day>
    <Length>double</Length>
    <CalculatedBreak>double</CalculatedBreak>
    <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>
        <int>int</int>
        <int>int</int>
      </CombinedWith>
      <TimeDefSched>boolean</TimeDefSched>
      <IsBreak>boolean</IsBreak>
      <ArrayOfRuleContract>
        <ActivityRuleContract d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <ActivityRuleContract d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </ArrayOfRuleContract>
      <ArrayOfSkill>
        <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" />
      </ArrayOfSkill>
      <ArrayOfDayTypeUsable>
        <DayType d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <DayType d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </ArrayOfDayTypeUsable>
      <ArrayOfDayTypeCalc>
        <DayType d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <DayType d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </ArrayOfDayTypeCalc>
      <ExternalActivityId>string</ExternalActivityId>
      <IsExportable>boolean</IsExportable>
      <Type>string</Type>
      <Reference>string</Reference>
      <CostPlace>string</CostPlace>
    </Activity>
    <ActivityId>int</ActivityId>
    <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 d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <DayType d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </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 d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" 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>
    <WorkPlaceId>int</WorkPlaceId>
    <ArrayOfChildShift>
      <ChildShift>
        <Id>int</Id>
        <PersonId>int</PersonId>
        <ParentShiftId>int</ParentShiftId>
        <StartDateTime>dateTime</StartDateTime>
        <EndDateTime>dateTime</EndDateTime>
        <Day>dateTime</Day>
        <Length>double</Length>
        <Activity d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <ActivityId>int</ActivityId>
        <WorkPlaceId>int</WorkPlaceId>
        <UpdatePerId>int</UpdatePerId>
        <UpdateDate>dateTime</UpdateDate>
        <UpdateTypeFlag>Inserted or Updated or Deleted or Unknown or All</UpdateTypeFlag>
        <UpdateUser>string</UpdateUser>
        <ReqId>long</ReqId>
      </ChildShift>
      <ChildShift>
        <Id>int</Id>
        <PersonId>int</PersonId>
        <ParentShiftId>int</ParentShiftId>
        <StartDateTime>dateTime</StartDateTime>
        <EndDateTime>dateTime</EndDateTime>
        <Day>dateTime</Day>
        <Length>double</Length>
        <Activity d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <ActivityId>int</ActivityId>
        <WorkPlaceId>int</WorkPlaceId>
        <UpdatePerId>int</UpdatePerId>
        <UpdateDate>dateTime</UpdateDate>
        <UpdateTypeFlag>Inserted or Updated or Deleted or Unknown or All</UpdateTypeFlag>
        <UpdateUser>string</UpdateUser>
        <ReqId>long</ReqId>
      </ChildShift>
    </ArrayOfChildShift>
    <ArrayOfWorkBreak>
      <WorkBreak>
        <Id>int</Id>
        <PersonId>int</PersonId>
        <StartDateTime>dateTime</StartDateTime>
        <EndDateTime>dateTime</EndDateTime>
        <Day>dateTime</Day>
        <Length>double</Length>
        <ActivityID>int</ActivityID>
        <WorkPlaceId>int</WorkPlaceId>
        <ParentShiftId>int</ParentShiftId>
      </WorkBreak>
      <WorkBreak>
        <Id>int</Id>
        <PersonId>int</PersonId>
        <StartDateTime>dateTime</StartDateTime>
        <EndDateTime>dateTime</EndDateTime>
        <Day>dateTime</Day>
        <Length>double</Length>
        <ActivityID>int</ActivityID>
        <WorkPlaceId>int</WorkPlaceId>
        <ParentShiftId>int</ParentShiftId>
      </WorkBreak>
    </ArrayOfWorkBreak>
    <Comment>string</Comment>
    <IsBorrowed>boolean</IsBorrowed>
    <EmploymentId>int</EmploymentId>
    <ExternalEmploymentId>string</ExternalEmploymentId>
  </WorkShift>
</ArrayOfWorkShift>

HTTP POST

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

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

intIntegrationId=string&intPerId=string&intWorkPlaceId=string&dtmStartDate=string&dtmEndDate=string&ignoreIsExportable=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"?>
<ArrayOfWorkShift xmlns="http://www.timecare.se/">
  <WorkShift>
    <UpdateDate>dateTime</UpdateDate>
    <UpdateTypeFlag>Inserted or Updated or Deleted or Unknown or All</UpdateTypeFlag>
    <UpdateUser>string</UpdateUser>
    <UpdatePerId>int</UpdatePerId>
    <Id>int</Id>
    <PersonId>int</PersonId>
    <VacationFactory>double</VacationFactory>
    <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 d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <PerIntSettings d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </ArrayOfPerIntSettings>
      <ArrayOfEmployment>
        <Employment d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <Employment d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </ArrayOfEmployment>
      <ArrayOfRuleContract>
        <PersonRuleContract d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <PersonRuleContract d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </ArrayOfRuleContract>
      <ArrayOfSkill>
        <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" />
      </ArrayOfSkill>
      <ArrayOfWorkLimit>
        <WorkLimit d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <WorkLimit d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </ArrayOfWorkLimit>
      <ArrayOfPersonBonusContract>
        <PersonBonusContract d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <PersonBonusContract d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </ArrayOfPersonBonusContract>
      <ArrayOfActivity>
        <Activity d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <Activity d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </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>
    <ExternalShiftId>string</ExternalShiftId>
    <ReqId>long</ReqId>
    <IsParent>boolean</IsParent>
    <ParentId>int</ParentId>
    <StartDateTime>dateTime</StartDateTime>
    <EndDateTime>dateTime</EndDateTime>
    <Day>dateTime</Day>
    <Length>double</Length>
    <CalculatedBreak>double</CalculatedBreak>
    <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>
        <int>int</int>
        <int>int</int>
      </CombinedWith>
      <TimeDefSched>boolean</TimeDefSched>
      <IsBreak>boolean</IsBreak>
      <ArrayOfRuleContract>
        <ActivityRuleContract d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <ActivityRuleContract d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </ArrayOfRuleContract>
      <ArrayOfSkill>
        <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" />
      </ArrayOfSkill>
      <ArrayOfDayTypeUsable>
        <DayType d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <DayType d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </ArrayOfDayTypeUsable>
      <ArrayOfDayTypeCalc>
        <DayType d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <DayType d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </ArrayOfDayTypeCalc>
      <ExternalActivityId>string</ExternalActivityId>
      <IsExportable>boolean</IsExportable>
      <Type>string</Type>
      <Reference>string</Reference>
      <CostPlace>string</CostPlace>
    </Activity>
    <ActivityId>int</ActivityId>
    <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 d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <DayType d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </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 d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" 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>
    <WorkPlaceId>int</WorkPlaceId>
    <ArrayOfChildShift>
      <ChildShift>
        <Id>int</Id>
        <PersonId>int</PersonId>
        <ParentShiftId>int</ParentShiftId>
        <StartDateTime>dateTime</StartDateTime>
        <EndDateTime>dateTime</EndDateTime>
        <Day>dateTime</Day>
        <Length>double</Length>
        <Activity d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <ActivityId>int</ActivityId>
        <WorkPlaceId>int</WorkPlaceId>
        <UpdatePerId>int</UpdatePerId>
        <UpdateDate>dateTime</UpdateDate>
        <UpdateTypeFlag>Inserted or Updated or Deleted or Unknown or All</UpdateTypeFlag>
        <UpdateUser>string</UpdateUser>
        <ReqId>long</ReqId>
      </ChildShift>
      <ChildShift>
        <Id>int</Id>
        <PersonId>int</PersonId>
        <ParentShiftId>int</ParentShiftId>
        <StartDateTime>dateTime</StartDateTime>
        <EndDateTime>dateTime</EndDateTime>
        <Day>dateTime</Day>
        <Length>double</Length>
        <Activity d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <ActivityId>int</ActivityId>
        <WorkPlaceId>int</WorkPlaceId>
        <UpdatePerId>int</UpdatePerId>
        <UpdateDate>dateTime</UpdateDate>
        <UpdateTypeFlag>Inserted or Updated or Deleted or Unknown or All</UpdateTypeFlag>
        <UpdateUser>string</UpdateUser>
        <ReqId>long</ReqId>
      </ChildShift>
    </ArrayOfChildShift>
    <ArrayOfWorkBreak>
      <WorkBreak>
        <Id>int</Id>
        <PersonId>int</PersonId>
        <StartDateTime>dateTime</StartDateTime>
        <EndDateTime>dateTime</EndDateTime>
        <Day>dateTime</Day>
        <Length>double</Length>
        <ActivityID>int</ActivityID>
        <WorkPlaceId>int</WorkPlaceId>
        <ParentShiftId>int</ParentShiftId>
      </WorkBreak>
      <WorkBreak>
        <Id>int</Id>
        <PersonId>int</PersonId>
        <StartDateTime>dateTime</StartDateTime>
        <EndDateTime>dateTime</EndDateTime>
        <Day>dateTime</Day>
        <Length>double</Length>
        <ActivityID>int</ActivityID>
        <WorkPlaceId>int</WorkPlaceId>
        <ParentShiftId>int</ParentShiftId>
      </WorkBreak>
    </ArrayOfWorkBreak>
    <Comment>string</Comment>
    <IsBorrowed>boolean</IsBorrowed>
    <EmploymentId>int</EmploymentId>
    <ExternalEmploymentId>string</ExternalEmploymentId>
  </WorkShift>
  <WorkShift>
    <UpdateDate>dateTime</UpdateDate>
    <UpdateTypeFlag>Inserted or Updated or Deleted or Unknown or All</UpdateTypeFlag>
    <UpdateUser>string</UpdateUser>
    <UpdatePerId>int</UpdatePerId>
    <Id>int</Id>
    <PersonId>int</PersonId>
    <VacationFactory>double</VacationFactory>
    <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 d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <PerIntSettings d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </ArrayOfPerIntSettings>
      <ArrayOfEmployment>
        <Employment d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <Employment d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </ArrayOfEmployment>
      <ArrayOfRuleContract>
        <PersonRuleContract d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <PersonRuleContract d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </ArrayOfRuleContract>
      <ArrayOfSkill>
        <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" />
      </ArrayOfSkill>
      <ArrayOfWorkLimit>
        <WorkLimit d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <WorkLimit d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </ArrayOfWorkLimit>
      <ArrayOfPersonBonusContract>
        <PersonBonusContract d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <PersonBonusContract d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </ArrayOfPersonBonusContract>
      <ArrayOfActivity>
        <Activity d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <Activity d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </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>
    <ExternalShiftId>string</ExternalShiftId>
    <ReqId>long</ReqId>
    <IsParent>boolean</IsParent>
    <ParentId>int</ParentId>
    <StartDateTime>dateTime</StartDateTime>
    <EndDateTime>dateTime</EndDateTime>
    <Day>dateTime</Day>
    <Length>double</Length>
    <CalculatedBreak>double</CalculatedBreak>
    <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>
        <int>int</int>
        <int>int</int>
      </CombinedWith>
      <TimeDefSched>boolean</TimeDefSched>
      <IsBreak>boolean</IsBreak>
      <ArrayOfRuleContract>
        <ActivityRuleContract d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <ActivityRuleContract d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </ArrayOfRuleContract>
      <ArrayOfSkill>
        <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" />
      </ArrayOfSkill>
      <ArrayOfDayTypeUsable>
        <DayType d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <DayType d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </ArrayOfDayTypeUsable>
      <ArrayOfDayTypeCalc>
        <DayType d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <DayType d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </ArrayOfDayTypeCalc>
      <ExternalActivityId>string</ExternalActivityId>
      <IsExportable>boolean</IsExportable>
      <Type>string</Type>
      <Reference>string</Reference>
      <CostPlace>string</CostPlace>
    </Activity>
    <ActivityId>int</ActivityId>
    <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 d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <DayType d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </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 d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" 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>
    <WorkPlaceId>int</WorkPlaceId>
    <ArrayOfChildShift>
      <ChildShift>
        <Id>int</Id>
        <PersonId>int</PersonId>
        <ParentShiftId>int</ParentShiftId>
        <StartDateTime>dateTime</StartDateTime>
        <EndDateTime>dateTime</EndDateTime>
        <Day>dateTime</Day>
        <Length>double</Length>
        <Activity d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <ActivityId>int</ActivityId>
        <WorkPlaceId>int</WorkPlaceId>
        <UpdatePerId>int</UpdatePerId>
        <UpdateDate>dateTime</UpdateDate>
        <UpdateTypeFlag>Inserted or Updated or Deleted or Unknown or All</UpdateTypeFlag>
        <UpdateUser>string</UpdateUser>
        <ReqId>long</ReqId>
      </ChildShift>
      <ChildShift>
        <Id>int</Id>
        <PersonId>int</PersonId>
        <ParentShiftId>int</ParentShiftId>
        <StartDateTime>dateTime</StartDateTime>
        <EndDateTime>dateTime</EndDateTime>
        <Day>dateTime</Day>
        <Length>double</Length>
        <Activity d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <ActivityId>int</ActivityId>
        <WorkPlaceId>int</WorkPlaceId>
        <UpdatePerId>int</UpdatePerId>
        <UpdateDate>dateTime</UpdateDate>
        <UpdateTypeFlag>Inserted or Updated or Deleted or Unknown or All</UpdateTypeFlag>
        <UpdateUser>string</UpdateUser>
        <ReqId>long</ReqId>
      </ChildShift>
    </ArrayOfChildShift>
    <ArrayOfWorkBreak>
      <WorkBreak>
        <Id>int</Id>
        <PersonId>int</PersonId>
        <StartDateTime>dateTime</StartDateTime>
        <EndDateTime>dateTime</EndDateTime>
        <Day>dateTime</Day>
        <Length>double</Length>
        <ActivityID>int</ActivityID>
        <WorkPlaceId>int</WorkPlaceId>
        <ParentShiftId>int</ParentShiftId>
      </WorkBreak>
      <WorkBreak>
        <Id>int</Id>
        <PersonId>int</PersonId>
        <StartDateTime>dateTime</StartDateTime>
        <EndDateTime>dateTime</EndDateTime>
        <Day>dateTime</Day>
        <Length>double</Length>
        <ActivityID>int</ActivityID>
        <WorkPlaceId>int</WorkPlaceId>
        <ParentShiftId>int</ParentShiftId>
      </WorkBreak>
    </ArrayOfWorkBreak>
    <Comment>string</Comment>
    <IsBorrowed>boolean</IsBorrowed>
    <EmploymentId>int</EmploymentId>
    <ExternalEmploymentId>string</ExternalEmploymentId>
  </WorkShift>
</ArrayOfWorkShift>