POST api/Timesheet?mode={mode}&key={key}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| mode | string |
Required |
|
| key | string |
Default value is |
Body Parameters
timesheetDetails| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| TaskId | string |
None. |
|
| Title | string |
None. |
|
| Description | string |
None. |
|
| Hours | string |
None. |
|
| Date | string |
None. |
|
| IsActive | string |
None. |
|
| EmpId | string |
None. |
|
| EmpName | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"TaskId": "sample string 2",
"Title": "sample string 3",
"Description": "sample string 4",
"Hours": "sample string 5",
"Date": "sample string 6",
"IsActive": "sample string 7",
"EmpId": "sample string 8",
"EmpName": "sample string 9"
}
application/xml, text/xml
Sample:
<timesheetDetails xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HRMSWebApp.Models"> <Date>sample string 6</Date> <Description>sample string 4</Description> <EmpId>sample string 8</EmpId> <EmpName>sample string 9</EmpName> <Hours>sample string 5</Hours> <Id>1</Id> <IsActive>sample string 7</IsActive> <TaskId>sample string 2</TaskId> <Title>sample string 3</Title> </timesheetDetails>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
DataTable| Name | Description | Type | Additional information |
|---|---|---|---|
| CaseSensitive | boolean |
None. |
|
| IsInitialized | boolean |
None. |
|
| RemotingFormat | SerializationFormat |
None. |
|
| ChildRelations | Collection of Object |
None. |
|
| Columns | Collection of Object |
None. |
|
| Constraints | Collection of Object |
None. |
|
| DataSet | DataSet |
None. |
|
| DefaultView | Collection of Object |
None. |
|
| DisplayExpression | string |
None. |
|
| ExtendedProperties | Dictionary of Object [key] and Object [value] |
None. |
|
| HasErrors | boolean |
None. |
|
| Locale | CultureInfo |
None. |
|
| MinimumCapacity | integer |
None. |
|
| ParentRelations | Collection of Object |
None. |
|
| PrimaryKey | Collection of DataColumn |
None. |
|
| Rows | Collection of Object |
None. |
|
| TableName | string |
None. |
|
| Namespace | string |
None. |
|
| Prefix | string |
None. |
|
| Site | ISite |
None. |
|
| Container | IContainer |
None. |
|
| DesignMode | boolean |
None. |
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.