POST api/Portal/Timesheets?EmployeeID={EmployeeID}&TimesheetWeek={TimesheetWeek}&Autofill={Autofill}

Create new Timesheet

Request Information

URI Parameters

NameDescriptionTypeAdditional information
EmployeeID

integer

Required

TimesheetWeek

string

Required

Autofill

boolean

Default value is False

Body Parameters

None.

Response Information

Resource Description

IBMS_Cloud_API.Output+Outputs
NameDescriptionTypeAdditional information
ID

string

None.

Successful

boolean

None.

Details

string

None.

Response Formats

application/json, text/json

Sample:
{
  "ID": "sample string 1",
  "Successful": true,
  "Details": "sample string 3"
}

text/html

Sample:
{"ID":"sample string 1","Successful":true,"Details":"sample string 3"}

application/xml, text/xml

Sample:
<Output.Outputs xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IBMS_Cloud_API">
  <Details>sample string 3</Details>
  <ID>sample string 1</ID>
  <Successful>true</Successful>
</Output.Outputs>