SpiraPlan: REST Web Service (v7.0)
Retrieves a list of timesheet entries which belong to a given timesheet ID
To access this REST web service, you need to use the following URL (make sure to replace any parameters (eg {project_id}) with the relevant value (eg 1):
https://api.inflectra.com/Spira/Services/v7_0/RestService.svc/timesheets/{timesheet_id}/entries
Nothing Expected
The JSON and XML examples below show the shape of one entry that will be returned. It does not show an example of how that entry will be populated.
<ArrayOfRemoteTimesheetEntry xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Inflectra.SpiraTest.Web.Services.v7_0.DataObjects"> <RemoteTimesheetEntry> <ArtifactId i:nil="true" /> <Description i:nil="true" /> <Effort>0</Effort> <EffortDate>0001-01-01T00:00:00</EffortDate> <EntryArtifactTypeId i:nil="true" /> <ProjectGroupId i:nil="true" /> <ProjectId i:nil="true" /> <ResourceCategoryId i:nil="true" /> <TimesheetEntryId i:nil="true" /> <TimesheetEntryTypeId i:nil="true" /> <TimesheetId i:nil="true" /> <UserId i:nil="true" /> </RemoteTimesheetEntry> </ArrayOfRemoteTimesheetEntry>
[{"ProjectId":null, "TimesheetEntryId":null, "ArtifactId":null, "EntryArtifactTypeId":null, "ProjectGroupId":null, "ResourceCategoryId":null, "TimesheetId":null, "TimesheetEntryTypeId":null, "Description":null, "Effort":0, "EffortDate":"0001-01-01T00:00:00", "UserId":null}]