BonusService


Click here for a complete list of operations.

GetBonusTemplates

Get all BonusTemplates in TimeCare

Test

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

<?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>
    <GetBonusTemplates xmlns="http://www.timecare.se/">
      <intIntegrationId>int</intIntegrationId>
      <includeRelatedInfo>boolean</includeRelatedInfo>
    </GetBonusTemplates>
  </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>
    <GetBonusTemplatesResponse xmlns="http://www.timecare.se/">
      <GetBonusTemplatesResult>
        <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>
        <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>
            <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>
          </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>
          </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>
      </GetBonusTemplatesResult>
      <GetBonusTemplatesResult>
        <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>
        <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>
            <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>
          </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>
          </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>
      </GetBonusTemplatesResult>
    </GetBonusTemplatesResponse>
  </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/bonusservice.asmx/GetBonusTemplates?intIntegrationId=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"?>
<ArrayOfBonusTemplate xmlns="http://www.timecare.se/">
  <BonusTemplate>
    <Id>int</Id>
    <ArrayOfLine>
      <Line>
        <Id>int</Id>
        <Tag>string</Tag>
        <LineType>None or ActionType or Skill or MinStaff or MaxStaff or KeyP or ActivityReferenceType or Budget or HourValue or BonusTemplateTime or BonusTemplateMoney or BonusTemplatePercent or Custom</LineType>
        <WorkPlaceId>int</WorkPlaceId>
        <ArrayOfValue d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </Line>
      <Line>
        <Id>int</Id>
        <Tag>string</Tag>
        <LineType>None or ActionType or Skill or MinStaff or MaxStaff or KeyP or ActivityReferenceType or Budget or HourValue or BonusTemplateTime or BonusTemplateMoney or BonusTemplatePercent or Custom</LineType>
        <WorkPlaceId>int</WorkPlaceId>
        <ArrayOfValue d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </Line>
    </ArrayOfLine>
    <Name>string</Name>
    <Category>string</Category>
    <Active>boolean</Active>
  </BonusTemplate>
  <BonusTemplate>
    <Id>int</Id>
    <ArrayOfLine>
      <Line>
        <Id>int</Id>
        <Tag>string</Tag>
        <LineType>None or ActionType or Skill or MinStaff or MaxStaff or KeyP or ActivityReferenceType or Budget or HourValue or BonusTemplateTime or BonusTemplateMoney or BonusTemplatePercent or Custom</LineType>
        <WorkPlaceId>int</WorkPlaceId>
        <ArrayOfValue d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </Line>
      <Line>
        <Id>int</Id>
        <Tag>string</Tag>
        <LineType>None or ActionType or Skill or MinStaff or MaxStaff or KeyP or ActivityReferenceType or Budget or HourValue or BonusTemplateTime or BonusTemplateMoney or BonusTemplatePercent or Custom</LineType>
        <WorkPlaceId>int</WorkPlaceId>
        <ArrayOfValue d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </Line>
    </ArrayOfLine>
    <Name>string</Name>
    <Category>string</Category>
    <Active>boolean</Active>
  </BonusTemplate>
</ArrayOfBonusTemplate>

HTTP POST

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

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

intIntegrationId=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"?>
<ArrayOfBonusTemplate xmlns="http://www.timecare.se/">
  <BonusTemplate>
    <Id>int</Id>
    <ArrayOfLine>
      <Line>
        <Id>int</Id>
        <Tag>string</Tag>
        <LineType>None or ActionType or Skill or MinStaff or MaxStaff or KeyP or ActivityReferenceType or Budget or HourValue or BonusTemplateTime or BonusTemplateMoney or BonusTemplatePercent or Custom</LineType>
        <WorkPlaceId>int</WorkPlaceId>
        <ArrayOfValue d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </Line>
      <Line>
        <Id>int</Id>
        <Tag>string</Tag>
        <LineType>None or ActionType or Skill or MinStaff or MaxStaff or KeyP or ActivityReferenceType or Budget or HourValue or BonusTemplateTime or BonusTemplateMoney or BonusTemplatePercent or Custom</LineType>
        <WorkPlaceId>int</WorkPlaceId>
        <ArrayOfValue d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </Line>
    </ArrayOfLine>
    <Name>string</Name>
    <Category>string</Category>
    <Active>boolean</Active>
  </BonusTemplate>
  <BonusTemplate>
    <Id>int</Id>
    <ArrayOfLine>
      <Line>
        <Id>int</Id>
        <Tag>string</Tag>
        <LineType>None or ActionType or Skill or MinStaff or MaxStaff or KeyP or ActivityReferenceType or Budget or HourValue or BonusTemplateTime or BonusTemplateMoney or BonusTemplatePercent or Custom</LineType>
        <WorkPlaceId>int</WorkPlaceId>
        <ArrayOfValue d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </Line>
      <Line>
        <Id>int</Id>
        <Tag>string</Tag>
        <LineType>None or ActionType or Skill or MinStaff or MaxStaff or KeyP or ActivityReferenceType or Budget or HourValue or BonusTemplateTime or BonusTemplateMoney or BonusTemplatePercent or Custom</LineType>
        <WorkPlaceId>int</WorkPlaceId>
        <ArrayOfValue d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </Line>
    </ArrayOfLine>
    <Name>string</Name>
    <Category>string</Category>
    <Active>boolean</Active>
  </BonusTemplate>
</ArrayOfBonusTemplate>