Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The TimeKeeper Employee Import requires one XML file properly formatted to the specification described in this document. Each employee record found in the file will be created in the TimeKeeper database. If an employee record already exists, it will be updated with the information provided in the import file. A sample file is shown below followed by specific details about each field. All XML tags are required unless specifically noted as optional. The fields must appear in the specified order.

SAMPLE

Code Block
languagehtml/xml
Sample<EmployeeUpdate>
 <EmployeeUpdate> <Employee>
     <EmployeeNumber>123</EmployeeNumber>
     <FirstName>Bob</FirstName>
<Middle>E<     <Middle>E</Middle>
<LastName>Smith<     <LastName>Smith</LastName>
     <Suffix>Jr</Suffix>
     <PrimaryJobCode>449A</PrimaryJobCode>
     <ExtraJobCodes>
         <JobCode>449B</JobCode>
         <JobCode>449C</JobCode>
     </ExtraJobCodes>
     <PhoneNumber>555-555-5555</PhoneNumber>
     <SSN>123456789</SSN>
     <PayrollCode>1111111</PayrollCode>
     <CostCenterCode>2222222</CostCenterCode>
  </Employee>
  <Employee>
     <EmployeeNumber>456</EmployeeNumber>
     <FullName>Doe, John F Jr.</FullName>
     <Inactive />
     <PrimaryJobCode>668</PrimaryJobCode>
  </Employee>
</EmployeeUpdate>

 

...

Employee Update

This XML tag should start and end the import file

...