Time Entries
GET /timeEntries
Get all time entries
Request
- Base URLhttps://api.fergus.com
- Auth
- OAuth 2Authorization codehttps://auth.fergus.com/oauth2/authorizeToken URLhttps://auth.fergus.com/oauth2/token
- or HTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
pageSizeinteger
pageCursorstring
sortField'timeEntryDate' | 'jobNo' | 'user'
filterSearchTextstring
Searchable fields:
- user
- employee's username
- jobPhaseTitle,
- jobPhaseDetails
filterLockedOnlyboolean
filterUserIdnumber
The user id to filter time entries by
filterJobNonumber
The job no to filter time entries by
filterJobPhaseIdnumber
The job phase id to filter time entries by
filterDateFromstring date
The start date in yyyy-mm-dd format
filterDateTostring date
The end date in yyyy-mm-dd format
Response
Successful Response
Example response
{
"data": [
{
"startTime": "2021-01-01 07:00",
"endTime": "2021-01-01 17:00",
"payRate": 10,
"chargeOutRate": 10,
"paidDuration": 10,
"unchargedTimeDuration": 10,
"unchargedTimeStart": "2021-01-01 07:00"
}
]
}Changes
No recorded changes to this operation across all 18 revisions of this API.