GET api/timesheet/UpdateTimesheetsWithDataImportRowInfo

Updates or inserts a timesheet entry using detailed row information, including metadata and daily hours.

Request Information

URI Parameters

None.

Body Parameters

An object containing timesheet ID, project ID, entry date, hours, metadata, and user context.

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:20.0066749+00:00",
  "wkEnding": "2025-11-21T03:17:20.0066749+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 updated or inserted timesheet row information. On failure: HTTP 400 Bad Request with a descriptive error message.

TimesheetRow
NameDescriptionTypeAdditional information
dsTemp

DataSet

None.

idDrTime

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "idDrTime": 1
}

application/scim+json

Sample:
{
  "dsTemp": null,
  "idDrTime": 1
}