GET api/consumer/v1/projects/{projectId}/timesheets

Get Timesheets by Project

Request Information

URI Parameters

NameDescriptionTypeAdditional information
projectId

Id of project

integer

Required

Body Parameters

None

Response Information

Resource Description

List of project's Timesheets

Collection of TimesheetMinDto
NameDescriptionTypeAdditional information
StartDate

Date of start

date

None

EndDate

Date of end

date

None

Code

The short code of the element

string

None

Description

The description of the element

string

None

Id

Unique ID

integer

None

Response Formats

application/json, text/json

Sample:
[
  {
    "StartDate": "2024-11-01T19:30:50.5043285+01:00",
    "EndDate": "2024-11-01T19:30:50.5043285+01:00",
    "Code": "sample string 3",
    "Description": "sample string 4",
    "Id": 5
  },
  {
    "StartDate": "2024-11-01T19:30:50.5043285+01:00",
    "EndDate": "2024-11-01T19:30:50.5043285+01:00",
    "Code": "sample string 3",
    "Description": "sample string 4",
    "Id": 5
  }
]

application/xml, text/xml

Sample:
<ArrayOfTimesheetMinDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Oryx.Web.Api.Models">
  <TimesheetMinDto>
    <Id>5</Id>
    <Code>sample string 3</Code>
    <Description>sample string 4</Description>
    <EndDate>2024-11-01T19:30:50.5043285+01:00</EndDate>
    <StartDate>2024-11-01T19:30:50.5043285+01:00</StartDate>
  </TimesheetMinDto>
  <TimesheetMinDto>
    <Id>5</Id>
    <Code>sample string 3</Code>
    <Description>sample string 4</Description>
    <EndDate>2024-11-01T19:30:50.5043285+01:00</EndDate>
    <StartDate>2024-11-01T19:30:50.5043285+01:00</StartDate>
  </TimesheetMinDto>
</ArrayOfTimesheetMinDto>