SpiraPlan: REST Web Service (v7.0)

See all operations

PUT: timesheets

Description

Updates a timesheet in the system

How to Execute

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

Request Body

Property Description
TimesheetId The id of the timesheet
TimesheetStatusId The status id of the timesheet
SubmitterUserId The id of the user that created the timesheet
ApproverUserId The id of the user that approved the timesheet
CreationDate The date the timesheet was created
LastUpdateDate The date the timesheet was updated last
StartDate The initial date the timesheet covers
EndDate The final date the timesheet covers
ApprovalDate The date the timesheet was approved
IsDeleted Was this timesheet deleted from the system?
Entries The list of entries of this timesheet
SubmitterComments The comment(s) made by the submitter of this timesheet
ApproverComments The comment(s) made by the approver of this timesheet

Return Data

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.