Time Bundles
Used to update, get, and delete time bundle objects and to add, split, update, get, or delete line items within a time bundle.
Time bundles are a collection of records grouped over a period of time. They're generated from Time Events and/or Time Records using a pre-defined time template that contains the rules for how time events are processed into records and allocated into rate categories. Within a time bundle, time is allocated to one or more rate categories based on various business rules. For example, the number hours of work distributed into categories such as standard vs. overtime. When editing an existing time bundle, the total hours in the line items must match the total hours in the header of the bundle. You can't add additional time to an existing Time Bundle through a POST, PUT, or PATCH. Additional time must come from a Time Event or Record.
Methods
|
HTTP Method |
Action |
Relative URI |
|---|---|---|
|
GET |
/timeBundles |
|
|
GET |
/timeBundles/{id} |
|
|
PATCH |
/timeBundles/{id} |
|
|
POST |
/timeBundles/{id}/lineItems |
|
|
PUT |
/timeBundles/{timeBundleRef}/lineItems/{id} |
|
|
GET |
/timeBundles/{id}/lineitems |
|
|
GET |
/timeBundles/{id}/versions |
|
|
GET |
/timeBundles/{id}/versions/{version_number} |
|
|
DELETE |
/timeBundles/{timeBundleRef}/lineItems/{id} |
|
|
PATCH |
/timeBundles/{id} |