SpiraPlan: REST Web Service (v7.0)

See all operations

POST: timesheets/entries

Description

Creates a new timesheet entry 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/entries

Request Body

Property Description
ProjectId The product which this artifact exists or existed within
TimesheetEntryId The id of the timesheet entry
ArtifactId The ID of the artifact recorded in this entry
EntryArtifactTypeId The type of the artifact recorded in this entry
ProjectGroupId The program this entry belongs to
ResourceCategoryId The resource category of this entry
TimesheetId The id of the timesheet this entry belongs to
TimesheetEntryTypeId The id of the timesheet entry type
Description The description of this entry
Effort The effort of this entry (in minutes)
EffortDate The date corresponding to the effort
UserId The id of the user that created this entry

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.

Property Description
ProjectId The product which this artifact exists or existed within
TimesheetEntryId The id of the timesheet entry
ArtifactId The ID of the artifact recorded in this entry
EntryArtifactTypeId The type of the artifact recorded in this entry
ProjectGroupId The program this entry belongs to
ResourceCategoryId The resource category of this entry
TimesheetId The id of the timesheet this entry belongs to
TimesheetEntryTypeId The id of the timesheet entry type
Description The description of this entry
Effort The effort of this entry (in minutes)
EffortDate The date corresponding to the effort
UserId The id of the user that created this entry