POST api/Portal/Timesheets/{TSID}
Insert ts details records.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
TSID | string |
None. |
Body Parameters
IBMS_Cloud_API.TimesheetModel+TimesheetDetailFieldsName | Description | Type | Additional 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
IBMS_Cloud_API.Output+OutputsName | Description | Type | Additional 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>