How To Create Timesheets Via REST API
search cancel

How To Create Timesheets Via REST API

book

Article ID: 271729

calendar_today

Updated On:

Products

Clarity PPM On Premise Clarity PPM SaaS

Issue/Introduction

How can timesheets be created with REST API?


Resolution

The following will need to be true:
The timeperiod is open.
The resource is 'Open For Time Entry'
The resource track mode is set to 'PPM'

Review REST API documentation with /niku/rest/describe/index.html

Timesheets can be created with the POST call.

Example body can be used:

POST
/ppm/rest/v1/timesheets

{
    "status": "0",
    "timePeriodId": 5000000,
    "resourceId" : 5000000
}