Create Timesheet
post
/timesheet
Send a request to this endpoint to create one or more timesheet. An application object will be created for each JSON object provided in the request body
Request
Header Parameters
-
Authorization(required):
OAuth token
Supported Media Types
- application/json
A list of timesheet objects.
Root Schema : List<Timesheet>
Type:
array
Title:
Show Source
List<Timesheet>
-
Array of:
object Timesheet
Title:
Timesheet
Timesheet Entity
Nested Schema : Timesheet
Type:
object
Title:
Timesheet
Timesheet Entity
Show Source
-
CreateDate: string
(date-time)
The date this timesheet was created.
-
CreateUser: string
The name of the user that created this timesheet.
-
IsDaily: boolean
The flag that identifies whether timesheet users enter hours daily or by entire timesheet reporting period.
-
LastReceivedDate: string
(date-time)
The last date on which the timesheet was submitted by the resource.
-
LastUpdateDate: string
(date-time)
The date this timesheet was last updated.
-
LastUpdateUser: string
The name of the user that last updated this timesheet.
-
Notes: string
The notes associated with the timesheet.
-
ResourceId: string
The short code that uniquely identifies the resource.
-
ResourceName: string
The name of the resource.
-
ResourceObjectId(required): integer
(int32)
The unique ID of the associated resource.
-
Status: string
The current status of the timesheet: 'Submitted', 'Approved', 'Resource Manager Approved', 'Project Manager Approved', 'Active', or 'Rejected'.
-
StatusDate: string
(date-time)
The date on which the status of the timesheet was last changed.
-
TimesheetPeriodObjectId(required): integer
(int32)
The unique ID of the timesheet period.
Response
Supported Media Types
- application/json
201 Response
Resource Created.
Root Schema : List<CreateTimesheetsResponse>
Type:
array
Title:
Show Source
List<CreateTimesheetsResponse>
-
Array of:
object CreateTimesheetsResponse
Title:
CreateTimesheetsResponse
CreateTimesheetsResponse Entity
Nested Schema : CreateTimesheetsResponse
Type:
object
Title:
CreateTimesheetsResponse
CreateTimesheetsResponse Entity
Show Source
-
ResourceObjectId: integer
(int32)
The unique ID of the associated resource.
-
TimesheetPeriodObjectId: integer
(int32)
The unique ID of the timesheet period.
400 Response
Bad Request.
401 Response
Unauthorized.
403 Response
Forbidden.
404 Response
Not Found.
405 Response
Invalid Input.
500 Response
Internal Server Error.