PUT api/Portal/Timesheets/{TSID}/{TSDID}

Query Timesheets

Request Information

URI Parameters

NameDescriptionTypeAdditional information
TSID

integer

Required

TSDID

integer

Required

Body Parameters

IBMS_Cloud_API.TimesheetModel+TimesheetDetailFields
NameDescriptionTypeAdditional information
TimesheetDetailsID

integer

None.

TimesheetID

integer

None.

WorkOrderID

integer

None.

LineDate

string

None.

StdHours

decimal number

None.

OT1Hours

decimal number

None.

Notes

string

None.

DayID

integer

None.

EmployeeID

integer

None.

AutoFilled

boolean

None.

TravelHours

decimal number

None.

TypeID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "TimesheetDetailsID": 1,
  "TimesheetID": 2,
  "WorkOrderID": 3,
  "LineDate": "sample string 4",
  "StdHours": 5.1,
  "OT1Hours": 6.1,
  "Notes": "sample string 7",
  "DayID": 8,
  "EmployeeID": 9,
  "AutoFilled": true,
  "TravelHours": 11.1,
  "TypeID": 12
}

text/html

Sample:
{"TimesheetDetailsID":1,"TimesheetID":2,"WorkOrderID":3,"LineDate":"sample string 4","StdHours":5.1,"OT1Hours":6.1,"Notes":"sample string 7","DayID":8,"EmployeeID":9,"AutoFilled":true,"TravelHours":11.1,"TypeID":12}

application/xml, text/xml

Sample:
<TimesheetModel.TimesheetDetailFields xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IBMS_Cloud_API">
  <AutoFilled>true</AutoFilled>
  <DayID>8</DayID>
  <EmployeeID>9</EmployeeID>
  <LineDate>sample string 4</LineDate>
  <Notes>sample string 7</Notes>
  <OT1Hours>6.1</OT1Hours>
  <StdHours>5.1</StdHours>
  <TimesheetDetailsID>1</TimesheetDetailsID>
  <TimesheetID>2</TimesheetID>
  <TravelHours>11.1</TravelHours>
  <TypeID>12</TypeID>
  <WorkOrderID>3</WorkOrderID>
</TimesheetModel.TimesheetDetailFields>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Object

None.

Response Formats

application/json, text/json, text/html

Sample:
{}

application/xml, text/xml

Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />