AlphaAlpha Docs
API ReferenceHr time entry

Get time entries by project

Retrieves all time entries for a project

GET
/hr/time-entries/by-project/{projectId}
AuthorizationBearer <token>

In: header

Path Parameters

projectId*string

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X GET "http://localhost:18080/api/v1/hr/time-entries/by-project/string"
[
  {
    "approvedAt": "2019-08-24T14:15:22Z",
    "approvedBy": "string",
    "billable": true,
    "billingRate": 0.1,
    "clientId": "string",
    "created": "2019-08-24T14:15:22Z",
    "createdBy": "string",
    "date": "2019-08-24",
    "description": "string",
    "employeeId": "string",
    "events": [
      {
        "authorId": "string",
        "date": "2019-08-24T14:15:22Z",
        "description": "string",
        "id": "string",
        "type": "CREATE"
      }
    ],
    "hours": 0.1,
    "id": "string",
    "number": "string",
    "opportunityId": "string",
    "projectId": "string",
    "rejectionReason": "string",
    "startTime": "string",
    "status": "DRAFT",
    "taskId": "string",
    "tenantId": "string",
    "updated": "2019-08-24T14:15:22Z",
    "updatedBy": "string"
  }
]
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}
{
  "detail": "string",
  "time": "2019-08-24T14:15:22Z",
  "title": "string"
}