SpiraPlan: REST Web Service (v7.0)
Updates a timesheet entry in the system
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/entries
<RemoteTimesheetEntry xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Inflectra.SpiraTest.Web.Services.v7_0.DataObjects"> <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>
{"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}
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.
Nothing Returned