PUT api/timesheet/CreateTimesheetIngested

Creates a new timesheet record using ingested data from a `TimesheetRowInfo` object.

Request Information

URI Parameters

None.

Body Parameters

An object containing the username, user ID, and week-ending date for the timesheet.

TimesheetRowInfo
NameDescriptionTypeAdditional information
tHours

decimal number

None.

userId

integer

None.

username

integer

None.

p_node

integer

None.

timesheetID

decimal number

None.

entryDate

date

None.

wkEnding

date

None.

hasAmount

boolean

None.

isBillable

boolean

None.

noFileIngest

boolean

None.

userroleid

integer

None.

roleid

integer

None.

cutOffDate

string

None.

cuttOffWeekend

string

None.

hasCutOff

boolean

None.

isTimesheetMultiProject

boolean

None.

metaFormGUID

string

None.

metadata

string

None.

Request Formats

application/json, text/json, application/scim+json

Sample:
{
  "tHours": 1.0,
  "userId": 2,
  "username": 3,
  "p_node": 4,
  "timesheetID": 5.0,
  "entryDate": "2025-11-21T03:17:17.2008865+00:00",
  "wkEnding": "2025-11-21T03:17:17.2008865+00:00",
  "hasAmount": true,
  "isBillable": true,
  "noFileIngest": true,
  "userroleid": 11,
  "roleid": 12,
  "cutOffDate": "sample string 13",
  "cuttOffWeekend": "sample string 14",
  "hasCutOff": true,
  "isTimesheetMultiProject": true,
  "metaFormGUID": "sample string 17",
  "metadata": "sample string 18"
}

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'TimesheetRowInfo'.

Response Information

Resource Description

On success: HTTP 200 OK with the newly created timesheet record. On failure: HTTP 400 Bad Request with a descriptive error message.

DataRowResponse
NameDescriptionTypeAdditional information
dataInfo

DataSet

None.

Response Formats

application/json, text/json

Sample:
{}

application/scim+json

Sample:
{
  "dataInfo": null
}