PUT api/resource/UpdateTimesheetweeksToDeleted
Marks timesheet weeks as deleted and resets associated timesheet day hours for a given project.
Request Information
URI Parameters
None.
Body Parameters
An object containing the `projectID`, `cutOffWeekending`, `cuttOffDate`, and `hasCutOff` flag used to determine update scope.
ResourceIngestInfoRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| projectName | string |
None. |
|
| metadaelementGUID | string |
None. |
|
| projectID | integer |
None. |
|
| cutOffWeekending | string |
None. |
|
| cuttOffDate | string |
None. |
|
| hasCutOff | boolean |
None. |
|
| usrID | integer |
None. |
|
| f_node | string |
None. |
|
| parentID | string |
None. |
|
| item | string |
None. |
|
| description | string |
None. |
|
| startDate | string |
None. |
|
| endDate | string |
None. |
|
| status | string |
None. |
|
| metaFormGUID | string |
None. |
|
| duration | integer |
None. |
|
| i_node | string |
None. |
|
| UserIDx | integer |
None. |
|
| urID | integer |
None. |
|
| IsRoleAssignment | integer |
None. |
|
| RoleID | integer |
None. |
|
| ProjectID | integer |
None. |
|
| comment | string |
None. |
|
| TaskID | integer |
None. |
|
| hoursperday | decimal number |
None. |
|
| totalhours | decimal number |
None. |
|
| percentA | decimal number |
None. |
|
| alloType | string |
None. |
|
| fnode | integer |
None. |
|
| GUID | string |
None. |
|
| temp | boolean |
None. |
|
| allDay | boolean |
None. |
|
| wfGUID | string |
None. |
|
| timesheet | boolean |
None. |
|
| timesheetDatastr | string |
None. |
|
| pipeline | boolean |
None. |
|
| adhocRoleID | integer |
None. |
|
| identity | string |
None. |
Request Formats
application/json, text/json, application/scim+json
Sample:
{
"projectName": "sample string 1",
"metadaelementGUID": "sample string 2",
"projectID": 3,
"cutOffWeekending": "sample string 4",
"cuttOffDate": "sample string 5",
"hasCutOff": true,
"usrID": 7,
"f_node": "sample string 8",
"parentID": "sample string 9",
"item": "sample string 10",
"description": "sample string 11",
"startDate": "sample string 12",
"endDate": "sample string 13",
"status": "sample string 14",
"metaFormGUID": "sample string 15",
"duration": 16,
"i_node": "sample string 17",
"UserIDx": 18,
"urID": 19,
"IsRoleAssignment": 20,
"RoleID": 21,
"ProjectID": 22,
"comment": "sample string 23",
"TaskID": 24,
"hoursperday": 25.1,
"totalhours": 26.1,
"percentA": 27.1,
"alloType": "sample string 28",
"fnode": 29,
"GUID": "sample string 30",
"temp": true,
"allDay": true,
"wfGUID": "sample string 33",
"timesheet": true,
"timesheetDatastr": "sample string 35",
"pipeline": true,
"adhocRoleID": 37,
"identity": "sample string 38"
}
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
On success: HTTP 200 OK with an empty dataset indicating successful update. On failure: HTTP 400 Bad Request with a generic error message.
DataRowResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| dataInfo | DataSet |
None. |
Response Formats
application/json, text/json
Sample:
{}
application/scim+json
Sample:
{
"dataInfo": null
}