POST api/TimeSheet

Request Information

URI Parameters

None.

Body Parameters

CreateTimeSheetCommand
NameDescriptionTypeAdditional information
Id

integer

None.

EmployeeId

integer

None.

PayPeriodId

integer

None.

Status

integer

None.

Days

Collection of string

None.

UserId

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "EmployeeId": 2,
  "PayPeriodId": 3,
  "Status": 4,
  "Days": [
    "sample string 1",
    "sample string 2"
  ],
  "UserId": "sample string 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.