WorkShiftService


Click here for a complete list of operations.

CreateWorkShiftsById

create a collection of shift in TimeCare, returns a errorcollection of shift that did not create

Test

The test form is only available for requests from the local machine.

SOAP 1.1

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

POST /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/CreateWorkShiftsById"

<?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>
    <CreateWorkShiftsById xmlns="http://www.timecare.se/">
      <intIntegrationId>int</intIntegrationId>
      <itemColl>
        <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 xsi:nil="true" />
            <ArrayOfPerIntSettings xsi:nil="true" />
            <ArrayOfEmployment xsi:nil="true" />
            <ArrayOfRuleContract xsi:nil="true" />
            <ArrayOfSkill xsi:nil="true" />
            <ArrayOfWorkLimit xsi:nil="true" />
            <ArrayOfPersonBonusContract xsi:nil="true" />
            <ArrayOfActivity xsi:nil="true" />
            <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>
          <IsParent>boolean</IsParent>
          <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 xsi:nil="true" />
            <TimeDefSched>boolean</TimeDefSched>
            <IsBreak>boolean</IsBreak>
            <ArrayOfRuleContract xsi:nil="true" />
            <ArrayOfSkill xsi:nil="true" />
            <ArrayOfDayTypeUsable xsi:nil="true" />
            <ArrayOfDayTypeCalc xsi:nil="true" />
            <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 xsi:nil="true" />
            <ParentWorkPlaceName>string</ParentWorkPlaceName>
            <PathName>string</PathName>
            <ContractId>int</ContractId>
            <Contract xsi:nil="true" />
            <ExternalNodeId>string</ExternalNodeId>
            <IsExportable>boolean</IsExportable>
            <Reference>string</Reference>
            <CostPlace>string</CostPlace>
          </WorkPlace>
          <WorkPlaceId>int</WorkPlaceId>
          <ArrayOfChildShift>
            <ChildShift xsi:nil="true" />
            <ChildShift xsi:nil="true" />
          </ArrayOfChildShift>
          <ArrayOfWorkBreak>
            <WorkBreak xsi:nil="true" />
            <WorkBreak xsi:nil="true" />
          </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 xsi:nil="true" />
            <ArrayOfPerIntSettings xsi:nil="true" />
            <ArrayOfEmployment xsi:nil="true" />
            <ArrayOfRuleContract xsi:nil="true" />
            <ArrayOfSkill xsi:nil="true" />
            <ArrayOfWorkLimit xsi:nil="true" />
            <ArrayOfPersonBonusContract xsi:nil="true" />
            <ArrayOfActivity xsi:nil="true" />
            <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>
          <IsParent>boolean</IsParent>
          <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 xsi:nil="true" />
            <TimeDefSched>boolean</TimeDefSched>
            <IsBreak>boolean</IsBreak>
            <ArrayOfRuleContract xsi:nil="true" />
            <ArrayOfSkill xsi:nil="true" />
            <ArrayOfDayTypeUsable xsi:nil="true" />
            <ArrayOfDayTypeCalc xsi:nil="true" />
            <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 xsi:nil="true" />
            <ParentWorkPlaceName>string</ParentWorkPlaceName>
            <PathName>string</PathName>
            <ContractId>int</ContractId>
            <Contract xsi:nil="true" />
            <ExternalNodeId>string</ExternalNodeId>
            <IsExportable>boolean</IsExportable>
            <Reference>string</Reference>
            <CostPlace>string</CostPlace>
          </WorkPlace>
          <WorkPlaceId>int</WorkPlaceId>
          <ArrayOfChildShift>
            <ChildShift xsi:nil="true" />
            <ChildShift xsi:nil="true" />
          </ArrayOfChildShift>
          <ArrayOfWorkBreak>
            <WorkBreak xsi:nil="true" />
            <WorkBreak xsi:nil="true" />
          </ArrayOfWorkBreak>
          <Comment>string</Comment>
          <IsBorrowed>boolean</IsBorrowed>
          <EmploymentId>int</EmploymentId>
          <ExternalEmploymentId>string</ExternalEmploymentId>
        </WorkShift>
      </itemColl>
    </CreateWorkShiftsById>
  </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>
    <CreateWorkShiftsByIdResponse xmlns="http://www.timecare.se/">
      <CreateWorkShiftsByIdResult>
        <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 xsi:nil="true" />
            <ArrayOfPerIntSettings xsi:nil="true" />
            <ArrayOfEmployment xsi:nil="true" />
            <ArrayOfRuleContract xsi:nil="true" />
            <ArrayOfSkill xsi:nil="true" />
            <ArrayOfWorkLimit xsi:nil="true" />
            <ArrayOfPersonBonusContract xsi:nil="true" />
            <ArrayOfActivity xsi:nil="true" />
            <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>
          <IsParent>boolean</IsParent>
          <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 xsi:nil="true" />
            <TimeDefSched>boolean</TimeDefSched>
            <IsBreak>boolean</IsBreak>
            <ArrayOfRuleContract xsi:nil="true" />
            <ArrayOfSkill xsi:nil="true" />
            <ArrayOfDayTypeUsable xsi:nil="true" />
            <ArrayOfDayTypeCalc xsi:nil="true" />
            <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 xsi:nil="true" />
            <ParentWorkPlaceName>string</ParentWorkPlaceName>
            <PathName>string</PathName>
            <ContractId>int</ContractId>
            <Contract xsi:nil="true" />
            <ExternalNodeId>string</ExternalNodeId>
            <IsExportable>boolean</IsExportable>
            <Reference>string</Reference>
            <CostPlace>string</CostPlace>
          </WorkPlace>
          <WorkPlaceId>int</WorkPlaceId>
          <ArrayOfChildShift>
            <ChildShift xsi:nil="true" />
            <ChildShift xsi:nil="true" />
          </ArrayOfChildShift>
          <ArrayOfWorkBreak>
            <WorkBreak xsi:nil="true" />
            <WorkBreak xsi:nil="true" />
          </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 xsi:nil="true" />
            <ArrayOfPerIntSettings xsi:nil="true" />
            <ArrayOfEmployment xsi:nil="true" />
            <ArrayOfRuleContract xsi:nil="true" />
            <ArrayOfSkill xsi:nil="true" />
            <ArrayOfWorkLimit xsi:nil="true" />
            <ArrayOfPersonBonusContract xsi:nil="true" />
            <ArrayOfActivity xsi:nil="true" />
            <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>
          <IsParent>boolean</IsParent>
          <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 xsi:nil="true" />
            <TimeDefSched>boolean</TimeDefSched>
            <IsBreak>boolean</IsBreak>
            <ArrayOfRuleContract xsi:nil="true" />
            <ArrayOfSkill xsi:nil="true" />
            <ArrayOfDayTypeUsable xsi:nil="true" />
            <ArrayOfDayTypeCalc xsi:nil="true" />
            <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 xsi:nil="true" />
            <ParentWorkPlaceName>string</ParentWorkPlaceName>
            <PathName>string</PathName>
            <ContractId>int</ContractId>
            <Contract xsi:nil="true" />
            <ExternalNodeId>string</ExternalNodeId>
            <IsExportable>boolean</IsExportable>
            <Reference>string</Reference>
            <CostPlace>string</CostPlace>
          </WorkPlace>
          <WorkPlaceId>int</WorkPlaceId>
          <ArrayOfChildShift>
            <ChildShift xsi:nil="true" />
            <ChildShift xsi:nil="true" />
          </ArrayOfChildShift>
          <ArrayOfWorkBreak>
            <WorkBreak xsi:nil="true" />
            <WorkBreak xsi:nil="true" />
          </ArrayOfWorkBreak>
          <Comment>string</Comment>
          <IsBorrowed>boolean</IsBorrowed>
          <EmploymentId>int</EmploymentId>
          <ExternalEmploymentId>string</ExternalEmploymentId>
        </WorkShift>
      </CreateWorkShiftsByIdResult>
    </CreateWorkShiftsByIdResponse>
  </soap:Body>
</soap:Envelope>