POST Operator/Save_Timesheet_Entry?Ticket={Ticket}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
Ticket

string

Required

Body Parameters

Params_Save_Timesheet_Entry
NameDescriptionTypeAdditional information
EMPLOYEE_ID

integer

None.

DATE

string

None.

Schedules

Collection of Timesheet_Entry_Schedule

None.

Request Formats

application/json, text/json

Sample:
{
  "EMPLOYEE_ID": 1,
  "DATE": "sample string 2",
  "Schedules": [
    {
      "EMPLOYEE_SCHEDULE_ID": 1,
      "TASK_EMPLOYEE_ID": 2,
      "TASK_EXECUTION_ID": 3,
      "TASK_SCHEDULE_ID": 4,
      "TASK_ID": 5,
      "CONTRACT_NAME": "sample string 6",
      "PHASE_NAME": "sample string 7",
      "TASK_NAME": "sample string 8",
      "SCHEDULE_NAME": "sample string 9",
      "PLANNED_HOURS": 10.0,
      "PREVIOUS_HOURS": 11.0,
      "NORMAL_HOURS": 12.0,
      "OVERTIME_HOURS": 13.0,
      "OVERTIME_MULTIPLIER": 14.0,
      "OVERTIME_TYPE": 15,
      "MULTIPLIER_OVERRIDDEN": true,
      "EMPLOYEE_NOTES": "sample string 17"
    },
    {
      "EMPLOYEE_SCHEDULE_ID": 1,
      "TASK_EMPLOYEE_ID": 2,
      "TASK_EXECUTION_ID": 3,
      "TASK_SCHEDULE_ID": 4,
      "TASK_ID": 5,
      "CONTRACT_NAME": "sample string 6",
      "PHASE_NAME": "sample string 7",
      "TASK_NAME": "sample string 8",
      "SCHEDULE_NAME": "sample string 9",
      "PLANNED_HOURS": 10.0,
      "PREVIOUS_HOURS": 11.0,
      "NORMAL_HOURS": 12.0,
      "OVERTIME_HOURS": 13.0,
      "OVERTIME_MULTIPLIER": 14.0,
      "OVERTIME_TYPE": 15,
      "MULTIPLIER_OVERRIDDEN": true,
      "EMPLOYEE_NOTES": "sample string 17"
    }
  ]
}

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 'Params_Save_Timesheet_Entry'.

Response Information

Resource Description

Result_Save_Timesheet_Entry
NameDescriptionTypeAdditional information
My_Result

boolean

None.

ExceptionMsg

string

None.

Response Formats

application/json, text/json

Sample:
{
  "My_Result": true,
  "ExceptionMsg": "sample string 2"
}