Example

The following example shows the XML format of the timesheet record that is passed to the Web method.

The bold section of text beginning with <tkUnitDetail> in the example applies only if there is unit data. The text section that follows the bolded section and starts with <tkBreakTime> applies only if there is break time data.

 <ROOT>
  <tkMaster>
    <ROW>
      <Employee>0A0001</Employee>
      <EndDate>2013-09-30T00:00:00.000</EndDate>
      <Submitted>N</Submitted>
      <Selected>N</Selected>
      <SubmittedBy>001031</SubmittedBy>
      <ApprovedBy/>
      <TKGroup/>
<EmployeeCompany>0A</EmployeeCompany>
    </ROW>
  </tkMaster>
  <tkDetail>
    <EndDate>2013-09-30T00:00:00-07:00</EndDate>
    <Employee>0A0001</Employee>
    <Seq>4</Seq>
    <TransDate>2013-09-16T00:00:00-07:00</TransDate>
    <Category/>
    <WBS1>00BUDGET.002</WBS1>
    <WBS2>000W</WBS2>
    <WBS3 xml:space="preserve"/>
    <LaborCode>R4:00V:0W</LaborCode>
    <RegHrs>1.5000</RegHrs>
    <OvtHrs>0.0000</OvtHrs>
    <SpecialOvtHrs>0.0000</SpecialOvtHrs>
    <BillCategory>14</BillCategory>
    <Locale>MA</Locale>
    <RegAmt>0.0000</RegAmt>
    <OvtAmt>0.0000</OvtAmt>
    <SpecialOvtAmt>0.0000</SpecialOvtAmt>
    <RegAmtProjectCurrency>0.0000</RegAmtProjectCurrency>
    <OvtAmtProjectCurrency>0.0000</OvtAmtProjectCurrency>
    <SpecialOvtAmtProjectCurrency>0.0000</SpecialOvtAmtProjectCurrency>
    <BillExt>0.0000</BillExt>
    <OvtPct>0.0000</OvtPct>
    <SpecialOvtPct>0.0000</SpecialOvtPct>
    <Rate>0.0000</Rate>
    <OvtRate>0.0000</OvtRate>
    <SpecialOvtRate>0.0000</SpecialOvtRate>
    <RateProjectCurrency>0.0000</RateProjectCurrency>
    <OvtRateProjectCurrency>0.0000</OvtRateProjectCurrency>
    <SpecialOvtRateProjectCurrency>0.0000</SpecialOvtRateProjectCurrency>
    <StartDateTime>2013-09-16T10:30:00-07:00</StartDateTime>
    <EndDateTime>2013-09-16T12:00:00-07:00</EndDateTime>
    <EmployeeCompany>0A</EmployeeCompany>
 </tkDetail>
  <tkDetail>
    <EndDate>2013-09-30T00:00:00-07:00</EndDate>
    <Employee>0A0001</Employee>
    <Seq>4</Seq>
    <TransDate>2013-09-17T00:00:00-07:00</TransDate>
    <Category/>
    <WBS1>00BUDGET.002</WBS1>
    <WBS2>000W</WBS2>
    <WBS3 xml:space="preserve"/>
    <LaborCode>R4:00V:0W</LaborCode>
    <RegHrs>8.0000</RegHrs>
    <OvtHrs>0.0000</OvtHrs>
    <SpecialOvtHrs>0.0000</SpecialOvtHrs>
    <BillCategory>14</BillCategory>
    <Locale>MA</Locale>
    <RegAmt>0.0000</RegAmt>
    <OvtAmt>0.0000</OvtAmt>
    <SpecialOvtAmt>0.0000</SpecialOvtAmt>
    <RegAmtProjectCurrency>0.0000</RegAmtProjectCurrency>
    <OvtAmtProjectCurrency>0.0000</OvtAmtProjectCurrency>
    <SpecialOvtAmtProjectCurrency>0.0000</SpecialOvtAmtProjectCurrency>
    <BillExt>0.0000</BillExt>
    <OvtPct>0.0000</OvtPct>
    <SpecialOvtPct>0.0000</SpecialOvtPct>
    <Rate>0.0000</Rate>
    <OvtRate>0.0000</OvtRate>
    <SpecialOvtRate>0.0000</SpecialOvtRate>
    <RateProjectCurrency>0.0000</RateProjectCurrency>
    <OvtRateProjectCurrency>0.0000</OvtRateProjectCurrency>
    <SpecialOvtRateProjectCurrency>0.0000</SpecialOvtRateProjectCurrency>
    <StartDateTime>2013-09-17T10:30:00-07:00</StartDateTime>
    <EndDateTime>2013-09-17T18:30:00-07:00</EndDateTime>
    <EmployeeCompany>0A</EmployeeCompany>
</tkDetail>
  <tkDetail>
    <EndDate>2013-09-30T00:00:00-07:00</EndDate>
    <Employee>0A0001</Employee>
    <Seq>5</Seq>
    <TransDate>2013-09-18T00:00:00-07:00</TransDate>
    <Category/>
    <WBS1>00BUDGET.001</WBS1>
    <WBS2 xml:space="preserve"/>
    <WBS3 xml:space="preserve"/>
    <LaborCode>R2:00O:0P</LaborCode>
    <RegHrs>3.5000</RegHrs>
    <OvtHrs>0.0000</OvtHrs>
    <SpecialOvtHrs>0.0000</SpecialOvtHrs>
    <BillCategory>5</BillCategory>
    <Locale>MA</Locale>
    <RegAmt>0.0000</RegAmt>
    <OvtAmt>0.0000</OvtAmt>
    <SpecialOvtAmt>0.0000</SpecialOvtAmt>
    <RegAmtProjectCurrency>0.0000</RegAmtProjectCurrency>
    <OvtAmtProjectCurrency>0.0000</OvtAmtProjectCurrency>
    <SpecialOvtAmtProjectCurrency>0.0000</SpecialOvtAmtProjectCurrency>
    <BillExt>0.0000</BillExt>
    <OvtPct>0.0000</OvtPct>
    <SpecialOvtPct>0.0000</SpecialOvtPct>
    <Rate>0.0000</Rate>
    <OvtRate>0.0000</OvtRate>
    <SpecialOvtRate>0.0000</SpecialOvtRate>
    <RateProjectCurrency>0.0000</RateProjectCurrency>
    <OvtRateProjectCurrency>0.0000</OvtRateProjectCurrency>
    <SpecialOvtRateProjectCurrency>0.0000</SpecialOvtRateProjectCurrency>
    <StartDateTime>2013-09-18T08:30:00-07:00</StartDateTime>
    <EndDateTime>2013-09-18T12:00:00-07:00</EndDateTime>
    <EmployeeCompany>0A</EmployeeCompany>
</tkDetail>
  <tkUnitDetail>
    <EndDate>2013-09-30T00:00:00-07:00</EndDate>
    <Employee>0A0001</Employee>
    <Seq>1</Seq>
    <TransDate>2013-09-16T00:00:00-07:00</TransDate>
    <WBS1>00BUDGET.001</WBS1>
    <WBS2 xml:space="preserve"/>
    <WBS3 xml:space="preserve"/>
    <UnitTable>9701300</UnitTable>
    <Unit>A0302</Unit>
    <Qty>10.0000</Qty>
    <PKey>TSAUDIT435861514090</PKey>
    <EmployeeCompany>0A</EmployeeCompany>
</tkUnitDetail>
  <tkUnitDetail>
    <EndDate>2013-09-30T00:00:00-07:00</EndDate>
    <Employee>0A0001</Employee>
    <Seq>1</Seq>
    <TransDate>2013-09-17T00:00:00-07:00</TransDate>
    <WBS1>00BUDGET.001</WBS1>
    <WBS2 xml:space="preserve"/>
    <WBS3 xml:space="preserve"/>
    <UnitTable>9701300</UnitTable>
    <Unit>A0302</Unit>
    <Qty>15.0000</Qty>
    <PKey>TSAUDIT435861514091</PKey>
    <EmployeeCompany>0A</EmployeeCompany>
</tkUnitDetail>
  <tkUnitDetail>
    <EndDate>2013-09-30T00:00:00-07:00</EndDate>
    <Employee>0A0001</Employee>
    <Seq>2</Seq>
    <TransDate>2013-09-18T00:00:00-07:00</TransDate>
    <WBS1>00BUDGET.002</WBS1>
    <WBS2>000N</WBS2>
    <WBS3 xml:space="preserve"/>
    <UnitTable>AA_timesheet</UnitTable>
    <Unit>A0103</Unit>
    <Qty>20.0000</Qty>
    <PKey>TSAUDIT435861514092</PKey>
    <EmployeeCompany>0A</EmployeeCompany>
  </tkUnitDetail>
  <tkUnitDetail>
    <EndDate>2013-09-30T00:00:00-07:00</EndDate>
    <Employee>0A0001</Employee>
    <Seq>2</Seq>
    <TransDate>2013-09-19T00:00:00-07:00</TransDate>
    <WBS1>00BUDGET.002</WBS1>
    <WBS2>000N</WBS2>
    <WBS3 xml:space="preserve"/>
    <UnitTable>AA_timesheet</UnitTable>
    <Unit>A0103</Unit>
    <Qty>10.0000</Qty>
    <PKey>TSAUDIT435861514093</PKey>
    <EmployeeCompany>0A</EmployeeCompany>
  </tkUnitDetail>
  <tkBreakTime>
    <EndDate>2013-09-30T00:00:00-07:00</EndDate>
    <Employee>0A0001</Employee>
    <TransDate>2013-09-16T00:00:00-07:00</TransDate>
    <BreaksTaken>2</BreaksTaken>
    <MealStartDateTime>2013-09-16T12:00:00-07:00</MealStartDateTime>
    <MealEndDateTime>2013-09-16T14:00:00-07:00</MealEndDateTime>
    <Meal2StartDateTime>2013-09-16T16:00:00-07:00</Meal2StartDateTime>
    <Meal2EndDateTime>2013-09-16T16:30:00-07:00</Meal2EndDateTime>
    <EmployeeCompany>0A</EmployeeCompany>
  </tkBreakTime>
  <tkBreakTime>
    <EndDate>2013-09-30T00:00:00-07:00</EndDate>
    <Employee>0A0001</Employee>
    <TransDate>2013-09-18T00:00:00-07:00</TransDate>
    <BreaksTaken>0</BreaksTaken>
    <MealStartDateTime>2013-09-18T12:00:00-07:00</MealStartDateTime>
    <MealEndDateTime>2013-09-18T13:00:00-07:00</MealEndDateTime>
    <EmployeeCompany>0A</EmployeeCompany>
  </tkBreakTime>
</ROOT>