Time cards are imported into Projector using a three step process:
- Open a time card import batch. This provides a batch id. The OpsOpenTimeCardBatch web service will open a new batch and return a batch id.
- Load one or more time cards into the pending batch. This loads the data into a temporary staging table for later processing. The OpsImportTimeCards web service adds time cards to a given batch. This web service may be invoked multiple times, each time adding one or more cards to the open batch.
- Process the batch. Create time cards in the system from the contents of the open batch. The OpsCloseTimeCardBatch web service closes and processes a batch.
Request
The service request contains nothing in addition to the standard authentication information.
Response
For each card in the result set the following data is returned:
Name |
Data Type |
Discussion |
---|---|---|
BatchId |
int |
Use this number when invoking ImportTimeCards to group the time cards together into a single batch. |