POST api/Timecard/DataEntry

Request Information

URI Parameters

None.

Body Parameters

TimecardDataEntryParam
NameDescriptionTypeAdditional information
IsEditMode

boolean

None.

TimecardId

integer

None.

EmployeeId

integer

None.

Entries

Collection of string

None.

Rows

Collection of TimecardDataEntryRowParam

None.

InsertBy

integer

None.

LastUpdateBy

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "IsEditMode": true,
  "TimecardId": 2,
  "EmployeeId": 3,
  "Entries": [
    "sample string 1",
    "sample string 2"
  ],
  "Rows": [
    {
      "EmployeeTypeSettingId": 1,
      "JobContractId": 2,
      "PayrollDepartmentId": 3,
      "PayRate": 4.0,
      "WorkHour": 5.0,
      "Overtime": 6.0,
      "Wages": 7.0
    },
    {
      "EmployeeTypeSettingId": 1,
      "JobContractId": 2,
      "PayrollDepartmentId": 3,
      "PayRate": 4.0,
      "WorkHour": 5.0,
      "Overtime": 6.0,
      "Wages": 7.0
    }
  ],
  "InsertBy": 4,
  "LastUpdateBy": 5
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.